C:\Windows\system32>secedit /configure /cfg C:\Windows\inf\defltbase.inf /db defltbase.sdb /verbose
任务已结束。在此操作期间,一些属性出现警告。 可以忽略此警告。
有关详细信息,请参阅日志 %windir%\security\logs\scesrv.log。
C:\Windows\system32>RD /S /Q "C:\Windows\System32\GroupPolicyUsers"
系统找不到指定的文件。
C:\Windows\system32>RD /S /Q "C:\Windows\System32\GroupPolicy"
C:\Windows\system32>gpupdate /force
正在更新策略...
计算机策略更新成功完成。
用户策略更新成功完成。
C:\Windows\system32>reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
操作成功完成。
C:\Windows\system32>reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Policies" /f
错误: 删除请求已部分完成。
C:\Windows\system32>reg delete "HKLM\Software\Microsoft\WindowsSelfHost" /f
操作成功完成。
C:\Windows\system32>reg delete "HKLM\Software\Policies" /f
错误: 删除请求已部分完成。
C:\Windows\system32>reg delete "HKLM\Software\WOW6432Node\Microsoft\Policies" /f
错误: 系统找不到指定的注册表项或值。
C:\Windows\system32>reg delete "HKLM\Software\WOW6432Node\Microsoft\Windows\CurrentVersion\Policies" /f
错误: 删除请求已部分完成。
C:\Windows\system32>reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware
要删除注册表值 DisableAntiSpyware 吗(Yes/No)? Yes
错误: 系统找不到指定的注册表项或值。
C:\Windows\system32>reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies" /f
操作成功完成。
C:\Windows\system32>reg delete "HKCU\Software\Microsoft\WindowsSelfHost" /f
错误: 系统找不到指定的注册表项或值。
C:\Windows\system32>reg delete "HKCU\Software\Policies" /f
操作成功完成。
C:\Windows\system32>reg delete "HKLM\Software\Microsoft\Policies" /f
错误: 系统找不到指定的注册表项或值。
C:\Windows\system32>reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\WindowsUpdate" /f
错误: 系统找不到指定的注册表项或值。
C:\Windows\system32>reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /d 1 /t REG_DWORD /f
C:\Windows\system32>reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /d 0 /t REG_DWORD /f
操作成功完成。
C:\Windows\system32>SC config wuauserv start= auto
[SC] ChangeServiceConfig 成功
C:\Windows\system32>SC config bits start= auto
[SC] ChangeServiceConfig 成功
C:\Windows\system32>SC config cryptsvc start= auto
[SC] ChangeServiceConfig 成功
C:\Windows\system32>SC config trustedinstaller start= auto
[SC] ChangeServiceConfig 成功
C:\Windows\system32>SC config wuauserv type=share
[SC] ChangeServiceConfig 成功
C:\Windows\system32>net stop wuauserv
Windows Update 服务正在停止.
Windows Update 服务已成功停止。
C:\Windows\system32>net stop cryptSvc
Cryptographic Services 服务正在停止..
Cryptographic Services 服务已成功停止。
C:\Windows\system32>net stop bits
没有启动 Background Intelligent Transfer Service 服务。
请键入 NET HELPMSG 3521 以获得更多的帮助。
C:\Windows\system32>net stop msiserver
没有启动 Windows Installer 服务。
请键入 NET HELPMSG 3521 以获得更多的帮助。
C:\Windows\system32>ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
存在一个重名文件,或是找不到文件。
C:\Windows\system32>net start wuauserv
Windows Update 服务正在启动 .
Windows Update 服务已经启动成功。
C:\Windows\system32>net start cryptSvc
Cryptographic Services 服务正在启动 .
Cryptographic Services 服务已经启动成功。
C:\Windows\system32>net start bits
Background Intelligent Transfer Service 服务正在启动 .
Background Intelligent Transfer Service 服务已经启动成功。
C:\Windows\system32>net start msiserver
Windows Installer 服务正在启动 .