How do I 'run as' 'Network Service'?

前端 未结 5 1248
悲哀的现实
悲哀的现实 2020-12-04 07:47

I am trying to run a process as another account. I have the command:

runas \"/user:WIN-CLR8YU96CL5\\network service\" \"abwsx1.exe\"

but th

5条回答
  •  无人及你
    2020-12-04 08:14

    In Task Scheduler, create a task to run the application under the NETWORK SERVICE user. You can then run the task from the command line using

    schtasks /run /TN "taskname"
    

    Where taskname is the name of your task.

提交回复
热议问题