在Win2003,WinXP,Win2000下的使用者配置檔案,可通過直接在c:\documents and setting\下将其将删除或更名,當使用者登入系統後會自動建立新的使用者配置檔案夾。
而Win7和Win2008下,如果通過上述方式在c:\Users下删除使用者配置檔案,當使用者再次登入系統時,不會建立新的使用者配置檔案夾,使用者将以Temp臨時檔案夾運作。
可通過下面方法解決該問題,将該使用者在系統資料庫中的profile鍵值删除即可。下面為原文操作方法。
<a href="http://www.waronerrors.com/kb/how-to-remove-a-user-profile-from-windows-2008-server.aspx">http://www.waronerrors.com/kb/how-to-remove-a-user-profile-from-windows-2008-server.aspx</a>
To delete a user profile in Windows 2003 Server it was required only to delete the user folder under
C:\Documents and settings as administrator and the next time user logged in, a new profile was
created for the user.
In Windows Server 2008, deleting a user profile is not that simple because security settings and user
SID are saved on system registries. Deleting the user folder will not remove the profile completely. Instead it will load a temp profile each time the user tries to log in.
- Open the registry editor by going to Start > Run. Type regedit and click OK.
- Navigate to the following:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\]
- Select each user key until you find the one belonging to the user you wish to delete. To determine which user a key belongs to, look in the ProfileImagePath field. Here you will see the user's folder path in the following format:
<System Root>\Users\<User Name> Example: C:\Users\johnd
- Delete the desired user key. Example: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-144906798-413291513-2040660509-5652
- Locate and delete the following user folder: <System Root>\Users\<Username>\
The user should now be able to log in, creating a new profile.
以下為正确的清除使用者配置檔案方法:
本文轉自William宋 51CTO部落格,原文連結:http://blog.51cto.com/sting/486626,如需轉載請自行聯系原作者