Windows Service Password change ?

  • Thread starter Thread starter MollocH
  • Start date Start date
M

MollocH

Hi NG,

Is there a method to change the Username and Password of a service running
as User ?
Browsed google but didn't find anything.

Hope you can help

Thx & greetings
 
Hello MollocH,

ChangeServiceConfig() API func in charge of this

use pinvoke like there http://www.pinvoke.net/default.aspx/advapi32/ChangeServiceConfig.html

M> Hi NG,
M>
M> Is there a method to change the Username and Password of a service
M> running
M> as User ?
M> Browsed google but didn't find anything.
M> Hope you can help
M>
M> Thx & greetings
M>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
Back
Top