You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -11,52 +11,48 @@ Specifies whether User Account Control (UAC) information is embedded in the prog
11
11
12
12
## Syntax
13
13
14
-
```
15
-
/MANIFESTUAC
16
-
/MANIFESTUAC:NO
17
-
/MANIFESTUAC:fragment
18
-
/MANIFESTUAC:level=_level
19
-
/MANIFESTUAC:uiAccess=_uiAccess
20
-
```
14
+
> **`/MANIFESTUAC`**\
15
+
> **`/MANIFESTUAC:NO`**\
16
+
> **`/MANIFESTUAC:`**_`level`_\
17
+
> **`/MANIFESTUAC:`**_`uiAccess`_\
18
+
> **`/MANIFESTUAC:`**_`fragment`_
21
19
22
20
### Parameters
23
21
24
-
*fragment*<br/>
25
-
A string that contains the `level` and `uiAccess` values. For more information, see the Remarks section later in this topic.
22
+
*`level`*<br/>
23
+
**`level=`** followed by one of **`'asInvoker'`**, **`'highestAvailable'`**, or **`'requireAdministrator'`**. Defaults to **`'asInvoker'`**. For more information, see the [Remarks](#remarks) section.
26
24
27
-
*_level*<br/>
28
-
One of *asInvoker*, *highestAvailable*, or *requireAdministrator*. Defaults to asInvoker. For more information, see the Remarks section later in this topic.
25
+
*`uiAccess`*<br/>
26
+
**`uiAccess='true'`** if you want the application to bypass user interface protection levels and drive input to higher-permission windows on the desktop; otherwise, **`uiAccess='false'`**. Defaults to **`uiAccess='false'`**. Set this argument to **true** only for user interface accessibility applications.
29
27
30
-
*_uiAccess*<br/>
31
-
**true** if you want the application to bypass user interface protection levels and drive input to higher-permission windows on the desktop; otherwise, **false**. Defaults to **false**. Set to **true** only for user interface accessibility applications.
28
+
*`fragment`*<br/>
29
+
A string that contains the *`level`*and *`uiAccess`* values. May optionally be enclosed in double quotes. For more information, see the [Remarks](#remarks) section.
32
30
33
31
## Remarks
34
32
35
-
If you specify multiple /MANIFESTUAC options on the command-line, the last one entered takes precedence.
33
+
If you specify multiple **`/MANIFESTUAC`** options on the command-line, the last one entered takes precedence.
36
34
37
-
The choices for /MANIFESTUAC:level are as follows:
35
+
The choices for **`/MANIFESTUAC:`**_`level`_ are as follows:
38
36
39
-
-`asInvoker`: The application will run with the same permissions as the process that started it. The application can be elevated to a higher permission level by selecting **Run as Administrator**.
37
+
-**`level='asInvoker'`**: The application runs at the same permission level as the process that started it. You can elevate the application to a higher permission level by selecting **Run as Administrator**.
40
38
41
-
- highestAvailable: The application will run with the highest permission level that it can. If the user who starts the application is a member of the Administrators group, this option is the same as requireAdministrator. If the highest available permission level is higher than the level of the opening process, the system will prompt for credentials.
39
+
-**`level='highestAvailable'`**: The application runs at the highest permission level that it can. If the user who starts the application is a member of the Administrators group, this option is the same as **`level='requireAdministrator'`**. If the highest available permission level is higher than the level of the opening process, the system prompts for credentials.
42
40
43
-
- requireAdministrator: The application will run with administrator permissions. The user who starts the application must be a member of the Administrators group. If the opening process is not running with administrative permissions, the system will prompt for credentials.
41
+
-**`level='requireAdministrator'`**: The application runs using administrator permissions. The user who starts the application must be a member of the Administrators group. If the opening process isn't running with administrative permissions, the system prompts for credentials.
44
42
45
-
You can specify the level and uiAccess values in one step by using the /MANIFESTUAC:fragment option. The fragment must be in the following form:
43
+
You can specify both the *`level`* and *`uiAccess`* values in one step by using the **`/MANIFESTUAC:`**_`fragment`_ option. The fragment must be in the following form:
### To set this linker option in the Visual Studio development environment
47
+
For example:
52
48
53
-
1. Open the project's **Property Pages** dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
### To set this linker option in the Visual Studio development environment
56
52
57
-
1.Expand the **Linker**node.
53
+
1.Open the project's **Property Pages**dialog box. For details, see [Set C++ compiler and build properties in Visual Studio](../working-with-project-properties.md).
0 commit comments