jl66
asked on
can we change the service log on user by DOS commands?
For the user log on the windows services, can I change the user and setup the password with DOS commands? For example, from
Log on as:
Local System account
to
This account: sysadm1
and set up the password.
Log on as:
Local System account
to
This account: sysadm1
and set up the password.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
how to get obj (YourUser)? The logic is
if obj != sysadm, then do
sc config YourService obj= YourUser password= YourPwd
end