I have installed SQL Server 2008 express and logging in through windows authentication, it doesn’t allow me to do anything. How do i change ‘sa’ password or gain full privilege in my local computers 2008 express ? I am using windows 7.
I have installed SQL Server 2008 express and logging in through windows authentication, it
Share
You need to follow the steps described in Troubleshooting: Connecting to SQL Server When System Administrators Are Locked Out and add your own Windows user as a member of sysadmin:
-mand-fstartup parameters (or you can startsqlservr.exe -c -sEXPRESS -m -ffrom console)sqlcmd -E -A -S .\EXPRESSor from SSMS useadmin:.\EXPRESScreate login [machinename\username] from windowsto create your Windows login in SQLsp_addsrvrolemember 'machinename\username', 'sysadmin';to make urself sysadmin member-m -f