VDI Configuration: registry value VdiCollectionName (Configuration)UserHKCU\Software\Policies\Microsoft\UEV\Agent\Configuration
- Policy ID
- ConfigureVdi
- Scope
- Computer Configuration, User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Microsoft User Experience Virtualization
Registry
VdiState
REG_DWORDComputerUser…\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettingsHKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings
HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings
HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings
- Enabled value
- 1
- Disabled value
- 0
Apply with .reg · CMD · PowerShell
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; Options (use only one) ; Enabled "VdiState"=dword:00000001 ; Disabled "VdiState"=dword:00000000
CMD
:: Options (use only one) :: Enabled reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "VdiState" /t REG_DWORD /d 1 /f :: Disabled reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "VdiState" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'VdiState' -PropertyType DWord -Value 1 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'VdiState' -PropertyType DWord -Value 0 -Force | Out-Null
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; Options (use only one) ; Enabled "VdiState"=dword:00000001 ; Disabled "VdiState"=dword:00000000
CMD
:: Options (use only one) :: Enabled reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "VdiState" /t REG_DWORD /d 1 /f :: Disabled reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "VdiState" /t REG_DWORD /d 0 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'VdiState' -PropertyType DWord -Value 1 -Force | Out-Null # Disabled New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'VdiState' -PropertyType DWord -Value 0 -Force | Out-Null
VdiCollectionName
REG_EXPAND_SZUserComputer…\Software\Policies\Microsoft\UEV\Agent\ConfigurationHKCU\Software\Policies\Microsoft\UEV\Agent\Configuration Current key
HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration
HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration
- Enabled value
- Depends on the option value
- Element
- VDI Collection Name:
- Value type
- REG_EXPAND_SZ
- Required
- true
- Expandable string (REG_EXPAND_SZ)
- true
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration] ; Value names and types follow the ADMX. Replace <enter value> below with your own data ; hex(2) and hex(7) data must be written as hexadecimal (UTF-16LE) "VdiCollectionName"=hex(2):<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration" /v "VdiCollectionName" /t REG_EXPAND_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration' -Force | Out-Null New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration' -Name 'VdiCollectionName' -PropertyType ExpandString -Value '<enter value>' -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration] ; Value names and types follow the ADMX. Replace <enter value> below with your own data ; hex(2) and hex(7) data must be written as hexadecimal (UTF-16LE) "VdiCollectionName"=hex(2):<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration" /v "VdiCollectionName" /t REG_EXPAND_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration' -Name 'VdiCollectionName' -PropertyType ExpandString -Value '<enter value>' -Force | Out-Null