Policy
Verify old and new Folder Redirection targets point to the same share before redirecting
Windows 11 25H2
Policy overview
Key metadata and intent for this policy.
Supported OS tags: Windows10, Windows10RT, Windows11, Windows7, Windows8, Windows81, WindowsRT, WindowsRT81, WindowsServer2008, WindowsServer2012, WindowsServer2012R2, WindowsServer2016
This policy setting allows you to prevent data loss when you change the target location for Folder Redirection, and the new and old targets point to the same network share, but have different network paths. If you enable this policy setting, Folder Redirection creates a temporary file in the old location in order to verify that new and old locations point to the same network share. If both new and old locations point to the same share, the target path is updated and files are not copied or deleted. The temporary file is deleted. If you disable or do not configure this policy setting, Folder Redirection does not create a temporary file and functions as if both new and old locations point to different shares when their network paths are different. Note: If the paths point to different network shares, this policy setting is not required. If the paths point to the same network share, any data contained in the redirected folders is deleted if this policy setting is not enabled.
Registry values
How enabled and disabled states update the registry.
| Registry location | Type | Enabled value | Disabled value |
|---|---|---|---|
| HKLM\Software\Policies\Microsoft\Windows\Explorer\CheckSameSourceAndTargetForFRAndDFS | REG_DWORD | 1 | 0 |
Policy elements
Inputs and configuration options exposed by this policy.
This policy has no additional user input fields.
Other policies in this category
Explore related policies at the same level.
- UserAllow only per user or approved shell extensionsAt least Windows 2000
- ComputerAllow the use of remote paths in file shortcut iconsAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerConfigure Windows Defender SmartScreenAt least Windows Server 2012, Windows 8 or Windows RT
- ComputerDisable binding directly to IPropertySetStorage without intermediate layers.At least Windows Vista
- UserDisable binding directly to IPropertySetStorage without intermediate layers.At least Windows Vista
- UserDisable Known FoldersAt least Windows Server 2008 R2 or Windows 7
- UserDisplay confirmation dialog when deleting filesAt least Windows Server 2003 operating systems or Windows XP Professional
- UserDisplay the menu bar in File ExplorerAt least Windows Vista
- UserDo not allow Folder Options to be opened from the Options button on the View tab of the ribbonAt least Windows 2000
- ComputerDo not apply the Mark of the Web tag to files copied from insecure sourcesAt least Windows Server 2012, Windows 8 or Windows RT
- UserDo not display the Welcome Center at user logonWindows Vista only
- UserDo not move deleted files to the Recycle BinAt least Windows Server 2003 operating systems or Windows XP Professional