Changing Passwords for services

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

We have domain accounts on our windows servers 2000/2003 where we want to change the passwords from command line i think we can change using net user but there
are some services running on those servers using the those domain accouts when
we change the password we will have to manually go retype those passwords under each service..is there anyway we can do this from command line ..my main idea is to automate
changing passwords...


Any help is appreciated..


Thanks
 
chinn said:
Hello,

We have domain accounts on our windows servers 2000/2003 where we want to change the passwords from command line i think we can change using net user but there
are some services running on those servers using the those domain accouts when
we change the password we will have to manually go retype those passwords under each service..is there anyway we can do this from command line ..my main idea is to automate
changing passwords...
Hi

sc.exe maybe:


C:\>sc.exe config /?
Modifies a service entry in the registry and Service Database.
SYNTAX:
sc config [service name] <option1> <option2>...
CONFIG OPTIONS:
NOTE: The option name includes the equal sign.
[snip]
password= <password>



For WinXP and Win2k3 Server, SC.exe is built in. Look up SC.exe in
the computer's "Help and Support Center".


For Win2k:

Many of the ResKit utilities, including SC.EXE are available free at:

ftp://ftp.microsoft.com/reskit/win2000/

and

http://www.microsoft.com/windows2000/techinfo/reskit/tools/default.asp

More about SC here:
Sc.exe: Service Controller Tool
http://www.tburke.net/info/reskittools/topics/sc.htm
 
Back
Top