我最近將我的作業系統(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)服務和所有啟動項目。我仍然可以登入新建立的“測試”帳戶,而不是“史蒂文”。
答案1
我的問題的解決方案是 HKEY_USERS\S-... 由某個奇怪的帳戶擁有。將其恢復為我自己的解決了問題。 (編輯 -> 權限 -> 新增我的帳戶並賦予其對正確子金鑰的完全控制權)。
但請記得遞歸地替換密鑰!
答案2
我有類似的問題。發生這種情況是因為當你轉移系統時,環境發生了變化,但Win7中的環境變數沒有變化。
啟動進入安全模式並更新它們。 (您可以在網路上找到更多協助)