How to Enable or Disable Log On Users with Temporary Profiles in Windows?

The User Profile in Windows included all account settings like screen saver, desktop background, File Explorer options, and many other options. It also contains folders such as Contacts, Desktop, Downloads, Favorites, Music, Videos, Pictures, etc. Whenever a user profile is corrupted and Windows cannot access the user profile folder, then Windows will sign in the user with a temporary profile by default. The data created in this temporary profile will be deleted when the user signs out. An administrator can disable the temporary profile creation on the employee’s computers. By doing this, the employees will ask the IT team about this issue rather than working in the temporary profile.

Enable or Disable Log On Users with Temporary Profiles
Temporary Profile in Windows

In this article, we will provide the methods through which you can easily disable the log-on with temporary profiles in Windows. We have also included the Registry Editor method for the Windows Home users that do not have access to the Group Policy Editor.

Method 1: Using the Local Group Policy Editor

The Group Policy Editor is a tool through which an administrator can manage settings for the operating system. It includes the specific policy through which you can disable the log-on with the temporary profiles feature. Unlike the Registry Editor, it is pretty simple to configure and there are no risks of wrong configurations. Follow the below steps and see how it works:

Note: The Group Policy Editor isn’t available for the Windows 10 Home users. If you are using the Windows 10 Home operating system, then skip this method.

  1. Open the Run dialog box by pressing the Windows and R keys together on your keyboard. Then, type “gpedit.msc” and press the Enter key to open the Local Group Policy Editor window.
    Opening the Group Policy Editor
  2. In the Local Group Policy Editor window, navigate to the following location:
    Computer Configuration\Administrative Templates\System\User Profiles\
    Navigating to the setting
  3. Double-click on the setting named “Do not log users on with temporary profiles” and it will open in another window. Now you can change the toggle option from Not Configured to Enabled.
    Enabling the setting
  4. Click on the Apply button and then the Ok button to save the changes.
  5. The group policy will automatically update the settings on your system. However, if it doesn’t update, then open the Command Prompt as an administrator.
  6. Now type the following command in Command Prompt (Admin) to force an update for the policy that you configured. You can also update the group policy by restarting the system.
    gpupdate /force
    Updating the group policy
  7. You can revert back this to the default setting by changing the toggle option to Not Configured or Disabled in step 3.

Method 2: Using the Registry Editor

The Windows Registry contains all the information and settings used by the operating system and applications. This is the alternative method for disabling the temporary profiles feature. It is also the only available method for Windows 10 Home users. This is a bit technical method compared to the Group Policy Editor. Sometimes the user needs to create the missing key or value for the specific setting. Follow the below steps for Registry Editor configuration:

  1. Open the Run dialog box by pressing the Windows + R key together.
  2. Now type “regedit” in the box and press the Enter key to open the Registry Editor.
    Note: If prompted by the UAC (User Account Control) window, click on the Yes button.

    Opening the Registry Editor
  3. If you want to create a registry backup, click on the File menu and then choose the Export option from the list. Now name the file and provide the path where you want to save it, then click on the Save button.
    Creating the registry backup

    Note: To recover the registry, click on the File menu and choose the Import option from the list. Select the backup file that you previously created.

  4. Navigate to the following path in the Registry Editor window:
    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\System

    Note: If the System key is missing, right-click on the Windows key, and choose the New > Key option. Rename the key as “System“.

  5. In the right pane of the System key, right-click and choose the New > DWORD (32-bit) Value option. Rename this value as “ProfileErrorAction“.
    Creating a new value
  6. Double-click on the value to edit it. Now change the value data to 1 to enable the value. Enabling the value will stop users to log in with temporary profiles.
    Changing the value data
  7. Once the changes are made, make sure to restart the system to apply these changes.
  8. You can revert back to default settings by removing the newly created value from Registry.
ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.