开发者

How can i restrict the behavior of a Windows service?

开发者 https://www.devze.com 2022-12-15 01:59 出处:网络
How can i r开发者_StackOverflowestrict the behavior of a Windows service?Run the service under an appropriate account. The service is nothing special - just a program that can be started without anyon

How can i r开发者_StackOverflowestrict the behavior of a Windows service?


Run the service under an appropriate account. The service is nothing special - just a program that can be started without anyone logging in interactively. Its priviledges are only determined by the user account it is run under.

In service properties open the "Log On" tab and change the "Log on as:" radio button to "This account", then provide the username and password. The change will come into effect when you restart the service.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号