码迷,mamicode.com
首页 > 其他好文 > 详细

删除本地域帐户

时间:2020-05-27 18:37:27      阅读:184      评论:0      收藏:0      [点我收藏+]

标签:one   path   oca   microsoft   following   配置   文件   打开   reg   

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\” 检查。

删除本地域帐户

标签:one   path   oca   microsoft   following   配置   文件   打开   reg   

原文地址:https://blog.51cto.com/szchenxr/2498977

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!