删除本地域帐户

To clear user local profile via registry:

1、先删除用户配置文件。

2、Click Start → Run → Regedit

Navigate to the following registry key :HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Under ProfileList navigate to binary key’s like this: S-1-5-21-3656904587-1668747452-4095529-500

On the right side under ProfileImagePath you'll see the profile path.

Chose the one with the desired user and delete the long registry key like: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

3、You will then need to either rename (preferable), or delete the user profile on disk under C:\Users\%username%

4、重新登陆域帐户,运行CMD检查。打开“C:\Users\” 检查。

猜你喜欢

转载自blog.51cto.com/szchenxr/2498977