---
title: UserAccountControlPolicy type | Wartiva GraphQL API
description: Defines system-wide User Account Control (UAC) settings for privilege elevation and user consent behavior. Wartiva GraphQL API reference with examples.
url: https://wartiva.com/api-docs/types/user-account-control-policy.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `UserAccountControlPolicy` type

Defines system-wide User Account Control (UAC) settings for privilege elevation and user consent behavior.

## Fields

| Field Name | Description |
|---|---|
| `filterAdministratorToken` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Run the built-in Administrator account in Admin Approval Mode. |
| `consentPromptBehaviorAdmin` - [`ElevationPromptBehavior`](https://wartiva.com/api-docs/types/elevation-prompt-behavior.html) | Elevation prompt behavior for administrators. |
| `consentPromptBehaviorUser` - [`ElevationPromptBehavior`](https://wartiva.com/api-docs/types/elevation-prompt-behavior.html) | Elevation prompt behavior for standard users. |
| `enableInstallerDetection` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Enable detection of installation programs that require elevation. |
| `enableSecureUIAPaths` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Enable secure paths for UI automation to prevent spoofing. |
| `enableLUA` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Run all administrators in Admin Approval Mode (UAC). |
| `promptOnSecureDesktop` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Show elevation prompts on the secure desktop. |
| `enableVirtualization` - [`Boolean`](https://wartiva.com/api-docs/types/boolean.html) | Enable file and registry virtualization for legacy applications. |

## Used by

- [`LocalPoliciesWindows`](https://wartiva.com/api-docs/types/local-policies-windows.html) type: Windows-specific local security and system policies.

## Example

### Example

```json
{
  "filterAdministratorToken": false,
  "consentPromptBehaviorAdmin": "AUTOMATICALLY_DENY_ELEVATION_REQUESTS",
  "consentPromptBehaviorUser": "AUTOMATICALLY_DENY_ELEVATION_REQUESTS",
  "enableInstallerDetection": true,
  "enableSecureUIAPaths": false,
  "enableLUA": false,
  "promptOnSecureDesktop": false,
  "enableVirtualization": false
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
