views:

4355

answers:

4

I should probably take this for a forum but figured someone here might know the answer. I'm trying to install sql server 2008 on a home vista machine but it keeps telling 'Restart computer failed' everytime it does a check to make sure pre-reqs are met. I've restarted my computer and even uinstalled/installed .net 3.5 sp1.
only thread i found about this was: http://forums.microsoft.com/msdn/showpost.aspx?postid=3656807&siteid=1&sb=0&d=1&at=7&ft=11&tf=0&pageid=1

the last post on that forum states that there is a way to 'forcefully' (using command prompt) there is a way to bypass the reboot check.

does anyone know what commands can be used to bypass the rebook check??

+19  A: 

Found this here: http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=3762432&SiteID=1

"You can open Regedit, and modify this key"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager" and delete any value in "PendingFileRenameOperations""

Also, note that in some case rather than there being a key at KEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager there can also be a corrupted value with the same name at the same place.
andynormancx
Worked for me on XP, thanks!
Chris Lawlor
A: 

Also try removing reboot keys under: 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

Source: https://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3745175&SiteID=17

+2  A: 

To skip reboot/restart check from the command line, use /SKIPRULES=RebootRequiredCheck

For more details: http://technet.microsoft.com/en-us/library/ms144259.aspx

A: 

"You can open Regedit, and modify this key"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager" and delete any value in "PendingFileRenameOperations"" (works!!! i had two things pending deleted them and Walaaa!!!) thank you guys

Naveed Choudhry