en-US fslogix computer

SID Directory Name Pattern

Verified with Microsoft FSLogix — updated on July 12, 2026 Supported on: v2105 or later

Microsoft FSLogix

Path in the GPO console

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

Registry

HKLM Software\Policies\FSLogix\ODFC

Options

SID Directory Name Pattern
SIDDirNamePattern text

Description

Specifies a string pattern used when creating a Profile or ODFC container folder. Use this setting to define how FSLogix will attempt to create a users Profile or ODFC container folder. FSLogix will use the VHDLocations or CCDLocations as the location where to create and this setting defines what to create. NOTE: When using this configuration setting, be sure the SIDDIRNameMatch value matches this setting. - This setting has NO EFFECT when FlipFlopProfileDirectoryName is enabled. - This setting has NO EFFECT when NoProfileContainingFolder is enabled. - NoProfileContainingFolder > FlipFlopProfileDirectoryName > SIDDirNamePattern (this setting) Registry Entry: HKLM\SOFTWARE\Policies\FSLogix\ODFC\SIDDirNamePattern Type: REG_SZ

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: SID Directory Name Pattern
; State: Enabled
; Supported on: v2105 or later

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

PowerShell

# Exported from gporais.com
# Policy: SID Directory Name Pattern
# 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 'SIDDirNamePattern' -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