Value 的登錄值 Value (SmartWindow)使用者HKCU\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow

此語言沒有官方文字 (顯示英文原文)

原則 ID
SmartWindow_Value
適用範圍
電腦設定、使用者設定
支援的作業系統
Firefox 150 or later
來源
Mozilla Firefox Policy Templates (版本 8.3)
類別
Mozilla › Firefox › AI Controls › Smart Window

登錄

Value

REG_SZ使用者電腦
啟用時的值
取決於選項值
元素
-
選項
項目儲存的值
Availableavailable
Blockedblocked
以 .reg · CMD · PowerShell 套用
使用者各帳戶的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow]

; 選項 (只使用其中一個)
; Available
"Value"="available"
; Blocked
"Value"="blocked"
CMD
:: 選項 (只使用其中一個)

:: Available
reg add "HKCU\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow" /v "Value" /t REG_SZ /d "available" /f
:: Blocked
reg add "HKCU\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow" /v "Value" /t REG_SZ /d "blocked" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKCU:\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow' -Force | Out-Null

# 選項 (只使用其中一個)
# Available
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow' -Name 'Value' -PropertyType String -Value 'available' -Force | Out-Null
# Blocked
New-ItemProperty -Path 'HKCU:\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow' -Name 'Value' -PropertyType String -Value 'blocked' -Force | Out-Null
電腦整部電腦的設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow]

; 選項 (只使用其中一個)
; Available
"Value"="available"
; Blocked
"Value"="blocked"
CMD
:: 選項 (只使用其中一個)

:: Available
reg add "HKLM\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow" /v "Value" /t REG_SZ /d "available" /f
:: Blocked
reg add "HKLM\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow" /v "Value" /t REG_SZ /d "blocked" /f
PowerShell
# 共通: 建立機碼
New-Item -Path 'HKLM:\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow' -Force | Out-Null

# 選項 (只使用其中一個)
# Available
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow' -Name 'Value' -PropertyType String -Value 'available' -Force | Out-Null
# Blocked
New-ItemProperty -Path 'HKLM:\Software\Policies\Mozilla\Firefox\AIControls\SmartWindow' -Name 'Value' -PropertyType String -Value 'blocked' -Force | Out-Null