Depending on the mode in which SQL Server was installed (Windows Authentication or Mixed Mode), you may have to do a few things. If you installed in mixed mode, you can log in as sa and add an administrator user as a login to the Security section. Make sure you assign the sysadmin role to the user, which can be found in the Server Roles section.
Windows, , , , sadegh, SQL Server , - .
: , SQL Server , / sa. :
- ( " " )
- net stop MSSQLSERVER
- net start MSSQLSERVER/m
- SQL Server Management Studio. , .
- "" "" > " " (, , localhost).
- ALTER LOGIN sa WITH PASSWORD = ''; reset ( sa , ALTER LOGIN sa ENABLE). )
- sa Administrator.
EDIT:
@jimasp , 6 ALTER LOGIN sa WITH PASSWORD = '' UNLOCK;, sa - .
Windows 7 Ultimate SQL Server 2008 Standard. , .