To an application to always run elevated 1. Right-click an application that is not likely to have been assigned an administrative token, such as a word processing application. 2. Click Properties, and then select the Compatibility tab. 3. Under Privilege Level, select Run this program as an administrator, and then click OK.
1.
Right-click an application that is not likely to have been assigned an administrative token, such as a word processing application.
2.
Click Properties, and then select the Compatibility tab.
3.
Under Privilege Level, select Run this program as an administrator, and then click OK.
我的目的,是要去除这个对话框
还有一个就是把你的程序加到信任程序里