REM For a dev machine that does not use SQLS every day; set services start to Manual, and use this to start as needed. Elevate.exe Begin %0 & exit SC start MSSQL$SQLEXPRESS hWaitFor.exe ServiceStarted:MSSQL$SQLEXPRESS SC start MSSQLFDLauncher$SQLEXPRESS hWaitFor.exe ServiceStarted:MSSQLFDLauncher$SQLEXPRESS SC start SQLTELEMETRY$SQLEXPRESS hWaitFor.exe ServiceStarted:SQLTELEMETRY$SQLEXPRESS SC start SQLPBDMS$SQLEXPRESS hWaitFor.exe ServiceStarted:SQLPBDMS$SQLEXPRESS SC start SQLPBENGINE$SQLEXPRESS hWaitFor.exe ServiceStarted:SQLPBENGINE$SQLEXPRESS SC start SQLWriter hWaitFor.exe ServiceStarted:SQLWriter Elevate.exe End Speak.exe ".Language:en-" "SQL services started."