Archive: Check for Reboot Flag


Check for Reboot Flag
Hi,

I have an installer where certain actions won't work unless the computer is in a normal state (as the reboot flag isn't pending), usually from Windows Updates installed/pending a reboot.

I've checked all of the usual suspects but this doesn't seem to work, unless I am mistaken to the cause of the problems I am experiencing.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
\PendingFileRenameOperations
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnceEx
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunServicesOnce
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce


I am using the AddToPath command, and it seems that is the reason why the path won't add itself.

The installer will only work as of now on an admin only account so that won't be it.

Any help is greatly appreciative.

Thanks


Have a look at this thread


LoL, I love how you referred to my original post that I thought got abandoned!