Avatar of Jason Yu
Jason YuFlag for United States of America

asked on 

How can I recover a sql server root password

I have a wsus server with a sql database server in the backend. I have to run some script to purge the database. but I couldn't connect to it, is there a way I can crack the root password for this database server and the database/

thanks.
database-error.png
Microsoft SQL ServerMicrosoft SQL Server 2008

Avatar of undefined
Last Comment
Vitor Montalvão
Avatar of Deepak Chauhan
Deepak Chauhan
Flag of India image

Posted error message is saying "SQL server not found" this is not password issue.
first check sql server services are running or not on this server.
ASKER CERTIFIED SOLUTION
Avatar of Jason clark
Jason clark
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Jason Yu
Jason Yu
Flag of United States of America image

ASKER

I am following this article to recover my sa's password. http://v-consult.be/2011/05/26/recover-sa-password-microsoft-sql-server-2008-r2/

however, I got the following error when i tried to run sqlcmd command. Please help.
Avatar of Jason Yu
Jason Yu
Flag of United States of America image

ASKER

C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn>sqlcmd
HResult 0x2, Level 16, State 1
Named Pipes Provider: Could not open a connection to SQL Server [2].
Sqlcmd: Error: Microsoft SQL Server Native Client 10.0 : A network-related or instance-specific error has occurred while establishing a connection to SQL Server
. Server is not found or not accessible. Check if instance name is correct and if SQL Server is configured to allow remote connections. For more information see
 SQL Server Books Online..
Sqlcmd: Error: Microsoft SQL Server Native Client 10.0 : Login timeout expired.

C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn>
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Avatar of Jason Yu
Jason Yu
Flag of United States of America image

ASKER

this is an internal database inbuilt with WSUS installation. The database looks corrupted, how could I connect it?
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
Microsoft SQL Server
Microsoft SQL Server

Microsoft SQL Server is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.SQL Server is available in multiple versions, typically identified by release year, and versions are subdivided into editions to distinguish between product functionality. Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning.

171K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo