Open in the explorer

Do not check for user ownership of Roaming Profile Folders

Ne pas vérifier les utilisateurs propriétaires des dossiers Profils itinérants

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › System › User Profiles FR: Configuration ordinateur › Stratégies › Modèles d'administration › Système › Profils utilisateur
Supported on
At least Windows Server 2003 operating systems, Windows XP Professional Service Pack 1, or Windows 2000 Service Pack 4 FR: Au minimum Windows Server 2003, Windows XP Professionnel Service Pack 1 ou Windows 2000 Service Pack 4
ADMX file
UserProfiles.admx
Internal name
UserProfiles/CompatibleRUPSecurity

Explanation

This policy setting disables the more secure default setting for the user's roaming user profile folder.

After an administrator has configured a user's roaming profile, the profile will be created at the user's next login. The profile is created at the location that is specified by the administrator.

For Windows 2000 Professional pre-SP4 and Windows XP pre-SP1 operating systems, the default file permissions for the newly generated profile are full control access for the user and no file access for the administrators group. No checks are made for the correct permissions if the profile folder already exists. For Windows Server 2003 family, Windows 2000 Professional SP4 and Windows XP SP1, the default behavior is to check the folder for the correct permissions if the profile folder already exists, and not copy files to or from the roaming folder if the permissions are not correct.

By configuring this policy setting, you can alter this behavior.

If you enable this policy setting Windows will not check the permissions for the folder in the case where the folder exists.

If you disable or do not configure this policy setting AND the roaming profile folder exists AND the user or administrators group are not the owner of the folder, Windows will not copy files to or from the roaming folder. The user will be shown an error message and an entry will be written to the event log. The user's cached profile will be used, or a temporary profile issued if no cached profile exists.

Note: The policy setting must be configured on the client computer not the server for it to have any effect because the client computer sets the file share permissions for the roaming profile at creation time.

Note: The behavior when this policy setting is enabled is exactly the same behavior as in Windows 2000 Professional pre-SP4 and Windows XP Professional.

French text from Windows 11 26H2

Ce paramètre de stratégie désactive le paramètre par défaut plus sécurisé pour le dossier de profil itinérant de l’utilisateur.

Après qu’un administrateur a configuré un profil itinérant pour un utilisateur, ce profil est créé lors de l’ouverture de session suivante de l’utilisateur. Le profil est créé à l’emplacement spécifié par l’administrateur.

Pour les systèmes d’exploitation Windows 2000 Professionnel antérieurs à SP4 et Windows XP Professionnel antérieurs à SP1, les autorisations de fichiers par défaut pour les profils nouvellement générés sont l’accès en contrôle total pour l’utilisateur, et pas d’accès aux fichiers pour le groupe Administrateurs. Aucune vérification des autorisations n’est effectuée si le dossier de profil existe déjà. Pour la famille Windows Server 2003, Windows 2000 Professionnel SP4 et Windows XP SP1, le comportement par défaut est de vérifier que les autorisations du dossier sont correctes si le dossier de profil existe déjà, et de ne pas copier de fichiers vers et à partir du dossier des profils itinérants si les autorisations ne sont pas correctes.

En configurant ce paramètre de stratégie, vous pouvez modifier ce comportement.

Si vous activez ce paramètre de stratégie, Windows ne vérifie pas les autorisations du dossier dans le cas où le dossier existe déjà.

Si vous désactivez ce paramètre de stratégie ou ne le configurez pas ET si le dossier de profil itinérant existe ET si l’utilisateur ou le groupe d’administrateurs n’est pas propriétaire du dossier, Windows ne copie pas les fichiers depuis ou vers le dossier de profil itinérant. Un message d’erreur s’affiche à l’intention de l’utilisateur et une entrée est écrite dans le journal des événements. Le profil mis en cache de l’utilisateur est utilisé ou, à défaut, un profil temporaire est créé.

Remarque : pour être pris en compte, le paramètre de stratégie doit être configuré sur l’ordinateur client et non sur le serveur, car c’est le client qui définit les autorisations de partage de fichiers pour le profil itinérant au moment de sa création.

Remarque : lorsque ce paramètre de stratégie est activé, le comportement est exactement identique au comportement dans Windows 2000 Professionnel antérieur à SP4 et dans Windows XP Professionnel.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System
Value name
CompatibleRUPSecurity
StateValue written
Enablednot defined in the ADMX
Disablednot defined in the ADMX

PowerShell

PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.

The ADMX does not specify the value written when enabled; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled). The commands below use 1/0 as an assumption.

Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.

Enable

# Enable: UserProfiles/CompatibleRUPSecurity
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'CompatibleRUPSecurity' -Value 1 -Type DWord  # assumed value (not defined in the ADMX)

Disable

# Disable: UserProfiles/CompatibleRUPSecurity
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# The ADMX does not specify the value written; the GPO editor usually writes REG_DWORD 1 (enabled) / 0 (disabled)
Set-ItemProperty -Path $k -Name 'CompatibleRUPSecurity' -Value 0 -Type DWord  # assumed value (not defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": UserProfiles/CompatibleRUPSecurity
$k = 'HKLM:\Software\Policies\Microsoft\Windows\System'
Remove-ItemProperty -Path $k -Name 'CompatibleRUPSecurity' -ErrorAction SilentlyContinue

Availability