我最近将操作系统 (Win7_x64) 转移到了一台新电脑上。到目前为止一切正常,但当我使用旧帐户登录时,它会立即注销。在旧电脑上,我没有遇到这个问题。
这可能是什么原因造成的?在事件日志中,我可以看到它正在启动登录和注销,但没有错误。我禁用了所有能找到的启动项。所以它不应该是一个程序。在安全模式下,我可以毫无问题地登录帐户(但我的任务栏与原来的电脑不同??- 我以为 sysprep 把所有东西都带走了?)。
感谢能在这里帮助我的人!
编辑:事件查看器中唯一的东西是:
Information 2/05/2015 13:09:08 User Profile Service 4 None
Information 2/05/2015 13:09:08 User Profile Service 3 None
Information 2/05/2015 13:09:07 GroupPolicy 5311 None
Information 2/05/2015 13:09:07 User Profile Service 2 None
Information 2/05/2015 13:09:06 User Profile Service 1 None
或者更详细:
Log Name: Microsoft-Windows-User Profile Service/Operational
Source: Microsoft-Windows-User Profiles Service
Date: 2/05/2015 13:09:08
Event ID: 4
Task Category: None
Level: Information
Keywords:
User: STEVEN-PC\Steven
Computer: Steven-PC
Description:
Finished processing user logoff notification on session 1.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
<EventID>4</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2015-05-02T11:09:08.604820200Z" />
<EventRecordID>300</EventRecordID>
<Correlation />
<Execution ProcessID="1556" ThreadID="4908" />
<Channel>Microsoft-Windows-User Profile Service/Operational</Channel>
<Computer>Steven-PC</Computer>
<Security UserID="S-1-5-21-1550641888-1495511497-3287687050-1000" />
</System>
<EventData>
<Data Name="Session">1</Data>
</EventData>
</Event>
Log Name: Microsoft-Windows-User Profile Service/Operational
Source: Microsoft-Windows-User Profiles Service
Date: 2/05/2015 13:09:08
Event ID: 3
Task Category: None
Level: Information
Keywords:
User: STEVEN-PC\Steven
Computer: Steven-PC
Description:
Recieved user logoff notification on session 1.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
<EventID>3</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2015-05-02T11:09:08.272206300Z" />
<EventRecordID>299</EventRecordID>
<Correlation />
<Execution ProcessID="1556" ThreadID="4908" />
<Channel>Microsoft-Windows-User Profile Service/Operational</Channel>
<Computer>Steven-PC</Computer>
<Security UserID="S-1-5-21-1550641888-1495511497-3287687050-1000" />
</System>
<EventData>
<Data Name="Session">1</Data>
</EventData>
</Event>
Log Name: Microsoft-Windows-GroupPolicy/Operational
Source: Microsoft-Windows-GroupPolicy
Date: 2/05/2015 13:09:07
Event ID: 5311
Task Category: None
Level: Information
Keywords:
User: STEVEN-PC\Steven
Computer: Steven-PC
Description:
The loopback policy processing mode is "No loopback mode".
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-GroupPolicy" Guid="{AEA1B4FA-97D1-45F2-A64C-4D69FFFD92C9}" />
<EventID>5311</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2015-05-02T11:09:07.103954200Z" />
<EventRecordID>1198</EventRecordID>
<Correlation ActivityID="{4A74AD3B-30E3-44D7-867A-C012659BBC1D}" />
<Execution ProcessID="1672" ThreadID="5492" />
<Channel>Microsoft-Windows-GroupPolicy/Operational</Channel>
<Computer>Steven-PC</Computer>
<Security UserID="S-1-5-21-1550641888-1495511497-3287687050-1000" />
</System>
<EventData>
<Data Name="PolicyProcessingMode">0</Data>
</EventData>
</Event>
Log Name: Microsoft-Windows-User Profile Service/Operational
Source: Microsoft-Windows-User Profiles Service
Date: 2/05/2015 13:09:07
Event ID: 2
Task Category: None
Level: Information
Keywords:
User: STEVEN-PC\Steven
Computer: Steven-PC
Description:
Finished processing user logon notification on session 1.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
<EventID>2</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2015-05-02T11:09:07.101954100Z" />
<EventRecordID>298</EventRecordID>
<Correlation />
<Execution ProcessID="1556" ThreadID="4172" />
<Channel>Microsoft-Windows-User Profile Service/Operational</Channel>
<Computer>Steven-PC</Computer>
<Security UserID="S-1-5-21-1550641888-1495511497-3287687050-1000" />
</System>
<EventData>
<Data Name="Session">1</Data>
</EventData>
</Event>
Log Name: Microsoft-Windows-User Profile Service/Operational
Source: Microsoft-Windows-User Profiles Service
Date: 2/05/2015 13:09:06
Event ID: 1
Task Category: None
Level: Information
Keywords:
User: STEVEN-PC\Steven
Computer: Steven-PC
Description:
Recieved user logon notification on session 1.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-User Profiles Service" Guid="{89B1E9F0-5AFF-44A6-9B44-0A07A7CE5845}" />
<EventID>1</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x4000000000000000</Keywords>
<TimeCreated SystemTime="2015-05-02T11:09:06.968748200Z" />
<EventRecordID>296</EventRecordID>
<Correlation />
<Execution ProcessID="1556" ThreadID="4172" />
<Channel>Microsoft-Windows-User Profile Service/Operational</Channel>
<Computer>Steven-PC</Computer>
<Security UserID="S-1-5-21-1550641888-1495511497-3287687050-1000" />
</System>
<EventData>
<Data Name="Session">1</Data>
</EventData>
</Event>
我刚刚尝试通过 msconfig 禁用所有(非 Microsoft)服务和所有启动项。我仍然可以登录到新创建的“测试”帐户,但无法登录到“Steven”。
答案1
解决我的问题的方法是 HKEY_USERS\S-... 由某个奇怪的帐户拥有。将其恢复为我自己的帐户解决了这个问题。(编辑 -> 权限 -> 添加我的帐户并授予其对正确子键的完全控制权)。
但请记住递归地替换键!
答案2
我遇到了类似的问题。发生这种情况的原因是,当您转移系统时,环境发生了变化,但 Win7 中的环境变量没有变化。
启动安全模式并更新它们。(您可以在互联网上找到更多帮助)