Web Folders: Managing pairs of Web pages and folders: registry value nofilefolderconnectionUserHKCU\SOFTWARE\Policies\Microsoft\Windows\CurrentVersion\Explorer

Policy ID
L_WebFoldersManagingpairsofWebpagesandfolders
Scope
User Configuration
Supported on
At least Windows Server 2008 R2 or Windows 7
Source
Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
Category
Microsoft Office 2016 › Miscellaneous

Registry

nofilefolderconnection

REG_DWORDUser
Enabled value
Depends on the option value
Element
Web Folders: Managing pairs of Web pages and folders
Options
ItemStored value
Show and manage the pair as a single file0
Show both parts and manage them individually2
Show both parts but manage as a single file1
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Options (use only one)
; Show and manage the pair as a single file
"nofilefolderconnection"=dword:00000000
; Show both parts and manage them individually
"nofilefolderconnection"=dword:00000002
; Show both parts but manage as a single file
"nofilefolderconnection"=dword:00000001
CMD
:: Options (use only one)

:: Show and manage the pair as a single file
reg add "HKCU\software\policies\microsoft\windows\currentversion\explorer" /v "nofilefolderconnection" /t REG_DWORD /d 0 /f
:: Show both parts and manage them individually
reg add "HKCU\software\policies\microsoft\windows\currentversion\explorer" /v "nofilefolderconnection" /t REG_DWORD /d 2 /f
:: Show both parts but manage as a single file
reg add "HKCU\software\policies\microsoft\windows\currentversion\explorer" /v "nofilefolderconnection" /t REG_DWORD /d 1 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\software\policies\microsoft\windows\currentversion\explorer' -Force | Out-Null

# Options (use only one)
# Show and manage the pair as a single file
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\windows\currentversion\explorer' -Name 'nofilefolderconnection' -PropertyType DWord -Value 0 -Force | Out-Null
# Show both parts and manage them individually
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\windows\currentversion\explorer' -Name 'nofilefolderconnection' -PropertyType DWord -Value 2 -Force | Out-Null
# Show both parts but manage as a single file
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\windows\currentversion\explorer' -Name 'nofilefolderconnection' -PropertyType DWord -Value 1 -Force | Out-Null