en-US fslogix computer

Reattach Count

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

Description

When a VHD(x) volume is detached unexpectedly, the FSLogix system will attempt to re-attach the volume. This value specifies how many times to retry. The default value is 60 retries which is the same as "Not Configured". Registry Entry: HKLM\SOFTWARE\Policies\FSLogix\ODFC\ReAttachRetryCount Type: DWORD Values: Min = 0, Max = 600

Registry

HKLM Software\Policies\FSLogix\ODFC

More options available

Options

Reattach Count
ReAttachRetryCount decimal - range 0-600 - default: 60

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: Reattach Count
; State: Enabled
; Supported on: v2105 or later

[HKEY_LOCAL_MACHINE\Software\Policies\FSLogix\ODFC]
"ReAttachRetryCount"=dword:0000003c
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: Reattach Count
# 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 'ReAttachRetryCount' -Value 60 -Type DWord

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