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

Mat*_*rry 5 windows windows-7 services batch windows-services

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

小智 2

使用多功能 SC 命令:

sc config "<ServiceName>" obj= "<AccountName>" password= "<Password>"
Run Code Online (Sandbox Code Playgroud)

注意:“obj=”和“password=”后面必须有空格!