您的位置:首页 > 理论基础

虚拟化模板新建虚拟机后 wsus控制台无法看到所有客户端计算机

2016-08-25 15:20 239 查看
起因:vm虚拟化下所有的服务器都是使用模板来新建虚拟机的,所以使得部分客户端SID相同了。现象:在wsus 3.0 sp1控制台上,无法看到所有服务器客户端。解决方案:均在客户端上操作,net stop wuauserv删掉 HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate 下面 SusClientId 和 SusClientIdValidation 键删掉Windows目录下SoftwareDistribution文件夹net start wuauserv运行 wuauclt.exe /Detectnow /Resetauthorization 命令在控制台就可以看到新加入的客户端了,基本上秒杀! 用于清除WSUS客户端相同SID的代码 如下:


程序代码Script Code
============================================

@echo off
Echo Save the batch file "AU_Clean_SID.cmd". This batch file will do the following:
Echo 1. Stops the wuauserv service
Echo 2. Deletes the AccountDomainSid registry key (if it exists)
Echo 3. Deletes the PingID registry key (if it exists)
Echo 4. Deletes the SusClientId registry key (if it exists)
Echo 5. Restarts the wuauserv service
Echo 6. Resets the Authorization Cookie
Echo 7. More information on http://msmvps.com/Athif
Pause
@echo on
net stop wuauserv
REG Delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v AccountDomainSid /f
REG Delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v PingID /f
REG Delete "HKLMSOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate" /v SusClientId /f
net start wuauserv
wuauclt /resetauthorization /detectnow
Pause
============================================

SUS client ID will be generated at next detection.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  wsus sid 控制台
相关文章推荐