21 Sep 2011

How to create a Windows 7 Default Profile

Leaving the “Default” user profile as it is can hurt your VDI / RDS deployment, because Windows needs certain amount of time to create a new user profile from the initial default one. The Default has not been initialized, meaning e.g. the HKCU hive is not generated, active setup has not initialized components.

You can gain up to 25 seconds less for logons (depending on other parameters too of course)
There are several ways to create a new Default user profile on a Windows 7 client,

The most popular one is the official way from Microsoft documented here: http://support.microsoft.com/kb/973289/en-us

BUT…Personally I think that’s a bit too complex, we just want to copy another users profile to the default one or not? Here is another way which worked several times for me.

  1. Create a local user, log on with this user and make your changes to the profile as you have to
  2. Log off and log on with an administrator account (you may need to reboot first as sometimes the user’s hive is not completely unloaded at logoff)
  3. Open the registry editor and change the following value to match your model users profile
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\Default
    (Change %SystemDrive%\Users*Default** to %SystemDrive%\Users*yourlocaluser) </p> –> **If you want to Replace the original Default Profile, continue with step 4. Otherwise you’re already done.</li>

    • Open Computer Advanced Properties and navigate to “User Profiles”. Sekect  the Default profile and choose “Copy to”. Select %SystemDrive%\Users**Default** as the destination and select “Everyone” as the permitted user to use the profile
    • Change the registry value back to %SystemDrive%\Users**Default**
    • Open Regedit and load the ntuser.dat hive of the copied profile
    • Remove all entries referencing to “yourlocaluser” in the hive
    • Unload the hive</ol>
Be aware that this method is not officially supported by Microsoft. However I&#8217;ve used it a couple of times without running into any issues.

&nbsp;

&nbsp;

&nbsp;

&nbsp;