"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. 关闭注册表编辑器
相关文章
|
Shell Linux
Centos7:“Entering emergency mode. Exit the shell to continue”错误解决方法
想过很多朋友有遇到这种情况,就是正在远程使用centos7系统时,一旦让远程虚拟机或服务器断电或强制关机,那么再次重启时就会出现“Entering emergency mode. Exit the shell to continue.”的错误。
11795 1
Centos7:“Entering emergency mode. Exit the shell to continue”错误解决方法
|
4月前
|
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 的解决办法
104 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')
939 0
|
5月前
|
编译器
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
“Could not determine which ”make“ command to run. Check the ”make“ step in the build configuration.”
问题解决: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...
成功解决Failed to execute stage ‘Setup validation’: Cannot locate gluster packages
成功解决Failed to execute stage ‘Setup validation’: Cannot locate gluster packages
How to Fix “firewall-cmd: command not found” Error in ubuntu
How to Fix “firewall-cmd: command not found” Error in ubuntu
TortoiseSVN报错:“Previous operation has not finished; run 'clean up' if it was interrupted“ 的解决方法
TortoiseSVN报错:“Previous operation has not finished; run 'clean up' if it was interrupted“ 的解决方法
333 0
TortoiseSVN报错:“Previous operation has not finished; run 'clean up' if it was interrupted“ 的解决方法
failed to start lsb:bring up/down
centos 7 有的时候重启网络报错,failed to start lsb:bring up/down 解决方法: systemctl stop NetworkManager