[技巧] windows update服务丢失后恢复的解决办法

  [复制链接]
查看541 | 回复3 | 2023-3-17 21:53:37 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?立即注册

×
由于之前使用过禁止Windows更新的一键工具,今天想打开系统更新却发现无法打开了。
打开系统服务列表发现windows update服务压根就没了!那么如何恢复Windows update服务呢?

打开注册表:运行 regedit
进入:
  1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\
复制代码
然后找到左侧的:wuauserv
2345截图20230317215722.png

2、右键导出现有的注册表wuauserv配置。

3、复制下列代码到记事本,然后另存为wuauserv.reg文件

  1. Windows Registry Editor Version 5.00

  2. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wuauserv]
  3. "PreshutdownTimeout"=dword:036ee800
  4. "DisplayName"="@%systemroot%\\system32\\wuaueng.dll,-105"
  5. "ImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
  6.   74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,\
  7.   00,76,00,63,00,68,00,6f,00,73,00,74,00,2e,00,65,00,78,00,65,00,20,00,2d,00,\
  8.   6b,00,20,00,6e,00,65,00,74,00,73,00,76,00,63,00,73,00,00,00
  9. "Description"="@%systemroot%\\system32\\wuaueng.dll,-106"
  10. "ObjectName"="LocalSystem"
  11. "ErrorControl"=dword:00000001
  12. "Start"=dword:00000002
  13. "DelayedAutoStart"=dword:00000001
  14. "Type"=dword:00000020
  15. "DependOnService"=hex(7):72,00,70,00,63,00,73,00,73,00,00,00,00,00
  16. "ServiceSidType"=dword:00000001
  17. "RequiredPrivileges"=hex(7):53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,\
  18.   00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,\
  19.   65,00,61,00,74,00,65,00,47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,\
  20.   00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,\
  21.   61,00,74,00,65,00,50,00,61,00,67,00,65,00,46,00,69,00,6c,00,65,00,50,00,72,\
  22.   00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,54,00,63,00,\
  23.   62,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,\
  24.   00,41,00,73,00,73,00,69,00,67,00,6e,00,50,00,72,00,69,00,6d,00,61,00,72,00,\
  25.   79,00,54,00,6f,00,6b,00,65,00,6e,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,\
  26.   00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,72,00,73,00,6f,00,\
  27.   6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,\
  28.   00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,73,00,65,00,51,00,\
  29.   75,00,6f,00,74,00,61,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,\
  30.   00,00,00,53,00,65,00,53,00,68,00,75,00,74,00,64,00,6f,00,77,00,6e,00,50,00,\
  31.   72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
  32. "FailureActions"=hex:80,51,01,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
  33.   00,01,00,00,00,60,ea,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

  34. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wuauserv\Parameters]
  35. "ServiceDll"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,\
  36.   00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,\
  37.   77,00,75,00,61,00,75,00,65,00,6e,00,67,00,2e,00,64,00,6c,00,6c,00,00,00
  38. "ServiceMain"="WUServiceMain"
  39. "ServiceDllUnloadOnStop"=dword:00000001

  40. [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\wuauserv\Security]
  41. "Security"=hex:01,00,14,80,78,00,00,00,84,00,00,00,14,00,00,00,30,00,00,00,02,\
  42.   00,1c,00,01,00,00,00,02,80,14,00,ff,00,0f,00,01,01,00,00,00,00,00,01,00,00,\
  43.   00,00,02,00,48,00,03,00,00,00,00,00,14,00,9d,00,02,00,01,01,00,00,00,00,00,\
  44.   05,0b,00,00,00,00,00,18,00,ff,01,0f,00,01,02,00,00,00,00,00,05,20,00,00,00,\
  45.   20,02,00,00,00,00,14,00,ff,01,0f,00,01,01,00,00,00,00,00,05,12,00,00,00,01,\
  46.   01,00,00,00,00,00,05,12,00,00,00,01,01,00,00,00,00,00,05,12,00,00,00
复制代码


4、双击运行wuauserv.reg,导入配置

5、重启电脑后打开服务列表,发现Windows update服务又回来了!

回复

使用道具 举报

1163 | 2023-3-20 14:08:15 | 显示全部楼层
已解决我的问题!
回复 支持 1 反对 0

使用道具 举报

1163 | 2023-3-20 14:05:35 | 显示全部楼层
谢谢楼主,解决我的大问题,我都准备重新安装系统了!
回复 支持 1 反对 0

使用道具 举报

yydy | 2023-7-19 20:38:08 | 显示全部楼层
今天又一次使用此方法解决了:因为无法启动更新而无法安装Net framework3.5的问题

win10系统无法安装.Net framework3.5的解决方法
http://www.yydy.org:5/thread-247-1-1.html
(出处: 阳阳得意电脑俱乐部|一个没有广告的纯兴趣爱好网站!)


回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则