Re: Change Username/Password for an existing Windows Service
From: Scott Swigart (scott_at_3leaf.com)
Date: 11/28/04
- Next message: john andrew: "TweakUI and VB.net"
- Previous message: CyberCo: "Re: Problems with XMLTextWriter"
- In reply to: Scott Lezberg \(Deltek\): "Change Username/Password for an existing Windows Service"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 28 Nov 2004 14:24:38 -0800
On windows XP, you can use the "sc" command line utility, such as:
sc config MyService obj= UserName password= newPassword
You can use Process.Start to run this command.
-- Scott Swigart http://blog.swigartconsulting.com "Scott Lezberg (Deltek)" <slezberg@ma.deltek.com> wrote in message news:O4BUw3X1EHA.1292@TK2MSFTNGP10.phx.gbl... > Does anyone have any sample code on how to change a username/password for > an existing Windows service? > > Thanks > > Scott >
- Next message: john andrew: "TweakUI and VB.net"
- Previous message: CyberCo: "Re: Problems with XMLTextWriter"
- In reply to: Scott Lezberg \(Deltek\): "Change Username/Password for an existing Windows Service"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|