WIN7/WIN2008重置用户Profile

WIN7/WIN2008重置用户Profile

在Win2003,WinXP,Win2000下的用户配置文件,可通过直接在c:\documents and setting\下将其删除或更名,当用户登录系统后会自动创建新的用户配置文件夹。

而Win7和Win2008下,如果通过上述方式在c:\Users下删除用户配置文件,当用户再次登录系统时,不会建立新的用户配置文件夹,用户将以Temp临时文件夹运行。

可通过下面方法解决该问题,将该用户在注册表中的profile键值删除即可。.

为了安全原因,在WIN7下重置用户Profile并非XP这么容易,用户SID储存在系统注册表中,删除PROFILE文件夹并不能完整的删除用户的配置,取而代之WIN7/WIN2008会在每次登录时产生临时文件夹PROFILE给你已删除的用户使用。用户必须在下次LOGIN前 同时删除 PROFILE FLODER 和对应注册表键值。

操作方法为如下:

打开注册表(开始―REGEDIT),找到下列路径[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\]

寻找你想删除用户的键值.在ProfileImagePath处可找到用户的信息。此时删除此键值文件夹,例如:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-144906798-413291513-2040660509-5652

同时删除C:\Users下对应文件夹。
这时次用户再一次LOGIN,系统就将重新自动建立新的PROFILE文件夹了!

How to Remove a user profile from Win7、Windows 2008 server

Description

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.

The user registry key and the user profile folder must be deleted to have Windows load the user profile correctly next time it logs in to the server.

- 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.

.

你可能感兴趣的:(profile,配置文件,setting,Documents,用户登录)