I'm integrating with a third-party product via its SQL Server 2008 R2 database. In a previous version, I was able to access the database via SQL Server Management Studio and SQLCMD as a Windows administrator using Windows authentication.

The third-party product controls the sa account and keeps the password a secret.

After applying the vendor's latest product update, I can no longer access the database using Windows authentication. I even tried single mode, but no luck.

Here's how I switched to single mode:


That seems to start the database.

C:\>sqlcmd /S .\FOOBAR
Msg 18470, Level 14, State 1, Server WINMAC\FOOBAR, Line 1
Login failed for user 'WINMAC\steve'. Reason: The account is disabled.

Is there a way in? Or is it more likely the vendor has closed a hole and I can't get in?


Using PSExec to connect to an instance using the NT AUTHORITY\SYSTEM account:


However bear in mind that you may be breaking some contract, just wanted to note it :)

Original author is here

  • Thanks. Not to worry about contracts. I don't have a relationship with the vendor (yet), just their customers. Interestingly, once I got in, I realised I no longer needed to make the previously required modifications because the vendor realized the error of their ways, which means I don't have to deploy PsExec to customers. Yay!
    – Steve
    Mar 13 '13 at 18:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.