虚拟化模板新建虚拟机后 wsus控制台无法看到所有客户端计算机
起因:vm虛擬化下所有的服務(wù)器都是使用模板來新建虛擬機(jī)的,所以使得部分客戶端SID相同了。
現(xiàn)象:在wsus 3.0 sp1控制臺上,無法看到所有服務(wù)器客戶端。
解決方案:均在客戶端上操作,
net stop wuauserv
刪掉 HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionWindowsUpdate 下面 SusClientId 和 SusClientIdValidation 鍵
刪掉Windows目錄下SoftwareDistribution文件夾
net start wuauserv
運(yùn)行 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.
轉(zhuǎn)載于:https://blog.51cto.com/vicent/1842462
總結(jié)
以上是生活随笔為你收集整理的虚拟化模板新建虚拟机后 wsus控制台无法看到所有客户端计算机的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: dubbo 使用 filter 报错解决
- 下一篇: 介个杀手不太冷锁屏壁纸