Disabling UAC programmatically

后端 未结 8 839
情话喂你
情话喂你 2020-11-30 07:07

Is it possible to programmatically disable UAC in Vista? Or, can I make my application run unrestricted by the UAC setting in any way? FYI, the application needs to mount ha

8条回答
  •  -上瘾入骨i
    2020-11-30 07:27

    I posted a somewhat granular (but ugly) solution here

    http://stackoverflow.com/questions/5344021/bypass-uac-in-vbscript/34445992#34445992
    

    It only works if you can kick off the application from the task scheduler. I have it running on two Windows 7 laptops. It is an administrative solution. You need administrator privilege to implement it. I use it for powershell and for my UPS power backup application. I suspect I'll find other uses.

提交回复
热议问题