Web フォルダー: Web ページとフォルダーを対にして管理する のレジストリ値 nofilefolderconnectionユーザーHKCU\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Explorer

ポリシー ID
L_WebFoldersManagingpairsofWebpagesandfolders
適用対象
ユーザーの構成
サポートされるバージョン
Windows Server 2008 R2、Windows 7 またはそれ以降
出典
Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
カテゴリ
Microsoft Office 2016 › その他

レジストリ

nofilefolderconnection

REG_DWORDユーザー
有効時の値
オプションの値に依存
要素
Web フォルダー: Web ページとフォルダーを対にして管理する
オプション
項目保存される値
1 つのファイルとして表示し、管理する0
両方とも表示するが、管理は別々に行う2
両方とも表示し、1 つのファイルとして管理する1
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\windows\currentversion\explorer]

; 選択項目 (1 つだけ使用)
; 1 つのファイルとして表示し、管理する
"nofilefolderconnection"=dword:00000000
; 両方とも表示するが、管理は別々に行う
"nofilefolderconnection"=dword:00000002
; 両方とも表示し、1 つのファイルとして管理する
"nofilefolderconnection"=dword:00000001
CMD
:: 選択項目 (1 つだけ使用)

:: 1 つのファイルとして表示し、管理する
reg add "HKCU\software\policies\microsoft\windows\currentversion\explorer" /v "nofilefolderconnection" /t REG_DWORD /d 0 /f
:: 両方とも表示するが、管理は別々に行う
reg add "HKCU\software\policies\microsoft\windows\currentversion\explorer" /v "nofilefolderconnection" /t REG_DWORD /d 2 /f
:: 両方とも表示し、1 つのファイルとして管理する
reg add "HKCU\software\policies\microsoft\windows\currentversion\explorer" /v "nofilefolderconnection" /t REG_DWORD /d 1 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\windows\currentversion\explorer' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 1 つのファイルとして表示し、管理する
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\windows\currentversion\explorer' -Name 'nofilefolderconnection' -PropertyType DWord -Value 0 -Force | Out-Null
# 両方とも表示するが、管理は別々に行う
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\windows\currentversion\explorer' -Name 'nofilefolderconnection' -PropertyType DWord -Value 2 -Force | Out-Null
# 両方とも表示し、1 つのファイルとして管理する
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\windows\currentversion\explorer' -Name 'nofilefolderconnection' -PropertyType DWord -Value 1 -Force | Out-Null