Permitir los subárboles del Registro de perfiles de usuario y AppData desde rutas no estándar: valor del Registro AllowNonStandardUserProfilePathsEquipoHKLM\Software\Policies\Microsoft\Windows\System

Id. de directiva
AllowNonStandardUserProfilePaths
Ámbito
Configuración del equipo
Compatible con
Al menos Windows Server 2019, Windows 10 versión 2004
Origen
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
Categoría
Sistema › Perfiles de usuario

Registro

AllowNonStandardUserProfilePaths

REG_DWORDEquipo
Valor al habilitar
1
Valor al deshabilitar
0
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

; Opciones (usar solo una)
; Habilitada
"AllowNonStandardUserProfilePaths"=dword:00000001
; Deshabilitada
"AllowNonStandardUserProfilePaths"=dword:00000000
CMD
:: Opciones (usar solo una)

:: Habilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "AllowNonStandardUserProfilePaths" /t REG_DWORD /d 1 /f
:: Deshabilitada
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "AllowNonStandardUserProfilePaths" /t REG_DWORD /d 0 /f
PowerShell
# Común: crear la clave
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# Opciones (usar solo una)
# Habilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'AllowNonStandardUserProfilePaths' -PropertyType DWord -Value 1 -Force | Out-Null
# Deshabilitada
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'AllowNonStandardUserProfilePaths' -PropertyType DWord -Value 0 -Force | Out-Null