"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. 关闭注册表编辑器
相关文章
|
5月前
|
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 的解决办法
153 2
|
Linux
Linux - Centos 8 执行 yum makecache fast 报错:yum makecache: error: argument timer: invalid choice: 'fast' (choose from 'timer')
Linux - Centos 8 执行 yum makecache fast 报错:yum makecache: error: argument timer: invalid choice: 'fast' (choose from 'timer')
970 0
|
6月前
已解决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.
64 0
|
虚拟化
成功解决Failed to execute stage ‘Setup validation’: Hardware does not support virtualization.
成功解决Failed to execute stage ‘Setup validation’: Hardware does not support virtualization.
[metasploit]msf启动:msf failed to load and returned this error 'cannot load such file -- bundler/setup'
[metasploit]msf启动:msf failed to load and returned this error 'cannot load such file -- bundler/setup'
113 0
How to Fix “firewall-cmd: command not found” Error in ubuntu
How to Fix “firewall-cmd: command not found” Error in ubuntu
failed to start lsb:bring up/down
centos 7 有的时候重启网络报错,failed to start lsb:bring up/down 解决方法: systemctl stop NetworkManager
Running Homebrew as root is extremely dangerous and no longer supported.
版权声明:本文为 testcs_dn(微wx笑) 原创文章,非商用自由转载-保持署名-注明出处,谢谢。 https://blog.csdn.net/testcs_dn/article/details/81113749 ...
2895 0