Members of the Windows Administrators group now have access to SQL Server when SQL Server is in started in single-user mode, also known as "maintenance mode".
Simply restart the server in maintenance mode, edit sa's password, and then restart again in normal mode.
To start in maintenance mode, send the
-m parameter when initializing the server:- Open the Configuration Manager in SQL Server 2008/Configuration;
- Edit the properties of the server instance, adding
-mto the Startup Parameters option (user;to separate options, be careful not to add spaces) - Restart the server
To change back to normal mode, remove the
-m parameter and restart the server.Via Raul Garcia.
No comments:
Post a Comment