書き込みのためのファイル システム API の使用を制御します のレジストリ値 DefaultFileSystemWriteGuardSettingコンピューターHKLM\Software\Policies\Microsoft\Edge
- ポリシー ID
- DefaultFileSystemWriteGuardSetting
- 適用対象
- コンピューターの構成、ユーザーの構成
- サポートされるバージョン
- Microsoft Edge バージョン 86、Windows 7 以降
- 出典
- Microsoft Edge Policy Templates (バージョン 155.0.4283.45)
- カテゴリ
- Microsoft Edge › コンテンツの設定
レジストリ
DefaultFileSystemWriteGuardSetting
REG_DWORDコンピューターユーザー…\Software\Policies\Microsoft\EdgeHKLM\Software\Policies\Microsoft\Edge 現在のキー
HKCU\Software\Policies\Microsoft\Edge
HKCU\Software\Policies\Microsoft\Edge
- 有効時の値
- オプションの値に依存
- 要素
- 書き込みのためのファイル システム API の使用を制御します
| 項目 | 保存される値 |
|---|---|
| ファイルとディレクトリへの書き込みアクセス権の要求をサイトに許可しない | 2 |
| サイトがファイルとディレクトリへの書き込みアクセス権を付与するようユーザーに依頼することを許可する | 3 |
.reg · CMD · PowerShell で適用する
コンピューターコンピューター全体の設定
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; ファイルとディレクトリへの書き込みアクセス権の要求をサイトに許可しない "DefaultFileSystemWriteGuardSetting"=dword:00000002 ; サイトがファイルとディレクトリへの書き込みアクセス権を付与するようユーザーに依頼することを許可する "DefaultFileSystemWriteGuardSetting"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用) :: ファイルとディレクトリへの書き込みアクセス権の要求をサイトに許可しない reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultFileSystemWriteGuardSetting" /t REG_DWORD /d 2 /f :: サイトがファイルとディレクトリへの書き込みアクセス権を付与するようユーザーに依頼することを許可する reg add "HKLM\Software\Policies\Microsoft\Edge" /v "DefaultFileSystemWriteGuardSetting" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # ファイルとディレクトリへの書き込みアクセス権の要求をサイトに許可しない New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultFileSystemWriteGuardSetting' -PropertyType DWord -Value 2 -Force | Out-Null # サイトがファイルとディレクトリへの書き込みアクセス権を付与するようユーザーに依頼することを許可する New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'DefaultFileSystemWriteGuardSetting' -PropertyType DWord -Value 3 -Force | Out-Null
ユーザーアカウントごとの設定
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge] ; 選択項目 (1 つだけ使用) ; ファイルとディレクトリへの書き込みアクセス権の要求をサイトに許可しない "DefaultFileSystemWriteGuardSetting"=dword:00000002 ; サイトがファイルとディレクトリへの書き込みアクセス権を付与するようユーザーに依頼することを許可する "DefaultFileSystemWriteGuardSetting"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用) :: ファイルとディレクトリへの書き込みアクセス権の要求をサイトに許可しない reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultFileSystemWriteGuardSetting" /t REG_DWORD /d 2 /f :: サイトがファイルとディレクトリへの書き込みアクセス権を付与するようユーザーに依頼することを許可する reg add "HKCU\Software\Policies\Microsoft\Edge" /v "DefaultFileSystemWriteGuardSetting" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成 New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null # 選択項目 (1 つだけ使用) # ファイルとディレクトリへの書き込みアクセス権の要求をサイトに許可しない New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultFileSystemWriteGuardSetting' -PropertyType DWord -Value 2 -Force | Out-Null # サイトがファイルとディレクトリへの書き込みアクセス権を付与するようユーザーに依頼することを許可する New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'DefaultFileSystemWriteGuardSetting' -PropertyType DWord -Value 3 -Force | Out-Null