"Setup has detected a pending system reboot from a previous install, Setup Cannot continue until the machine is rebooted. Please reboot the machine an

简介: 安装一个软件时,反复重启也无法解除"Setup has detected a pending system reboot from a previous install, Setup Cannot continue until the machine is rebooted. Please reboot the machine and run the installation again."的提示,安装无法进行。

安装一个软件时,反复重启也无法解除"Setup has detected a pending system reboot from a previous install, Setup Cannot continue until the machine is rebooted. Please reboot the machine and run the installation again."的提示,安装无法进行。

clip_image002

 

引起的原因


One potential trigger was the installation of Logitech Webcam drivers which adds values to HKLM\SYSTEM\CurrentControlSet\Control\SessionManager\PendingFileRenameOperations key. Issue has also been seen on Acer Notebooks in the Public forum.

一个可能的原因就是安装罗技的摄像头是会在注册表的HKLM\SYSTEM\CurrentControlSet\Control\SessionManager\PendingFileRenameOperations写入内容,同样的问题在Acer 的笔记本上也有。

解决方法:

打开注册表,浏览到: HKLM\SYSTEM\CurrentControlSet\Control\SessionManager\
备份 PendingFileRenameOperations 键值,然后删除,之后不用重启,尝试安装软件。

 

对于Vista,还有两个文件夹里也包含了重启信息。
C:\Windows\winsxs\Temp\PendingDeletes\
C:\Windows\winsxs\Temp\PendingRenames\

HKLM\Software\Microsoft\CurrentVersion\Run, 或者(HKCU\Software\Microsoft\CurrentVersion\Run)

注意:如果需要的话更新Windows  Installer

  1. 通过下面的Dos命令打开"C:\Windows\winsxs"
    " CD \ " (press Enter)
    " CD \Windows\winsxs " (press Enter)
  2. 把文件 "Pending.xml" 改一个名字,比如:
    "ren pending.xml pending.xxx" (按 Enter键)
  3. 通过"regedit" 打开注册表程序
  4. 查找包含"Advanced installer need resolving" 的条目删除
  5. 查找"Pending.xml identifier" (这个是一个两行的)并删除。
  6. 关闭注册表编辑器
相关文章
|
7月前
|
Linux 开发工具
You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofi
linux配置环境变量操作失误出现:/usr/libexec/grepconf.sh: line 5: grep: command not found 的解决办法
309 2
|
8月前
已解决E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a‘ to correct the problem.
已解决E: dpkg was interrupted, you must manually run ‘sudo dpkg --configure -a‘ to correct the problem.
118 0
|
9月前
|
NoSQL C语言
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
vscode出现 ERROR: Unable to start debugging. Unexpected GDB output from command “-exec-run“.
1770 0
How to Fix “firewall-cmd: command not found” Error in ubuntu
How to Fix “firewall-cmd: command not found” Error in ubuntu
1044 0
failed to start lsb:bring up/down
centos 7 有的时候重启网络报错,failed to start lsb:bring up/down 解决方法: systemctl stop NetworkManager
|
Linux 数据安全/隐私保护