We help IT Professionals succeed at work.

change log on as in a windows service

bibi92
bibi92 asked
on
Medium Priority
289 Views
Last Modified: 2012-08-13
Hello,

I search a command for changing the log on as in a windows service :

.\ by domain\user.

Thanks

bibi
Comment
Watch Question

bbaoIT Consultant
CERTIFIED EXPERT

Commented:
FYI

How to Change a Service Account Password by Using a Batch File
http://support.microsoft.com/kb/317142

Author

Commented:
Hello,

Thanks, I search how I can Change a Service Account .

Regards

bibi
IT Consultant
CERTIFIED EXPERT
Commented:
yes, the SC utility is for that. the syntax for changing service account is as below.

SC CONFIG service_name OBJ=account_name PASSWORD=password

Author

Commented:
Thanks regards bibi

Explore More ContentExplore courses, solutions, and other research materials related to this topic.