System error 5 Access is denied when starting a .NET service

前端 未结 10 1822
离开以前
离开以前 2020-12-03 02:32

When I try to start a service I created in Visual Studio I receive the following error:

System error 5 has occurred.

Access is denied.

I a

10条回答
  •  甜味超标
    2020-12-03 02:45

    A user account with administrator rights will prompt “are you sure?” in situations where the administrator account is not prompted. I had this problem with net stop netprofm.

    To remove the prompt do this.

    Control Panel, User Accounts, Change User Account Control settings, never notify

    This seems to provide the user account with admin rights the same behavior as a the administrator account.

提交回复
热议问题