Create mandatory user profiles (2024)

  • Article
  • Applies to:
    Windows 11, ✅ Windows 10

A mandatory user profile is a roaming user profile that has been preconfigured by an administrator to specify settings for users. Settings commonly defined in a mandatory profile include (but aren't limited to) icons that appear on the desktop, desktop backgrounds, user preferences in Control Panel, printer selections, and more. Configuration changes made during a user's session that are normally saved to a roaming user profile aren't saved when a mandatory user profile is assigned.

Mandatory user profiles are useful when standardization is important, such as on a kiosk device or in educational settings. Only system administrators can make changes to mandatory user profiles.

When the server that stores the mandatory profile is unavailable, such as when the user isn't connected to the corporate network, users with mandatory profiles can sign in with the locally cached copy of the mandatory profile, if one exists. Otherwise, the user is signed in with a temporary profile.

User profiles become mandatory profiles when the administrator renames the NTuser.dat file (the registry hive) of each user's profile in the file system of the profile server from NTuser.dat to NTuser.man. The .man extension causes the user profile to be a read-only profile.

Profile extension for each Windows version

The name of the folder in which you store the mandatory profile must use the correct extension for the operating system it applies to. The following table lists the correct extension for each operating system version.

Client operating system versionServer operating system versionProfile extension
Windows XPWindows Server 2003
Windows Server 2003 R2
none
Windows Vista
Windows 7
Windows Server 2008
Windows Server 2008 R2
v2
Windows 8Windows Server 2012v3
Windows 8.1Windows Server 2012 R2v4
Windows 10, versions 1507 and 1511N/Av5
Windows 10, versions 1607 and laterWindows Server 2016 and Windows Server 2019v6

For more information, see Deploy Roaming User Profiles, Appendix B and Roaming user profiles versioning in Windows 10 and Windows Server Technical Preview.

Mandatory user profile

First, you create a default user profile with the customizations that you want, run Sysprep with CopyProfile set to True in the answer file, copy the customized default user profile to a network share, and then you rename the profile to make it mandatory.

How to create a default user profile

  1. Sign in to a computer running Windows as a member of the local Administrator group. Don't use a domain account.

    Note

    Use a lab or extra computer running a clean installation of Windows to create a default user profile. Do not use a computer that is required for business (that is, a production computer). This process removes all domain accounts from the computer, including user profile folders.

  2. Configure the computer settings that you want to include in the user profile. For example, you can configure settings for the desktop background, uninstall default apps, install line-of-business apps, and so on.

    Note

    Unlike previous versions of Windows, you cannot apply a Start and taskbar layout using a mandatory profile. For alternative methods for customizing the Start menu and taskbar, see Related topics.

  3. Create an answer file (Unattend.xml) that sets the CopyProfile parameter to True. The CopyProfile parameter causes Sysprep to copy the currently signed-on user's profile folder to the default user profile. You can use Windows System Image Manager, which is part of the Windows Assessment and Deployment Kit (ADK) to create the Unattend.xml file.

  4. Uninstall any application you don't need or want from the PC. For examples on how to uninstall Windows Application see Remove-AppxProvisionedPackage. For a list of uninstallable applications, see Understand the different apps included in Windows.

    Note

    It is highly recommended to uninstall unwanted or unneeded apps as it will speed up user sign-in times.

  5. At a command prompt, type the following command and press ENTER.

    sysprep /oobe /reboot /generalize /unattend:unattend.xml

    (Sysprep.exe is located at: C:\Windows\System32\sysprep. By default, Sysprep looks for unattend.xml in the same folder.)

    Tip

    If you receive an error message that says "Sysprep was not able to validate your Windows installation", open %WINDIR%\System32\Sysprep\Panther\setupact.log and look for an entry like the following:

    Create mandatory user profiles (1)

    Use the Remove-AppxProvisionedPackage and Remove-AppxPackage -AllUsers cmdlet in Windows PowerShell to uninstall the app that is listed in the log.

  6. The sysprep process reboots the PC and starts at the first-run experience screen. Complete the setup, and then sign in to the computer using an account that has local administrator privileges.

  7. Right-click Start, go to Control Panel (view by large or small icons) > System > Advanced system settings, and select Settings in the User Profiles section.

  8. In User Profiles, select Default Profile, and then select Copy To.

    Create mandatory user profiles (2)

  9. In Copy To, under Permitted to use, select Change.

    Create mandatory user profiles (3)

  10. In Select User or Group, in the Enter the object name to select field, type everyone, select Check Names, and then select OK.

  11. In Copy To, in the Copy profile to field, enter the path and folder name where you want to store the mandatory profile. The folder name must use the correct extension for the operating system version. For example, the folder name must end with .v6 to identify it as a user profile folder for Windows 10, version 1607 or later.

    • If the device is joined to the domain and you're signed in with an account that has permissions to write to a shared folder on the network, you can enter the shared folder path.

      Create mandatory user profiles (4)

    • If the device isn't joined to the domain, you can save the profile locally, and then copy it to the shared folder location.

  12. Select OK to copy the default user profile.

How to make the user profile mandatory

  1. In File Explorer, open the folder where you stored the copy of the profile.

    Note

    If the folder is not displayed, click View > Options > Change folder and search options. On the View tab, select Show hidden files and folders, clear Hide protected operating system files, click Yes to confirm that you want to show operating system files, and then click OK to save your changes.

  2. Rename Ntuser.dat to Ntuser.man.

Verify the correct owner for the mandatory profile folders

  1. Open the properties of the "profile.v6" folder.
  2. Select the Security tab and then select Advanced.
  3. Verify the Owner of the folder. It must be the builtin Administrators group. To change the owner, you must be a member of the Administrators group on the file server, or have "Set owner" privilege on the server.
  4. When you set the owner, select Replace owner on subcontainers and objects before you select OK.

Apply a mandatory user profile to users

In a domain, you modify properties for the user account to point to the mandatory profile in a shared folder residing on the server.

How to apply a mandatory user profile to users

  1. Open Active Directory Users and Computers (dsa.msc).
  2. Navigate to the user account that you want to assign the mandatory profile to.
  3. Right-click the user name and open Properties.
  4. On the Profile tab, in the Profile path field, enter the path to the shared folder without the extension. For example, if the folder name is \\server\share\profile.v6, you would enter \\server\share\profile.
  5. Select OK.

It can take some time for this change to replicate to all domain controllers.

Apply policies to improve sign-in time

When a user is configured with a mandatory profile, Windows starts as though it was the first sign-in each time the user signs in. To improve sign-in performance for users with mandatory user profiles, apply the Group Policy settings shown in the following table.

Group Policy settingWindows 10Windows Server 2016
Computer Configuration > Administrative Templates > System > Logon > Show first sign-in animation = Disabled
Computer Configuration > Administrative Templates > Windows Components > Search > Allow Cortana = Disabled
Computer Configuration > Administrative Templates > Windows Components > Cloud Content > Turn off Microsoft consumer experience = Enabled

Note

These Group Policy settings can be applied in Windows Professional edition.

Related articles

  • Manage Windows 10 Start layout and taskbar options
  • Lock down Windows 10 to specific apps
  • Windows Spotlight on the lock screen
  • Configure devices without MDM
Create mandatory user profiles (2024)

FAQs

How to make the user profile mandatory? ›

A mandatory profile does not allow ANY changes to the profile to be saved, so the changes are discarded whenever the logon session closes. You can make a profile mandatory by renaming the NTUSER. DAT file in the user profile to NTUSER.

Which are the three 3 main types of user profiles? ›

Types of User Profiles
  • Local User Profiles. A local user profile is created the first time that a user logs on to a computer. ...
  • Roaming User Profiles. A roaming user profile is a copy of the local profile that is copied to, and stored on, a server share. ...
  • Mandatory User Profiles. ...
  • Temporary User Profiles.
Apr 30, 2018

What is the difference between roaming and mandatory profiles? ›

Mandatory Profiles, sometimes called roaming mandatory profiles, are also stored in a centralized network location for each user. They differ from roaming profiles by not retaining the users' changes at logoff.

Who can manage mandatory profiles on Windows 10 computers? ›

Which users are able to manage mandatory profiles on Windows 10 computers? : Chapter 9, page 401: "Only members of the administrators group can manage mandatory profiles."

How do I force Windows to recreate a user profile? ›

Log into the computer as the Local Administrator, or another user with equivalent rights. Delete the Windows profile for the affected user, per the steps below, and log off. Log in as the original Windows user - a new profile, with the default Windows settings, should be created automatically.

What is a super mandatory profile? ›

Super-mandatory user profiles are similar to normal mandatory profiles, with the exception that users who have super-mandatory profiles cannot log on when the server that stores the mandatory profile is unavailable. Users with normal mandatory profiles can log on with the locally cached copy of the mandatory profile.

What are the disadvantages of roaming profiles? ›

The disadvantages of a roaming profile are the following:
  • Increase in network traffic and login times.
  • The more files you have, the longer download times you'll have.
  • Relatively outdated technology.
Oct 27, 2021

Are roaming profiles still used? ›

Roaming profiles were a nice idea in the '00s but there are better solutions now than folder redirection or roaming profiles. Roaming profiles are the oldest option, but they can work with FR. KFM would be the way to go, but if they don't have the licenses, FR will work.

How do you tell if a profile is a roaming profile? ›

To confirm that the user profile is roaming, open Control Panel, select System and Security, select System, select Advanced System Settings, select Settings in the User Profiles section and then look for Roaming in the Type column.

Who uses mandatory profiles? ›

Mandatory user profiles are useful when standardization is important, such as on a kiosk device or in educational settings. Only system administrators can make changes to mandatory user profiles.

How do I edit a mandatory profile? ›

The way I do edits to mandatory profiles is to make a copy of it, change the ntuser. man to ntuser. dat, assign that copy to an account, edit what I want to and then do a 'copy to' in System Properties->Advanced->User Profiles, to create a clean version where I change the ntuser. dat back to ntuser.

What is mandatory while creating user role or profile? ›

Profiles are required, but roles are not. Profiles determine which objects, fields, etc. a user can access, and roles determine what records a user can see relative to others in the organization's hierarchy. Typically, a user's profile is set to something such as Sales or HR or System Administrator.

What is mandatory for user role or profile? ›

Profiles are mandatory for every user and specify permissions for various functionalities, whereas Roles are optional and establish a hierarchy for data access based on the organizational structure.

How do I set a default user profile? ›

Click Start, right-click Computer, click Properties, and then click Advanced system settings. Under User Profiles, click Settings. The User Profiles dialog box shows a list of profiles that are stored on the computer. Select Default Profile, and then click Copy To.

How do I make my user account non interactive? ›

You need to have the System Administrator security role or equivalent permissions to create a non-interactive user. First, you create a user account in Microsoft 365. Then, in customer engagement apps, select the non-interactive access mode for the account. Create a user account in the Microsoft 365 admin center.

Top Articles
The hottest business schools for FAANG jobs
Google Job Interview FAQs
Davita Internet
Ffxiv Palm Chippings
Research Tome Neltharus
Valley Fair Tickets Costco
Mohawkind Docagent
Emmalangevin Fanhouse Leak
Mndot Road Closures
Erskine Plus Portal
13 The Musical Common Sense Media
World Cup Soccer Wiki
Craigslist Heavy Equipment Knoxville Tennessee
Edible Arrangements Keller
Slag bij Plataeae tussen de Grieken en de Perzen
Oscar Nominated Brings Winning Profile to the Kentucky Turf Cup
Love In The Air Ep 9 Eng Sub Dailymotion
Leader Times Obituaries Liberal Ks
Committees Of Correspondence | Encyclopedia.com
Huntersville Town Billboards
Timeforce Choctaw
Ford F-350 Models Trim Levels and Packages
Routing Number For Radiant Credit Union
Bn9 Weather Radar
Sofia the baddie dog
City Of Durham Recycling Schedule
Urbfsdreamgirl
Truvy Back Office Login
Table To Formula Calculator
Sandals Travel Agent Login
Orange Park Dog Racing Results
Neteller Kasiinod
Maths Open Ref
DIY Building Plans for a Picnic Table
Have you seen this child? Caroline Victoria Teague
Steven Batash Md Pc Photos
Tamil Play.com
Atlantic Broadband Email Login Pronto
Spinning Gold Showtimes Near Emagine Birch Run
Oreillys Federal And Evans
Asian Grocery Williamsburg Va
Afspraak inzien
Directions To 401 East Chestnut Street Louisville Kentucky
Academic important dates - University of Victoria
Gpa Calculator Georgia Tech
Housing Intranet Unt
T&Cs | Hollywood Bowl
St Vrain Schoology
Online College Scholarships | Strayer University
Understanding & Applying Carroll's Pyramid of Corporate Social Responsibility
Unpleasant Realities Nyt
Tyrone Unblocked Games Bitlife
Latest Posts
Article information

Author: Ouida Strosin DO

Last Updated:

Views: 6017

Rating: 4.6 / 5 (76 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Ouida Strosin DO

Birthday: 1995-04-27

Address: Suite 927 930 Kilback Radial, Candidaville, TN 87795

Phone: +8561498978366

Job: Legacy Manufacturing Specialist

Hobby: Singing, Mountain biking, Water sports, Water sports, Taxidermy, Polo, Pet

Introduction: My name is Ouida Strosin DO, I am a precious, combative, spotless, modern, spotless, beautiful, precious person who loves writing and wants to share my knowledge and understanding with you.