Quantcast
Channel: AutoSPInstaller
Viewing all articles
Browse latest Browse all 2279

Commented Feature: Check for pending reboots at top of the script [20837]

$
0
0
Before beginning an installation, it would be helpful if the script detects if any pending reboots are required that may cause the prerequisites installer/hotfixes/sharepoint installer to fail. It should check that all three of the registry keys below are empty of children - if any children exist, a reboot is needed:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\FileRenameOperations

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired
Comments: ** Comment from web user: placa **

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\FileRenameOperations is not a key but a REG_MULTI_SZ value, so it has no child, but the existance should be checked. If the value exists, reboot is needed.


Viewing all articles
Browse latest Browse all 2279

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>