需要命令来编辑服务登录到本地系统帐户


2

当您右键单击services.msc中的服务并转到属性并登录时,它允许您将其更改为本地系统帐户,如何使用批处理命令切换到该设置,我想切换Telnet以使用本地系统帐户。

Answers:


1

使用多功能SC命令:

sc config "<ServiceName>" obj= "<AccountName>" password= "<Password>"

注意:“obj =”和“password =”之后的空格是必需的!


这将设置此帐户登录属性,而不是本地系统帐户
Sunny Patel

1

我想你可以用:

sc config "Service Name" obj= LocalSystem

注意:您需要以管理员身份打开命令提示符。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.