Issue
During re-installation of software, sometimes we encounter the message “Please reboot before installing any more programs”.
If we are sure that there’s no need to reboot computer, proceed with the workaround below.
Resource: Message “Please reboot before installing any more programs” – ID: 8861819 – Industry Support Siemens
Workaround
Registry Editor
Open the registry editor by starting regedit application.
Check whether there’s any value in the following path:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Managerand keyPendingFileRenameOperationsHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
Command
%SystemRoot%\System32\reg.exe add "HKLM\System\CurrentControlSet\Control\Session Manager" /v PendingFileRenameOperations /t REG_MULTI_SZ /d "" /f
Registry Explanation
The entries in this key are to be interpreted as follows: Windows generates two lines for each file concerned.
Deletion of file
If the even line of the key is empty, it means that the file has been registered to be deleted.
Rename of file
If there is an entry in the even lines, that is the new name for the file in the line before.