sysprep /oobe /generalize /shutdown /unattend:C:\temp\CopyProfile-Win10.xml
That has now become buggy and Microsoft says you should use GPO’s to setup most default user configuration. However, that does not work for a everyone because:
There easiest way around this is to now EDIT the DEFAULT user. These are the things I change:
I install a pile of themes in my lab users profile the copy:
C:\Users\<lab profile>\AppData\Local\Microsoft\Windows\Themes
to
C:\Users\Default\AppData\Local\Microsoft\Windows\Themes
I copy a few files to C:\Users\Default\Desktop – things like a shortcut to the companies Intranet.
I use REGEDIT to modify the default users configuration:
HKEY_LOCAL_MACHINE\<WHATEVER YOU CALLED THE DEFAULT>\Software\Microsoft\Windows\CurrentVersion\Themes\CurrentTheme
C:\Users\Default\AppData\Local\Microsoft\Windows\Themes\<theme folder>\<theme name>.theme
Turn on File Extensions
HKEY_LOCAL_MACHINE\<WHATEVER YOU CALLED THE DEFAULT>\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\HideFileExt = 0
0 = show file extensions
1 = hide file extensions
Turn on Hidden Files
HKEY_LOCAL_MACHINE\<WHATEVER YOU CALLED THE DEFAULT>\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Hidden = 0
0 = show hidden files
1 = don’t show hidden files
Set File Explorer / Computer to Default to THIS PC
HKEY_LOCAL_MACHINE\<WHATEVER YOU CALLED THE DEFAULT>\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\LaunchTo = 1
0 = does not work
1 = THIS PC
2 = QUICK ACCESS
Disable PEOPLE on Taskbar
HKEY_LOCAL_MACHINE\<WHATEVER YOU CALLED THE DEFAULT>\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\People\PeopleBand = 0
If you need to add PEOPLEBAND it is a DWORD(32Bit)
0 = PEOPLE off
1 = PEOPLE on
Set Cortana Search box to Off
HKEY_LOCAL_MACHINE\<WHATEVER YOU CALLED THE DEFAULT>\Software\Microsoft\Windows\CurrentVersion\Search\SearchboxTaskbarMode = 0
If you need to add SearchboxTaskbarMode it is a DWORD(32Bit)
0 = Cortana Search Box Off
1 = Cortana Search Icon is On
2 = Cortana Search Box is On
Show Taskbar Buttons on Taskbar Where Window is Open
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\MMTaskbarMode = 2
0 = Show taskbar buttons on all taskbars
1 = Show taskbar buttons on main taskbar and taskbar where window is open
2 = Show taskbar buttons on taskbar where window is open
IMPORTANT: When you have completed all of the registry changes you wish to make, you MUST click HKEY_LOCAL_MACHINE\<WHATEVER YOU CALLED THE DEFAULT> and then FILE > UNLOAD HIVE. If you do not, the DEFAULT USER HKCU will be screwed as the file was left open.
At this point I reboot, sign in as my LocalAdminUser and sysprep. This can be done through the GUI (C:\Windows\System32\Sysprep\sysprep.exe) or command line (sysprep /oobe /generalize /shutdown) as you see fit.
I rely on GPO’s to set the default tiles in the START MENU and other bits but you may find THIS article helpful in setting default START MENU tiles.
This website uses cookies.
View Comments
Thank you
Hello Ian,
Can you help me. I couldn't find the " C:\Users\Default\AppData\Local\Microsoft\Windows\Themes " folder. The Default user does not have the Themes folder.
Thank You
Hi Jose;
Yes, the DEFAULT USER does not have a THEMES folder but you can create one and when the DEFAULT USER is copied to the next new user profile, that THEMES folder will go with it. :)
Do default profile hold usrclass.dat as i dont see it after reimage a test pc
Hi Yogesh;
I do not believe so. A quick check of my C:\USERS\DEFAULT does not show USRCLASS.DAT either so it must get built on the fly with new profiles.