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

前端 未结 7 1330
梦谈多话
梦谈多话 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:18

    This is a long shot, but if you have the word "setup" or "install" in the name of the EXE, Windows will prompt for elevation when running it. I don't know if that'll work with a control panel applet, though.

提交回复
热议问题