VDI の構成 のレジストリ値 VdiState (WindowsSettings)コンピューターHKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings
- ポリシー ID
- ConfigureVdi
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Windows Server 2008 R2、Windows 7 またはそれ以降
- 出典
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (バージョン 1.0)
- カテゴリ
- Windows コンポーネント › Microsoft User Experience Virtualization
レジストリ
VdiState
REG_DWORDコンピューターユーザー…\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
- 有効時の値
- 1
- 無効時の値
- 0
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選択項目 (1 つだけ使用) ; 有効 "VdiState"=dword:00000001 ; 無効 "VdiState"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "VdiState" /t REG_DWORD /d 1 /f :: 無効 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "VdiState" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'VdiState' -PropertyType DWord -Value 1 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'VdiState' -PropertyType DWord -Value 0 -Force | Out-Null
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選択項目 (1 つだけ使用) ; 有効 "VdiState"=dword:00000001 ; 無効 "VdiState"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用) :: 有効 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "VdiState" /t REG_DWORD /d 1 /f :: 無効 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "VdiState" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選択項目 (1 つだけ使用) # 有効 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'VdiState' -PropertyType DWord -Value 1 -Force | Out-Null # 無効 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'VdiState' -PropertyType DWord -Value 0 -Force | Out-Null
VdiCollectionName
REG_EXPAND_SZコンピューターユーザー…\Software\Policies\Microsoft\UEV\Agent\ConfigurationHKLM\Software\Policies\Microsoft\UEV\Agent\Configuration
HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration
HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration
- 有効時の値
- オプションの値に依存
- 要素
- VDI コレクション名:
- 値の種類
- REG_EXPAND_SZ
- 必須
- true
- 展開可能な文字列 (REG_EXPAND_SZ)
- true
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration] ; 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください ; hex(2) と hex(7) のデータは 16 進数 (UTF-16LE) で記述する必要があります "VdiCollectionName"=hex(2):<値を入力>
CMD
:: 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration" /v "VdiCollectionName" /t REG_EXPAND_SZ /d "<値を入力>" /f
PowerShell
# 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください 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 '<値を入力>' -Force | Out-Null
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration] ; 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください ; hex(2) と hex(7) のデータは 16 進数 (UTF-16LE) で記述する必要があります "VdiCollectionName"=hex(2):<値を入力>
CMD
:: 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration" /v "VdiCollectionName" /t REG_EXPAND_SZ /d "<値を入力>" /f
PowerShell
# 値の名前と型は ADMX に従います。下の <値を入力> はご自身で入力してください 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 '<値を入力>' -Force | Out-Null