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

Instructions to change Google DNS 8.8.8.8 and 8.8.4.4

Instructions to change Google DNS 8.8.8.8 and 8.8.4.4

Google DNS 8.8.8.8 8.8.4.4 is one of the DNS chosen by many users, especially to increase network access speed or access blocked Facebook.

How to use TickTick desktop widget instead of to-do apps

How to use TickTick desktop widget instead of to-do apps

Once you put your to-do lists on Windows 11's widget panel, they start appearing in front of you every morning—and suddenly, it's not so easy to ignore them anymore.

How to Open Windows Security in Windows 10

How to Open Windows Security in Windows 10

Windows Security is turned on and proactively protects your device by scanning for malware, viruses, and other security threats.

How to Free Up 48GB on Windows 11 PC Without Losing Any Important Data

How to Free Up 48GB on Windows 11 PC Without Losing Any Important Data

Between temporary files, outdated backups, duplicate data, and unused apps, there are plenty of ways to reclaim space without touching your personal files.

How to view computer configuration easily and quickly

How to view computer configuration easily and quickly

There are many ways for you to view your computer configuration, view your laptop configuration.

Check MD5 and SHA1 to check file integrity

Check MD5 and SHA1 to check file integrity

We will use a specialized program to check the MD5 and SHA1 codes of the file to see if there are any errors in the file. And the MD5 check software HashCalc is one of the quite useful tools to check MD5 and SHA1 codes.

What is the AppData folder in Windows? When should I use it?

What is the AppData folder in Windows? When should I use it?

Have you ever stumbled upon the mysterious AppData folder while rummaging through files on your computer or trying to get a Minecraft mod to work?

How to show hidden files and folders on Windows 10/8/7

How to show hidden files and folders on Windows 10/8/7

To view hidden files, hidden folders, hidden system files on Windows is quite simple. Readers can see detailed instructions on showing hidden files and viewing file extensions in this article.

Fix Windows + Shift + S shortcut not working on Windows 10

Fix Windows + Shift + S shortcut not working on Windows 10

The Win + Shift + S shortcut in Windows 10 allows users to capture a portion or the entire screen and copy it to the clipboard. In most cases, this feature works as expected, but sometimes it can become unresponsive.

12 ways to quickly access Settings on Windows 10

12 ways to quickly access Settings on Windows 10

On Windows 10, Microsoft integrated a new application called Settings. This Settings application is a Metro application created by Microsoft to replace the classic Control Panel application.

List of useful Alt shortcuts to insert special characters in Windows

List of useful Alt shortcuts to insert special characters in Windows

Simply hold down the Alt key and type the corresponding number to insert a special character. If you have memorized the code of your favorite special character, you can insert it in less than a second.

Instructions for sharing files using Nearby Sharing Windows 11

Instructions for sharing files using Nearby Sharing Windows 11

Nearby Sharing Windows 11 is a built-in sharing feature on your computer that lets you send files or web pages directly to others.

How to fix IRQL NOT LESS OR EQUAL error on Windows

How to fix IRQL NOT LESS OR EQUAL error on Windows

The IRQL NOT LESS OR EQUAL error is a memory-related error that typically occurs when a system process or driver attempts to access a memory address without proper access permissions.

Turn off Windows Defender (Windows Security) on Windows 10, Windows 11

Turn off Windows Defender (Windows Security) on Windows 10, Windows 11

How to completely disable Windows Defender on Windows 10? There are several ways to disable Windows Defender on Windows 10, please see the detailed instructions below.

How to use IE Mode to replace the recently discontinued Internet Explorer

How to use IE Mode to replace the recently discontinued Internet Explorer

From Windows 11, Internet Explorer will be removed. In this article, WebTech360 will guide you how to use Internet Explorer on Windows 11.