MSDeploy RunCommand Priviliges

后端 未结 1 568
-上瘾入骨i
-上瘾入骨i 2020-12-23 21:45

I am trying to use the -presync:runCommand option in MSDeploy and no matter what I try to run, I get the same error back:

Error: A required privilege

相关标签:
1条回答
  • 2020-12-23 22:34

    I found the answer, and it turns out I had already halfway completed it. In the link I provided in my question, they mention how to add privileges to the WMSvc account, like so:

    sc privs wmsvc SeChangeNotifyPrivilege/SeImpersonatePrivilege/SeAssignPrimaryTokenPrivilege/SeIncreaseQuotaPrivilege
    

    What it failed to mention is that you must restart WMSvc for this to take affect.

    0 讨论(0)
提交回复
热议问题