Domain Default Profile Configuration

When a user signs in to a computer for the first time, Windows does not open an empty profile for them. It creates the new profile by copying a template. By default, this template is the client's own C:\Users\Default folder. The domain default profile is the same template placed in the Netlogon share on the domain controllers. If such a profile exists in Netlogon, every user who signs in for the first time to a computer in the domain starts from this shared profile instead of the local template.

In this article, I copy a default profile prepared for the organisation to the Netlogon share and test it with a new user. For the preparation of the profile, I describe the Sysprep method that Microsoft supports and the method that I use in a lab environment separately. Roaming profile and mandatory profile configurations are out of scope.

The name of the profile folder in Netlogon depends on the Windows version of the client. Windows 10 version 1607 and later, Windows 11, and Windows Server 2016 and later use the Default User.V6 folder. If the environment has roaming profiles, the suffix of the profile folders that the clients create on the server shows the same value. If there are clients on different versions, a separate folder is prepared for each version.

Domain Default Profile

1- How Does the Domain Default Profile Work?

If a user has no profile on that computer, the User Profile Service looks for the template in this order when it creates the new profile:

1. \\{Domain}\NETLOGON\Default User.V6   (Domain Default Profile, if present)
2. C:\Users\Default                      (local default profile, if not in Netlogon)

The domain default profile affects only users who have no profile on that computer. The existing profiles of users who have signed in before do not change. It does not apply to users who use a mandatory profile. A user who has a roaming profile defined but no profile folder on the server yet starts from this template at the first sign-in, and the resulting profile is uploaded to the server.

The Netlogon share is the scripts folder inside SYSVOL, and SYSVOL replication copies it to all domain controllers. For this reason, the user receives the same profile regardless of which domain controller authenticates them. For the same reason, the profile size must be kept small, because every megabyte here replicates to all domain controllers.

In Netlogon, Windows looks only for the folder that ends with the suffix matching its own version:

Client Folder Name in Netlogon
Windows Vista, Windows 7, Windows Server 2008 and 2008 R2 Default User.V2
Windows 8, Windows Server 2012 Default User.V3
Windows 8.1, Windows Server 2012 R2 Default User.V4
Windows 10 version 1507 and 1511 Default User.V5
Windows 10 version 1607 and later, Windows 11, Windows Server 2016 and later Default User.V6

There is no fallback between versions. A Windows 11 client does not read the Default User.V5 folder, it looks only for the Default User.V6 folder.

2- Preliminary Checks

Before I start, I verify these items:

Check Expected State
Reference computer A computer or VM that is used to prepare the profile and is not used in production
Client version The reference computer runs the same Windows version as the clients that will use the profile
Permissions An account with write permission on the target folder in Netlogon. With the default permissions, this is an account that is a member of Domain Admins. The permission can also be delegated
SYSVOL replication Error-free between the domain controllers
A profile placed in Netlogon affects every user who signs in for the first time on any computer in the domain. I verify the profile in a test environment first.

3- Preparing the Reference Profile

Supported Method: CopyProfile with Sysprep

In the method that Microsoft supports, the profile is prepared in audit mode with the local Administrator account of the reference computer. When Windows Setup reaches the OOBE screen, I switch to audit mode with Ctrl+Shift+F3. In this mode, the sign-in uses the local Administrator account, and I make customisations such as the desktop and application settings in this account.

When the customisation is complete, I run Sysprep with an unattend file that contains the CopyProfile setting. Sysprep copies the Administrator profile to the C:\Users\Default folder and corrects the user-specific paths inside the profile. The relevant part of the unattend file is as follows:



  
    
      true
    
  

I save the file and run Sysprep in a Command Prompt opened as administrator. I replace {File Path} with the full path of the unattend file.

C:\Windows\System32\Sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:{File Path}

When the computer starts again and setup completes, the C:\Users\Default folder contains the customised profile. I then go directly to the steps for copying to Netlogon in section 4.

For settings such as the Start menu layout and default app associations in Windows 10 and later, Microsoft recommends deployment with Group Policy or Intune instead of copying a profile.

Lab Method: Renaming the User Profile to Default

The steps below show the shorter method that I use in a lab environment. I prepare a profile with a domain user, and then I rename the folder of this profile to Default. The Copy To button is active only for the default profile, so this rename is done to make it possible to copy the profile to Netlogon.

Microsoft does not support this method. Paths that belong to the user who prepared the profile remain in the registry of the profile, so new users can experience problems with the Start menu and apps. In production, I use the Sysprep method.

1- In Active Directory, I create a user account that I will use to prepare the profile. In this example, the account name is DefDomain.

Domain Default Profile

2- I sign in with the DefDomain account on the domain-joined reference client.

Domain Default Profile

Domain Default Profile

3- The desktop that I see at the first sign-in was created from the client's local C:\Users\Default profile. There is no domain default profile in Netlogon yet.

Domain Default Profile

4- In this session, I configure the desktop and application settings that I want for the organisation. The settings written to the registry are stored in the NTUSER.DAT file in the profile folder. This file is the registry hive that is loaded as the user's HKEY_CURRENT_USER key at sign-in.

Domain Default Profile

5- When the customisation is complete, I sign out. The settings are written to the NTUSER.DAT file at sign-out.

Domain Default Profile

6- I sign in with the Administrator account on the same client.

Domain Default Profile

Domain Default Profile

7- In the C:\Users folder, I rename the Default folder to Default1.

Domain Default Profile

Domain Default Profile

8- I rename the DefDomain profile folder to Default. As a result, the profile that I prepared becomes the default profile, for which the Copy To button is active.

Domain Default Profile

Domain Default Profile

Domain Default Profile

Checkpoint
In the C:\Users folder, the Default folder must contain the prepared profile, and the Default1 folder must contain the client's original default profile.

4- Copying the Profile to Netlogon

1- I right-click This PC and select Properties.

Domain Default Profile

2- I click the Advanced system settings link.

Domain Default Profile

3- On the Advanced tab of the System Properties window, I click the Settings... button in the User Profiles section.

Domain Default Profile

4- In the User Profiles window, I select the Default Profile row and click the Copy To... button.

Domain Default Profile

5- In the Copy profile to field, I enter the path of the target folder in the Netlogon share. In this environment, the domain controller name is SRV001 and the clients use the .V6 suffix, so the path is \\SRV001\Netlogon\Default User.V6. The Default User part of the folder name is fixed, and the suffix is selected according to the client version from the table in section 1.

Domain Default Profile

The Mandatory profile option in the Copy To window is not selected in this scenario. If it is selected, the NTUSER.DAT file is copied as NTUSER.MAN, and new users start with a profile that cannot save changes.

6- The Permitted to use field sets the NTFS permissions of the copied folder. The default value contains only the account that performs the operation, so other users cannot read the profile. I click the Change button.

Domain Default Profile

7- I select the Everyone group so that all users can read the profile.

Domain Default Profile

Domain Default Profile

8- I start the copy with OK. The profile is now copied to the Netlogon share.

Domain Default Profile

Checkpoint
The Default User.V6 folder must be visible in the Netlogon share. I check on each domain controller that the folder has replicated to the other domain controllers with this command.

Get-ChildItem -Path "\\{Domain Controller Name}\NETLOGON" -Directory

If I used the lab method, I restore the folder names on the reference client: I rename the Default folder back to DefDomain and the Default1 folder back to Default. This returns the client's local default profile to its original state. I can then delete the profile of the DefDomain account, which I used to prepare the profile, from the User Profiles window.

5- Testing and Verification

1- I sign in on a client with a user who has never signed in before (User20 in this example).

Domain Default Profile

Domain Default Profile

2- The profile of User20 was created from the profile that I placed in Netlogon, not from the client's local default profile.

Domain Default Profile

3- When requirements change, I can update the content of the profile in Netlogon. The changes apply only to users who sign in for the first time after that.

Domain Default Profile

Domain Default Profile

Checkpoint
The desktop of the new user must open with the prepared profile, and the User Profile Service log in Event Viewer on the client must show no errors related to profile creation.

If I need to roll back the configuration, I delete the Default User.V6 folder in Netlogon. After the folder is deleted, new users start from the local C:\Users\Default profile of the clients again.

I consider the configuration complete when these criteria are met: a Default User folder with the suffix that matches the client version exists in Netlogon and has replicated to all domain controllers, Everyone has read permission on the folder, the reference client has returned to its original state, and a user who signs in for the first time starts with the prepared profile.

I hope you find it useful...

No comments on this article yet. Be the first to comment!

750 characters available.
Security code
Comments are published once approved.
Your email is only used to let you know when your comment is approved. It is never published.