Bhaarat
Bhaarat

Reputation:

Installation problem sql server 2008

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??

Upvotes: 29

Views: 23402

Answers (5)

Renan Araújo
Renan Araújo

Reputation: 3631

An easiest solution is installing by command line ignoring this verification:

setup.exe /ACTION=INSTALL /SkipRules=RebootRequiredCheck

Upvotes: 14

Paldom
Paldom

Reputation: 21

If you don't have the keys (like me), try this:

  1. find the directory where setup.exe is unpacked
  2. start cmd.exe and navigate to that directory
  3. start install from command line:

    setup.exe /ACTION=install /FEATURES=SQL /INSTANCENAME=SQL2008 /SQLSVCACCOUNT=”NT Authority\System” /SQLSYSADMINACCOUNTS=”yourPcName\yourUserName” /AGTSVCACCOUNT=”NT Authority\System” /SECURITYMODE=SQL /SAPWD=”yourSqlPassword” /SQLTEMPDBDIR=”C:\SQL2008\TempDB\” /SQLUSERDBDIR=”C:\SQL2008\SQLData\” /SQLUSERDBLOGDIR=”C:\SQL2008\SQLLog\” /SkipRules=VSShellInstalledRule RebootRequiredCheck

Before executing pay attention to some parts of the code above:

INSTANCENAME=SQL2008
/SQLSYSADMINACCOUNTS=”yourPcName\yourUserName”
/SAPWD=”yourSqlPassword” 
/SQLTEMPDBDIR=”C:\SQL2008\TempDB\\” 
/SQLUSERDBDIR=”C:\SQL2008\SQLData\\” 
/SQLUSERDBLOGDIR=”C:\SQL2008\SQLLog\\”

If you couldn't find out tags above: http://msdn.microsoft.com/en-us/library/ms144259(SQL.100).aspx#Install

Upvotes: 0

Yasser
Yasser

Reputation:

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

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

Upvotes: 7

yasser
yasser

Reputation:

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

Upvotes: 0

yasser
yasser

Reputation:

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""

Upvotes: 34

Related Questions