印刷プレビューの固定設定 のレジストリ値 PrintStickySettingsユーザーHKCU\Software\Policies\Microsoft\Edge

ポリシー ID
PrintStickySettings
適用対象
コンピューターの構成、ユーザーの構成
サポートされるバージョン
Microsoft Edge バージョン 98、Windows 7 以降
出典
Microsoft Edge Policy Templates (バージョン 155.0.4283.45)
カテゴリ
Microsoft Edge › 印刷

レジストリ

PrintStickySettings

REG_DWORDユーザーコンピューター
…\Software\Policies\Microsoft\EdgeHKCU\Software\Policies\Microsoft\Edge 現在のキー
HKLM\Software\Policies\Microsoft\Edge
有効時の値
オプションの値に依存
要素
印刷プレビューの固定設定
オプション
項目保存される値
PDF と Web ページの固定設定を有効にする0
PDF と Web ページの固定設定を無効にする1
PDF の固定設定を無効にする2
Web ページの固定設定を無効にする3
.reg · CMD · PowerShell で適用する
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; 選択項目 (1 つだけ使用)
; PDF と Web ページの固定設定を有効にする
"PrintStickySettings"=dword:00000000
; PDF と Web ページの固定設定を無効にする
"PrintStickySettings"=dword:00000001
; PDF の固定設定を無効にする
"PrintStickySettings"=dword:00000002
; Web ページの固定設定を無効にする
"PrintStickySettings"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用)

:: PDF と Web ページの固定設定を有効にする
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "PrintStickySettings" /t REG_DWORD /d 0 /f
:: PDF と Web ページの固定設定を無効にする
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "PrintStickySettings" /t REG_DWORD /d 1 /f
:: PDF の固定設定を無効にする
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "PrintStickySettings" /t REG_DWORD /d 2 /f
:: Web ページの固定設定を無効にする
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "PrintStickySettings" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# PDF と Web ページの固定設定を有効にする
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'PrintStickySettings' -PropertyType DWord -Value 0 -Force | Out-Null
# PDF と Web ページの固定設定を無効にする
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'PrintStickySettings' -PropertyType DWord -Value 1 -Force | Out-Null
# PDF の固定設定を無効にする
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'PrintStickySettings' -PropertyType DWord -Value 2 -Force | Out-Null
# Web ページの固定設定を無効にする
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'PrintStickySettings' -PropertyType DWord -Value 3 -Force | Out-Null
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; 選択項目 (1 つだけ使用)
; PDF と Web ページの固定設定を有効にする
"PrintStickySettings"=dword:00000000
; PDF と Web ページの固定設定を無効にする
"PrintStickySettings"=dword:00000001
; PDF の固定設定を無効にする
"PrintStickySettings"=dword:00000002
; Web ページの固定設定を無効にする
"PrintStickySettings"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用)

:: PDF と Web ページの固定設定を有効にする
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "PrintStickySettings" /t REG_DWORD /d 0 /f
:: PDF と Web ページの固定設定を無効にする
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "PrintStickySettings" /t REG_DWORD /d 1 /f
:: PDF の固定設定を無効にする
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "PrintStickySettings" /t REG_DWORD /d 2 /f
:: Web ページの固定設定を無効にする
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "PrintStickySettings" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# PDF と Web ページの固定設定を有効にする
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'PrintStickySettings' -PropertyType DWord -Value 0 -Force | Out-Null
# PDF と Web ページの固定設定を無効にする
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'PrintStickySettings' -PropertyType DWord -Value 1 -Force | Out-Null
# PDF の固定設定を無効にする
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'PrintStickySettings' -PropertyType DWord -Value 2 -Force | Out-Null
# Web ページの固定設定を無効にする
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'PrintStickySettings' -PropertyType DWord -Value 3 -Force | Out-Null