PC Review


Reply
Thread Tools Rate Thread

Changing Passwords for services

 
 
=?Utf-8?B?Y2hpbm4=?=
Guest
Posts: n/a
 
      17th Jul 2004
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
 
Reply With Quote
 
 
 
 
Torgeir Bakken \(MVP\)
Guest
Posts: n/a
 
      18th Jul 2004
chinn wrote:

> 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...ls/default.asp

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


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/com...r/default.mspx
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows Authentication - How to allow users to change passwords andother account services? Mel Microsoft ASP .NET 2 8th Sep 2008 03:23 PM
Changing passwords Ant Microsoft Access 1 25th Feb 2005 01:41 AM
Services loose Passwords =?Utf-8?B?SmVubmlmZXI=?= Microsoft Windows 2000 Networking 0 19th May 2004 03:36 PM
Changing Passwords =?Utf-8?B?R2FyeSBL?= Microsoft Windows 2000 2 8th Apr 2004 01:31 AM
Tool for changing passwords on services Travis Microsoft Windows 2000 Advanced Server 1 8th Oct 2003 02:45 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:07 AM.