Warning: The installer has detected a system restart is required…
Posted: April 21st, 2008 | Author: TnT Admin | Filed under: Errors | Tags: Errors, SiteScope | No Comments »Warning:
The installer has detected a system restart is required.
Click Cancel to exit the installation. After restarting the system, run the installation again.
Lately, I’ve encountered this problem while installing my SiteScope version 8.5 as the monitoring mechanism for my LoadRunner. I couldn’t find any information relating to it and so, logged a support case with HP Support. Below is the screenshot of the warning. Click on image to enlarge.
I’ve attached the log files which was generated during the installation. They are found in the %TEMP%\Mercury directory (e.g. C:\Documents and Settings\Administrator\Local Settings\Temp\Mercury). The files should be in the following format.
- Mercury_SiteScope.{numeric string}.install.html
Mercury_SiteScope.{numeric string}.install.is.log
Click on the link to view an example of the content in the log files when the installation warning occur.
The solution provided is as followed (with some minor amendments while I was executing it). It looks at two registry keys namely [1] PendingFileRenameOperations and [2] RunOnce keys. Perform [1] before proceeding to [2]. Do remember to backup the registry before performing the following tasks (if you are unsure of the changes).
[1] PendingFileRenameOperations Registry
- 1. Go to following registry Key:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager2. Open PendingFileRenameOperations key. It will show the file name that will be renamed when you reboot.
3. If the file pointed by the above key doesn’t exist delete PendingFileRenameOperations key and run installation again.
4. If file exist, it means you should reboot the machine at least once and if you still get the message after reboot, you can delete the key.
If it still fails with the message that you need to reboot, go to [2].
[2] RunOnce Registry
- 1. Go to registry Key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\2. When you select RunOnce key, in the right hand side pane you will see multiple values and the first one is “Default”
3. Make a backup of the entries in the RunOnce key (right click > Export > Save).
4. Delete all other entry except “Default”.
5. If there is only one entry (”Default”), there is no need to delete anything.
6. Repeat same Step 1-5 for HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce\
Both solutions should resolve the problem, but do remember to perform [1] before trying out [2]. Hope this is useful to you!
Leave a Reply