Customize Default User Profile in Windows 7 – Part 1

WebTech360 – In this series of articles, we will introduce you to how to customize the default user profile in Windows 7.

As an administrator of a Windows network, there are probably a number of reasons why you would want to customize the default user profile. For example:

  • You may want to customize users' desktops before deploying Windows to new computers so that users get a preconfigured desktop experience before they start.
  • You might want to use roaming profiles to allow users to roam between different computers on the network while accessing their own personal desktops, or you might want to customize the initial desktop experience for users.
  • You might want to use mandatory roaming profiles to provide a customized and locked-down desktop experience to users in a Windows Server 2008 R2 SP1 Hyper-V-based Remote Desktop Services (RDS) or Virtual Desktop Infrastructure (VDI) environment.

However, the method used for customizing the default user profile in previous versions of Windows – customizing the Administrator account, then copying the Administrator user profile to the default User profile – doesn’t really work in Windows 7. In fact, this method has been used since Windows NT. It worked pretty well for that Windows NT operating system, but as profiles became more and more complex through Windows 2000, Windows XP, and Windows Vista, this method started to cause some strange problems on users’ computers, such as certain user profile folders being misnamed, files for certain applications being stored in the wrong folders, and a host of other unpredictable problems.

So if you want your desktops to have a supported configuration, you need to follow this new method of customizing the default user profile, which is fully supported by Microsoft. In this series, we will walk you through the steps involved in customizing the default user profile for Windows 7 and Windows Server 2008 R2, explain how to use a custom profile as the default network profile in roaming scenarios, and discuss the limitations of customizing profiles on these platforms. The method used to customize the default user profile involves using MDT 2010, so if you are unfamiliar with how to use MDT, you can review our Deploying Windows 7 series.

1. Create a task sequence to deploy the reference settings

To customize the default user profile, we will deploy Windows 7 on a host or reference computer. Accordingly, the installation will be called a host or reference installation. Then we will customize the reference architecture as desired, perform sysprep and capture the installation image, and finally deploy the customized and captured image to the target computers (user computers).

Start by opening the Deployment Workbench on the computer that has MDT 2010 Update 1 installed. Open your deployment share and right-click the Task Sequences folder , select New Task Sequence to create a new task sequence for deploying the reference installation. We will call this task sequence STEP-1 as shown in the image below:

Customize Default User Profile in Windows 7 – Part 1
Figure 1: Step 1 in creating a task sequence for deploying the reference installation

Select Standard Client Task Sequence from the list of task sequence templates:

Customize Default User Profile in Windows 7 – Part 1
Figure 2: Step 2 in creating a task sequence for deploying the reference installation

Select the operating system you want to deploy, in this tutorial example it is Windows 7 x64 Enterprise Edition :

Customize Default User Profile in Windows 7 – Part 1
Figure 3: Step 3 in creating a task sequence for deploying the reference installation

Work through the required sections on the remaining pages of the wizard until you reach the end. For example, you need to specify a password for the local Administrator account in the task sequence:

Customize Default User Profile in Windows 7 – Part 1
Figure 4: Step 4 in the task sequence creation process for deploying the reference installation

2. Create a task sequence to ' Sysprep' and capture the reference settings

Next, we need to create a second task chain. This chain will be used for two purposes:

  • Perform a Sysprep of the reference installation (after you have customized it) to create an installation by removing machine information such as SID, contents of event logs, system restore points, installed Plug and Play drivers, etc.
  • Capture the image (.wim file) of the sysprepped installation and upload the captured image to the MDT computer.

Once the custom reference installation has been “ sysprepped ” and captured , you can use MDT to deploy the captured image to target computers. From the Deployment Workbench, launch the New Task Sequence Wizard and create a new task sequence named STEP-2 as shown in the figure below:

Customize Default User Profile in Windows 7 – Part 1
Figure 5: Step 1 in the task sequence creation process for “sysprep” and capturing reference settings

From the list of templates, select Sysprep and Capture as shown in the image below:

Customize Default User Profile in Windows 7 – Part 1
Figure 6: Step 2 in the task sequence creation process to “sysprep” and capture reference settings

Complete the remaining steps of the wizard. You will see two task sequences in the Deployment Workbench:

Customize Default User Profile in Windows 7 – Part 1
Figure 7: Two task chains have been created.

3. Customize reference settings using Unattend.xml

Now you are ready to customize your reference settings. However, since we have not deployed the reference settings yet, we need to pre-define other customizations for our reference settings by making changes to the answer file (unattend.xml) that MDT will use to perform the automatic installation of the reference. Whenever possible, you should use this method to customize your reference settings because it will automate the customization process, which will save you a lot of time in the long run.

Start by clicking the task sequence that will be used to deploy the reference installation (we'll call this step 1) and select Properties to open the task sequence's properties page. Then select the OS Info tab as shown in the image below:

Customize Default User Profile in Windows 7 – Part 1
Figure 8: The OS Info tab in the task sequence properties sheet will be used to deploy the reference installation

In the tab above, click the Edit Unattend.xml button . Open Windows System Image Manager (Windows SIM) to change the settings in the answer file:

Customize Default User Profile in Windows 7 – Part 1
Figure 9: Using Windows SIM to change settings in the answer file

Tip : If you don't know how to use Windows SIM, please refer to part 6 of our Deploying Vista series.

To continue, we will modify the Unattend.xml file so that 5 customizations will be made automatically during the deployment of the reference installation. The 5 changes are shown below:

  1. Disable Internet Explorer First Run Wizard.
  2. Specify a home page for Internet Explorer
  3. Configure Windows error reporting so that selected data is automatically uploaded to Microsoft without user interaction.
  4. Enable Games feature
  5. Block XPS Viewer application installation

We will start by disabling the Internet Explorer First Run Wizard, which is the Wizard that when users log in for the first time asks them if they want to enable IE 8 features. Using Windows SIM, open the Specialize section of the Unattend file and select the Microsoft-Windows-IE-InternetExplorer component as shown in the image below:

Customize Default User Profile in Windows 7 – Part 1
Figure 10: Step 1 of disabling the Internet Explorer First Run Wizard.

In the Properties window of this component, click the field next to the DisableFirstRunWizard setting and change the value from False to True :

Customize Default User Profile in Windows 7 – Part 1
Figure 11: Step 2 in disabling the Internet Explorer First Run Wizard.

Next, we'll assign a home page to Internet Explorer. On the same Properties page, click the field next to the Home_Page setting and change it from about:blank to the website you want to use as your home page.

Customize Default User Profile in Windows 7 – Part 1
Figure 12: Specifying a home page for Internet Explorer.

Next, we configure WER so that the selected data will be automatically uploaded to Microsoft without any user interaction. To do this, we need to add a component to our answer file. The component we need to add here is Microsoft-Windows-ErrorReportingCore , and to add it to our answer file, we need to click on the Components button under the category in the Windows Image panel of Windows SIM, find the component we want to add , right-click on it and add it to the Specialize section as shown below.

Customize Default User Profile in Windows 7 – Part 1
Figure 13: Step 1 in configuring Windows error reporting behavior

So how do we know what components we need to add to our answer file? The answer is by looking for the Unattended Windows Setup Reference Help (.chm) file included in the Windows 7 installation kit.

How do we know which configuration pass (e.g. Specialize) is needed to add this component? In this case, the other configuration options are disabled so you can't select them. However, for some components that need to be added to the answer file, there may be several passes that you can choose from. In general, we should use the Specialize or OobeSystem configuration pass to automate the customization of the reference settings. For more information about configuration passes, see Part 3 of the Deploying Windows Vista series .
Once you've added the Microsoft-Windows-ErrorReportingCore component to the Specialize pass of your answer file, you'll see it displayed in the Answer File pane of Windows SIM. We then change the DefaultConsent setting for this component to 4 to indicate that all data is sent automatically.

Customize Default User Profile in Windows 7 – Part 1
Figure 14: Step 2 in configuring Windows error reporting behavior

How do we know that the value 4 specifies that all data will be sent automatically? Let's look in the Unattended Windows Setup Reference Help (.chm) file, section "DefaultConsent".

Next, we need to enable the Games feature, which is included in Windows 7 but not installed by default in the Enterprise edition (for some reason). To do this, we need to integrate a package into our answer file. This is the Microsoft-Windows-Foundation-Package package , which is located in the Windows Image panel , under Catalog\Packages\Foundation , as shown below. Right-click on this package and select Add to Answer File :

Customize Default User Profile in Windows 7 – Part 1
Figure 15: Step 1 in the process of activating the Games feature

Finding out which software packages to add to your answer file is also in the Unattended Windows Setup Reference Help (.chm) file under "Games".

Once successfully added, you will see the Games entry displayed in the Windows SIM Answer File panel. We can then change the value of the InboxGames setting from Disabled to Enabled :

Customize Default User Profile in Windows 7 – Part 1
Figure 16: Step 2 in the process of activating the Games feature

Finally, we need to set it to prevent the XPS Viewer application from being installed (it will normally be set to install by default). Since this is a setting included in the same package when enabling the Games feature, we just need to find in the Properties window the setting Xps-Foundation-Xps-Viewer and change its value from Enabled to Disabled :

Customize Default User Profile in Windows 7 – Part 1
Figure 17: Blocking the installation of the XPS Viewer application

Conclude

Now that we have completed the 5 automatic configuration customizations for our reference settings, to finish click the Save button in Windows SIM to save your changes to the answer file, then close the task sequence Properties window.

In the next part of this series, we will show you how to do some additional customization after installing the reference build. We will then “ sysprep ”, capture, and deploy the customized image to see how the default user profile customizations work.

Sign up and earn $1000 a day ⋙

Leave a Comment

10 Ways to Fix Missing Bluetooth Option in Windows 11

10 Ways to Fix Missing Bluetooth Option in Windows 11

Bluetooth options have disappeared on your Windows 111 computer? This can happen for a number of reasons, including temporary glitches, corrupted Bluetooth drivers, and issues with the Windows operating system.

How to get and provide remote support using the Quick Assist app in Windows 11

How to get and provide remote support using the Quick Assist app in Windows 11

This guide will show you how to use the Quick Assist app to get help or help someone over a remote connection in Windows 11.

ExpressVPN Now Supports Windows ARM PCs

ExpressVPN Now Supports Windows ARM PCs

One of the world's most popular VPN services - ExpressVPN - has officially launched an app version for Windows PCs running on ARM-based processors.

How to uninstall Adobe Creative Cloud on Windows properly

How to uninstall Adobe Creative Cloud on Windows properly

Few modern Windows apps are as difficult to uninstall as the Adobe Creative Cloud (Adobe CC) suite. However, with the right approach, you can remove Adobe CC and all traces of it in about 10 minutes.

The methods and customizations in this article will help speed up your Windows 10 like the wind.

The methods and customizations in this article will help speed up your Windows 10 like the wind.

Do you want to speed up Windows 10, improve Windows 10 speed or speed up Windows 10 startup? All ways to speed up Windows 10 are in this article, please read and apply to make your Windows 10 computer run faster!

How to Install Windows 11 on an Unsupported PC

How to Install Windows 11 on an Unsupported PC

If your PC doesn't meet Microsoft's hardware requirements, don't give up. It's possible to install Windows 11 on unsupported PCs.

How to Restore Display Settings on Windows 11

How to Restore Display Settings on Windows 11

Incorrect or improperly changed Display Settings in Windows 11 can cause problems. Here's how to restore Display Settings in Windows 11.

15 Diagnostic Tools to Check the Health of Your Windows PC

15 Diagnostic Tools to Check the Health of Your Windows PC

Whether you're new to Windows or a veteran, your system will eventually run into problems that aren't easy to diagnose. Before calling tech support, there are a number of PC diagnostic tools you can try.

This hidden setting in Windows will make videos play smoother!

This hidden setting in Windows will make videos play smoother!

Whether you're a streamer or enjoy diving into your personal video library curated over the years, customizing video playback settings on your Windows 11 PC can significantly improve your multimedia experience.

How to use Dynamic Lighting Windows 11 to adjust RGB lights

How to use Dynamic Lighting Windows 11 to adjust RGB lights

Windows 11 introduces an interesting feature called Dynamic Lighting, a system that controls RGB lighting on devices like laptops, keyboards, mice, and other connected devices.

How to Fix Windows Error Code 0xc000000f

How to Fix Windows Error Code 0xc000000f

Error code 0xc000000f is a common error on Windows PCs. Often accompanied by messages like “Windows failed to start” or “Your PC needs to be repaired”, it is the dreaded blue screen of death (BSOD) error that no user wants to see.

How to block application installation on non-system drives Windows 11

How to block application installation on non-system drives Windows 11

If you want to block application installation on drives other than the system drive, you can disable this feature via Group Policy or Registry Editor.

How to check application version installed on Windows 11

How to check application version installed on Windows 11

Although updates are installed automatically, sometimes you may need to check the version of an application on Windows.

4 ways to quickly open the network connection tool on Windows

4 ways to quickly open the network connection tool on Windows

Whether you're a casual Windows user or a professional technician, knowing how to quickly open Network Connections will help you manage your network more efficiently.

How to Use Clipboard History in Windows 10

How to Use Clipboard History in Windows 10

Windows clipboard history got a major overhaul with the Windows 10 October update.