In Windows VistaProgramYou need to select a program and press Ctrl + Shift + enter to raise the permission. How can you right-click the Vista menu and add or delete "Run as administrator" directly? In addition to the RunAs command, the method provided by Vista is to directly associate exefile with the open method.
Open the Registry Editor, locate the hkey_classes_root/exefile/Shell branch, create a RunAs item, and create a command item under the RunAs item, set the default key value on the right to "% 1" % * and create a new REG_SZ string named isolatedcommand. The value is still "% 1" % * (note: the half-width single quotation marks in the middle cannot be less ), method 1:
Figure 1
Right-click the added Vista menu. Figure 2 right-click the Vista menu marked with 1 without "Run as administrator", and marked with 2, as shown in Figure 2:
Figure 2
We just set the exefile file type. Similarly, we can set other types of executable file permissions, such as COM and SCR.
ArticleCopyright from http://vista.zol.com.cn owned by original author