同步 Windows 設定 的登錄值 DesktopSettings 等 4 個電腦HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings
- 原則 ID
- DisableWindowsOSSettings
- 適用範圍
- 電腦設定、使用者設定
- 支援的作業系統
- 至少需要 Windows Server 2008 R2 或 Windows 7
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- Windows 元件 › Microsoft 使用者體驗虛擬化
登錄
DesktopSettings
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_DWORD
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "DesktopSettings"=dword:00000001 ; 未核取 "DesktopSettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "DesktopSettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "DesktopSettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'DesktopSettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'DesktopSettings' -PropertyType DWord -Value 0 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "DesktopSettings"=dword:00000001 ; 未核取 "DesktopSettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "DesktopSettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "DesktopSettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'DesktopSettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'DesktopSettings' -PropertyType DWord -Value 0 -Force | Out-Null
EaseOfAccessSettings
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_DWORD
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "EaseOfAccessSettings"=dword:00000001 ; 未核取 "EaseOfAccessSettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "EaseOfAccessSettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "EaseOfAccessSettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'EaseOfAccessSettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'EaseOfAccessSettings' -PropertyType DWord -Value 0 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "EaseOfAccessSettings"=dword:00000001 ; 未核取 "EaseOfAccessSettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "EaseOfAccessSettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "EaseOfAccessSettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'EaseOfAccessSettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'EaseOfAccessSettings' -PropertyType DWord -Value 0 -Force | Out-Null
ThemeSettings
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_DWORD
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "ThemeSettings"=dword:00000001 ; 未核取 "ThemeSettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "ThemeSettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "ThemeSettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'ThemeSettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'ThemeSettings' -PropertyType DWord -Value 0 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "ThemeSettings"=dword:00000001 ; 未核取 "ThemeSettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "ThemeSettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "ThemeSettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'ThemeSettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'ThemeSettings' -PropertyType DWord -Value 0 -Force | Out-Null
RoamingCredentialSettings
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_DWORD
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "RoamingCredentialSettings"=dword:00000001 ; 未核取 "RoamingCredentialSettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "RoamingCredentialSettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "RoamingCredentialSettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'RoamingCredentialSettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'RoamingCredentialSettings' -PropertyType DWord -Value 0 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "RoamingCredentialSettings"=dword:00000001 ; 未核取 "RoamingCredentialSettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "RoamingCredentialSettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "RoamingCredentialSettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'RoamingCredentialSettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'RoamingCredentialSettings' -PropertyType DWord -Value 0 -Force | Out-Null
NetworkPrinters
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_DWORD
以 .reg · CMD · PowerShell 套用
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "NetworkPrinters"=dword:00000001 ; 未核取 "NetworkPrinters"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "NetworkPrinters" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "NetworkPrinters" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'NetworkPrinters' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'NetworkPrinters' -PropertyType DWord -Value 0 -Force | Out-Null
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings] ; 選項 (只使用其中一個) ; 已核取 "NetworkPrinters"=dword:00000001 ; 未核取 "NetworkPrinters"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "NetworkPrinters" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings" /v "NetworkPrinters" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'NetworkPrinters' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\UEV\Agent\Configuration\WindowsSettings' -Name 'NetworkPrinters' -PropertyType DWord -Value 0 -Force | Out-Null