How to automatically configure your default profile in Windows 10

Ever since Windows 10 was released, COPYPROFILE has been a major issue for administrators. It causes your default profile to be extremely large and it constantly causes issues with the Start Menu and other items in the Windows 10 OS. While developing a Windows 10 image, I found that injecting OS settings into C:\Users\Default\NTUser.dat has been the best way to configure the default profile. A year after upgrading over 2000 computers to Windows 10, I can now confidently say this method works 100% of the time and I really hope others start to use it more often.

Luckily for you, I have done the dirty work and can provide you with a starting point that can automatically configure settings for you. Keep in mind that you will need to run this script before running SYSPREP and it will change the settings for any new users. Good luck and please feel free to leave any questions in the comments below.

reg load HKLM\DEFAULT c:\users\default\ntuser.dat

# Advertising ID
reg add "HKLM\DEFAULT\Software\Microsoft\Windows\CurrentVersion\AdvertisingInfo" /v Enabled /t REG_DWORD /d 0 /f

#Delivery optimization, disabled
reg add "HKLM\DEFAULT\Software\Microsoft\Windows\CurrentVersion\DeliveryOptimization" /v SystemSettingsDownloadMode /t REG_DWORD /d 3 /f

# Show titles in the taskbar
reg add "HKLM\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v TaskbarGlomLevel /t REG_DWORD /d 1 /f

# Hide system tray icons
reg add "HKLM\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer" /v EnableAutoTray /t REG_DWORD /d 1 /f

# Show known file extensions
reg add "HKLM\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f

# Show hidden files
reg add "HKLM\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Hidden /t REG_DWORD /d 1 /f

# Change default explorer view to my computer
reg add "HKLM\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LaunchTo /t REG_DWORD /d 1 /f

# Disable most used apps from appearing in the start menu
reg add "HKLM\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_TrackProgs /t REG_DWORD /d 0 /f

# Remove search bar and only show icon
reg add "HKLM\DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v SearchboxTaskbarMode /t REG_DWORD /d 1 /f

# Show Taskbar on one screen
reg add "HKLM\DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v MMTaskbarEnabled /t REG_DWORD /d 0 /f

# Disable Security and Maintenance Notifications
reg add "HKLM\DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.SecurityAndMaintenance" /v Enabled /t REG_DWORD /d 0 /f

# Hide Windows Ink Workspace Button
reg add "HKLM\DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\PenWorkspace" /v PenWorkspaceButtonDesiredVisibility /t REG_DWORD /d 0 /f

# Disable Game DVR
reg add "HKLM\DEFAULT\System\GameConfigStore" /v GameDVR_Enabled /t REG_DWORD /d 0 /f
reg add "HKLM\DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\GameDVR" /v AppCaptureEnabled /t REG_DWORD /d 0 /f

# Show ribbon in File Explorer
reg add "HKLM\DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Ribbon" /v MinimizedStateTabletModeOff /t REG_DWORD /d 0 /f

# Hide Taskview button on Taskbar
reg add "HKLM\DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowTaskViewButton /t REG_DWORD /d 0 /f

# Hide People button from Taskbar
reg add "HKLM\DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People" /v PeopleBand /t REG_DWORD /d 0 /f

# Hide Edge button in IE
reg add "HKLM\DEFAULT\SOFTWARE\Microsoft\Internet Explorer\Main" /v HideNewEdgeButton /t REG_DWORD /d 1 /f

# Remove OneDrive Setup from the RUN key
reg delete "HKLM\DEFAULT\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v OneDriveSetup /F

reg unload HKLM\DEFAULT

If you would like to customize the Start Menu Tiles, please refer to my earlier post:


  1. Hello Jose
    does this procedure clone the same start menu tiles position for all users?

  2. Hello Jose and thank you for sharing your knowledge.

    How do you apply this?
    Is it a script you launch or use with cmd or powershell?
    It reminds me a way to change the default wallpaper under windows 7 but I was loading the .default user registry by charging the default user registry with this powershell command :
    REG LOAD HKU\PROFIL_DEFAULT C:\Users\Default\ntuser.dat

    But you use this one:
    reg load HKLM\DEFAULT c:\users\default\ntuser.dat

    I don’t know which one is the better nor the differences or if the result is the same.
    What’s your opinion?

    Thank you for your work.


    • Jose Espitia

      Hi Sylvain,

      I run this script automatically with my MDT capture task sequence but you can technically run this script anyway to configure the default profile.

      As for your other question, it doesn’t really matter where you load C:\Users\Default\ntuser.dat. If you manually run reg load HKLM\DEFAULT c:\users\default\ntuser.dat, you will see HKLM\DEFAULT when you open regedit. Inside of HKLM\DEFAULT is the default profile’s HKCU.
      HKLM\DEFAULT\SOFTWARE is actually the default profile’s HKCU\SOFTWARE.

      I hope this helps clear up a few things and let me know if you have any other questions.

  3. Thank you for sharing.
    Please could you be more specific.
    When do you inject these enties?

    Before Sysprep?
    In audit Mode?
    During deployment as part of the unattend.xml
    after deployment, as a onetime script?

    • Jose Espitia

      You can run the batch script before running Sysprep to configure the default profile.

    • Jose Espitia

      You will want to run this before SYSPREP and you cannot use COPYPROFILE because it will overwrite your configuration.

  4. Jose,

    I am in the process of building out an MDT server, I would like to customize the start menu/tiles/taskbar to create a basic vanilla image. Can I go ahead and run through your process to make the customization then run sysprep the grab an image of the final product? Would this work in terms of general settings sticking while loading the .iso of this image to MDT? Or would it be easier to use MDT to do any customization using an an .iso of windows 10 build 1709? Any help here would be greatly, appreciated, thanks!

    • Jose Espitia

      You can definitely run through my process to customize your default profile. I normally import the start layout and run this batch script before my MDT capture task sequence runs sysprep.

  5. I saved it as .bat file and ran as an administrator but did not change anything on Win 10 Ent 1709. You mentioned that you are using MDT which is not the case for everyone. How we will edit this file and use it correctly. If you can elaborate and put into steps that would be very helpful for many of us. Your method very exciting and I can’t wait to make it work. Thanks

    • Jose Espitia

      Hi Attila,

      You will need to run the script before running SYSPREP or run it after you have completed reimaging a computer. The script will modify the Default profile so it will only affect new accounts.

  6. Hi Jose,

    Thanks for the effort.

    Can I run this PowerShell in audit mode before I run the Sysprep process?

    • Jose Espitia

      Yes you can run the script before Audit Mode but do not use COPYPROFILE because it will overwrite any changes that you made with the script.

  7. Thanks for you guide man! We deploy to Surface Pro tablets every year for students and have been using the Copyprofile feature. Kind of a bummer that it is breaking things. Can you elaborate on how I can set desktop shortcuts on new users like, Word 2016, Custom URLS with custom icons, applications installed like Artweaver? CopyProfile used to do this for us by literally just copying the administrators desktop shortcuts to the default users.

    • Jose Espitia

      Hi Justin,

      I’m glad that you enjoyed the guide! To setup desktop icons, all you have to do is copy the shortcuts to C:\Users\Default\Desktop.

      • Wow! How have i never thought of that? One more thing while i got you, What about setting the desktop background? I know you can do this though GPO, but we like to have it load our custom background when the student logins for the first time, whether on campus or not.
        Thanks again!

        • Jose Espitia

          I use Jörgen Nilsson’s method which can be found here:

          Essentially, you will be replacing the wallpapers in “C:\windows\web\4k\Wallpaper\Windows” and “C:\windows\web\Wallpaper\Windows” with your own custom wallpaper. I already have a script that can automate this but you will need to tweak it if you are not using MDT.(I’ll be more than happy to help you set it up if you need any assistance)
          The script can be found in my latest post “How to capture a Windows 10 image like a boss with MDT!” which can be found here:

          • Thanks! One more question and I promise this will be the last. I am a little old fashioned and I basically run a windows iso in HyperV, install all my software, then sysprep from within the the running VM. I then basically just create a capture only type Task Sequence. After I have my image captured, I have another Task Sequence that I use for deployment. I know this is super weird, but it’s the way I was taught to do it. Anyway, can I use all of your custom tasks for the deployment process, such as default profile, windows background, taskbar changes, or do i need to run these in the capture sequence?

          • Jose Espitia

            I have had success with running these custom tasks before running SYSPREP in my Capture Task Sequence.

  8. Hi!

    Does the following settings work for you with 1709:

    -) LaunchTo
    -) Hidden
    -) HideFileExt

    On my test client these settings are ignored …

    • Jose Espitia

      March 20, 2018 at 5:29 pm

      If it doesn’t work, I would suggest setting the registry keys as a run once user preference in your GPO.

  9. Hi Jose, Thanks for the great script! I am newbie to MDT and i wasbjust wondering how this could be added to MDT. Will it be saved as a .bat file or a .reg file? Please kindly let me know.

    Thank you in advance.

  10. Would it work if I moved the NTuser.dat file from my pre-configured administrator account to the default profile?


    • Jose Espitia

      March 20, 2018 at 5:26 pm

      It should work since this is what COPYPROFILE does but I would recommend not doing it because it does copy over some unnecessary keys and it keeps references to the administrator account.

  11. Hi Jose,
    we have an image W10 and i use copy profile to keep my setting profile like: office 2k16, favoryte IE, Edge, Firefox, and some other software like VLC…

    we use mandatory profile but with Windows 10 we can’t modify mandatory profile like we do with Windows 7 because that corrupt our profile… your script look good but any idea to keep our software setting and apply to default profile easily?



  12. Hey Good stuff Jose,

    This is our first year using WIN10 getting ready to make an image with WDS. Do you have any info of creating a good basic image with default profile? Thanks


  13. I am trying to inject some registry edits to the default ntuser.dat as described. The command I usually run is:
    reg add “HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People” /V PeopleBand /T REG_DWORD /D 0 /F
    However I can see that this only applies for the “current user” how can I inject this reg to the default user?

  14. I have a registry setting that I would like to add to the default user registry.
    I usually use this command to turn off “animate windows when minimizing and maximizing”
    reg add “HKCU\Control Panel\Desktop\WindowMetrics” /v “MinAnimate” /t REG_SZ /d “0” /f
    So I tried to edit it to:
    reg add “HKLM\DEFAULT\Control Panel\Desktop\WindowMetrics” /v “MinAnimate” /t REG_SZ /d “0” /f
    But it does not work for some reason. Am I doing something wrong here?

    • Jose Espitia

      April 18, 2018 at 6:17 pm

      You need to load and unload the default profile’s NTuser.dat. So it would look like this:
      reg load HKLM\DEFAULT c:\users\default\ntuser.dat
      reg add “HKLM\DEFAULT\Control Panel\Desktop\WindowMetrics” /v “MinAnimate” /t REG_SZ /d “0” /f
      reg unload HKLM\DEFAULT

Leave a Reply