Step 1: Open a Command Prompt Window (cmd.exe) as Administrator.
Step2: Copy and Paste the Following Lines, One at a Time, into the Command Prompt Window and Press the 'Enter' Key After Pasting Each One.
- osql -S (local)\ADVANCEWARE -E -Q "USE [master]; EXEC xp_instance_regwrite N'HKEY_LOCAL_MACHINE', N'Software\Microsoft\MSSQLServer\MSSQLServer', N'LoginMode', REG_DWORD, 2;"
- net stop MSSQL$ADVANCEWARE
- net start MSSQL$ADVANCEWARE
The Result Should Look Like This: