i need to recover the master database.
Ive reinstall sql 2008 and sp1
i stop sql service
i run "d:\program files\microsoft sql server\mssql10.mssqlserver\mssql\binn\sqlservr.exe" /c /m"sqlcmd"
i then open another command prompt and type sqlcmd.
i want to run
RESTORE DATABASE master FROM DISK = "d:\master.bak" WITH REPLACE;
but as soon as i run the sqlcmd command i get the following error
"Msg 18461, Level 14, State 1, Server SQLSERVER, Line 1 login failed for 'domain1\administrator'. Reason: Server is in single user mode. Only one administrator can connect at this time.