下面写进批处理脚本;以管理员身份执行;
*******Start File Below********
regsvr32 MSXML3.dll /s
net stop wuauserv
cd /d %windir%\SoftwareDistribution
rd /s /q DataStore
net start wuauserv
regsvr32 softpub.dll
regsvr32 mssip32.dll
******End File Above*******
Go to services and stop the Windows Update service
*******Start File Below********
regsvr32 MSXML3.dll /s
net stop wuauserv
cd /d %windir%\SoftwareDistribution
rd /s /q DataStore
net start wuauserv
regsvr32 softpub.dll
regsvr32 mssip32.dll
******End File Above*******
Go to services and stop the Windows Update service
Go to the Windows directory (default is c:\Windows) and rename the "SoftwareDistribution" folder to "SoftwareDistribution.old"
Go to services and start the Windows Update service
关闭windows update服务;
切到c:\Windows目录,文件夹SoftwareDistribution重命名为SoftwareDistribution.old
启动windows update服务;
然后重新安装吧。
本文详细介绍了如何通过批处理脚本来停止Windows更新服务、重命名软件分布文件夹,并重新启动更新服务的过程。适用于系统维护与自动化操作。

5417

被折叠的 条评论
为什么被折叠?



