首页 windows正文

解决“读取用户XX的属性时,找不到组名”的方法

chenzj windows 2017-10-21 04:10:32 4 0
今天维护服务器时发现了一个异常现象,就是在查看用户属性时,出现“找不到组名”。如图,



在“本地用户和组”中只查看组提示“些视图中没有可显示的项目”如图



查看注册表HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account下没有GROUPS项。如图



解析方法:

1.从正常的Win2003中导入GROUPS项,在导入进注册表

2.复制以下代码保存为.reg文件,双击导入即可


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Groups]
@=""

[HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Groups\00000201]
"C"=hex:02,00,01,00,01,02,00,00,07,00,00,00,02,00,01,00,00,00,00,00,00,00,00,\
00,b0,00,00,00,02,00,01,00,b0,00,00,00,08,00,00,00,00,00,00,00,b8,00,00,00,\
08,00,00,00,00,00,00,00,c0,00,00,00,64,00,00,00,03,00,00,00,01,00,14,80,90,\
00,00,00,a0,00,00,00,14,00,00,00,44,00,00,00,02,00,30,00,02,00,00,00,02,c0,\
14,00,0e,00,05,01,01,01,00,00,00,00,00,01,00,00,00,00,02,c0,14,00,ff,ff,1f,\
00,01,01,00,00,00,00,00,05,07,00,00,00,02,00,4c,00,03,00,00,00,00,00,14,00,\
11,00,02,00,01,01,00,00,00,00,00,01,00,00,00,00,00,00,18,00,1f,00,0f,00,01,\
02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,00,00,18,00,1f,00,0f,00,01,02,\
00,00,00,00,00,05,20,00,00,00,24,02,00,00,01,02,00,00,00,00,00,05,20,00,00,\
00,20,02,00,00,01,02,00,00,00,00,00,05,20,00,00,00,20,02,00,00,4e,00,6f,00,\
6e,00,65,00,00,4e,2c,82,28,75,37,62,f4,01,00,00,f5,01,00,00,e9,03,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Groups\Names]
@=hex(0):

[HKEY_LOCAL_MACHINE\SAM\SAM\Domains\Account\Groups\Names\None]
@=hex(201):



为了安全也可以把这个删除,可以防止他人非法创建用户,想用的时候在导入进去就行了。
版权声明

本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。

发表评论

评论列表(0人评论 , 4人围观)
☹还没有评论,来说两句吧...