Interactive command prompt as NETWORK SERVICE

邮差的信 提交于 2019-11-29 12:00:43

问题


How do I open an interactive application, such as cmd.exe or Windows Explorer, running as NETWORK SERVICE? There are ways to do it for the SYSTEM account, but NETWORK SERVICE is proving to be a challenge. I need this to work on Windows 7, but would be interested in solutions for other Windows versions as well.


回答1:


Have you tried PsExec, a couple of interesting links with more information:

  • http://technet.microsoft.com/en-us/sysinternals/bb897553.aspx
  • https://social.technet.microsoft.com/Forums/en-US/381df759-af7f-4523-a2fd-b17e8c68db9e/how-to-start-cmdexe-as-network-service?forum=pstools



回答2:


Here is how you would use PsExec to run cmd.exe under "NETWORK SERVICE" user context:

psexec -i -u "nt authority\network service" cmd.exe 


来源:https://stackoverflow.com/questions/4151184/interactive-command-prompt-as-network-service

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!