• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 623
  • Last Modified:

isql statement to change local sa password needed

Can someone give me the statements that I can put into a login batch file that will change the sa password for the local MSDE laptop?

User running it will have local administrator rights to machine so it should pass credentials.  ISQL utility is installed.

1 Solution
Eugene ZCommented:

try for trusted connection:

C:\>isql /S EUGENE2000 /E /Q "EXEC sp_password 'oldpassword', 'newpassword', 'logintest'"

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now