"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. 关闭注册表编辑器
目录
相关文章
|
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')
633 0
|
8月前
|
虚拟化
成功解决Failed to execute stage ‘Setup validation’: Hardware does not support virtualization.
成功解决Failed to execute stage ‘Setup validation’: Hardware does not support virtualization.
|
7月前
问题解决:Try to run this command from the system terminal. Make sure that you use the...
问题解决:Try to run this command from the system terminal. Make sure that you use the...
|
8月前
|
Shell Linux C++
报错:CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘. 问题解决
报错:CommandNotFoundError: Your shell has not been properly configured to use ‘conda activate‘. 问题解决
163 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 ...
2666 0

热门文章

最新文章