en-US fslogix computer

VHD Name Match

Verified with Microsoft FSLogix — updated on July 12, 2026

Supported on: v2105 or later

Path in the GPO console

Computer Configuration\Administrative Templates\FS Logix\ODFC Containers\Container and Directory Naming

Description

Specifies a string pattern used when matching a users ODFC container. Use this setting to define how FSLogix will attempt to locate a users ODFC container (VHD(x) file). FSLogix will use the VHDLocations or CCDLocations as the location where to search and this setting defines what to search. NOTE: When using this configuration setting, be sure the VHDNamePattern value matches this setting. Registry Entry: HKLM\SOFTWARE\Policies\FSLogix\ODFC\VHDNameMatch Type: REG_SZ

Registry

HKLM Software\Policies\FSLogix\ODFC

More options available

Options

VHD Name Match
VHDNameMatch text

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: VHD Name Match
; State: Enabled
; Supported on: v2105 or later

[HKEY_LOCAL_MACHINE\Software\Policies\FSLogix\ODFC]
"VHDNameMatch"=""
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: VHD Name Match
# State: Enabled
# Supported on: v2105 or later

$path = 'HKLM:\Software\Policies\FSLogix\ODFC'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'VHDNameMatch' -Value '' -Type String

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview