RE: Changing Service account password
From: Shain Wray (shainw_at_microsoft.com)
Date: 11/26/03
- Next message: dchapin_at_mail.de.state.az.us: "Scripting NTFS"
- Previous message: Steven L Umbach: "Re: Opening secure web page - very very slow"
- In reply to: Jeff: "Changing Service account password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 26 Nov 2003 05:23:41 GMT
Hello Jeff,
Yes, you can do this with a tool called SC.exe. This comes with WS2003 or
is on the Resource Kit for Win2k. Here is the command you would use -
sc config <servicename> obj= "domain\user" password= "password"
Make sure you put the spaces between the equal sign and the quotation mark
for both obj= and password=.
For example -
sc config eventlog obj= "testdomain\testuser" password= "testpassword"
You should get the following return if it succeeded -
[SC] ChangeServiceConfig SUCCESS
Reference KB -
166819 Using Sc.exe and Netsvc.exe to Control Services Remotely
http://support.microsoft.com/?id=166819
Best regards,
-- Shain Wray Microsoft PSS Security Team This posting is provided "AS IS" with no warranties and confers no rights. Please reply to the newsgroup so that others may benefit. Thanks!
- Next message: dchapin_at_mail.de.state.az.us: "Scripting NTFS"
- Previous message: Steven L Umbach: "Re: Opening secure web page - very very slow"
- In reply to: Jeff: "Changing Service account password"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|