How to set “Run this program as an administrator” programmatically

前端 未结 7 1314
梦谈多话
梦谈多话 2020-11-29 21:59

I\'m having a problem with good ol\' bdeadmin.exe in Vista. First, let\'s get the predictable responses out of the way:

\"You should not require your application to

7条回答
  •  隐瞒了意图╮
    2020-11-29 22:20

    I'd be surprised if this was possible. It would be an ideal way for malicious code to abuse the system. You're probably going to have tell the user the administrator must install or they must have admin rights (like all the other programs on windows do).

提交回复
热议问题