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

How to add JPEG XL support in Windows 11

How to add JPEG XL support in Windows 11

Windows 11 doesn't support the JPEG X image format by default, but you can install an add-on that does. Here's how to add JPEG XL support in Windows 11.

Instructions to fix the error of not being able to pin applications to the Windows 11 Taskbar

Instructions to fix the error of not being able to pin applications to the Windows 11 Taskbar

In the process of pinning applications, sometimes we encounter some errors such as not being able to pin the application to the Taskbar. Below are some ways to fix the error of not being able to pin the application to the Windows 11 Taskbar.

Should I use Windows BitLocker to encrypt my hard drive?

Should I use Windows BitLocker to encrypt my hard drive?

Windows BitLocker offers an easy-to-use solution for encrypting your hard drive. However, it also has its drawbacks, so it may not be a great choice for everyone.

How to Overwrite Deleted Data on a Drive in Windows 11/10

How to Overwrite Deleted Data on a Drive in Windows 11/10

This guide will show you how to overwrite (securely erase) deleted data on a drive so that it cannot be recovered or accessed in Windows 10 and Windows 11.

Tips to add Copilot to Windows 11 right-click menu

Tips to add Copilot to Windows 11 right-click menu

If you regularly use Copilot on Windows 11, there is a very simple way to quickly access Copilot, which is to add Copilot to the right-click menu.

How to add a printer to Windows 10

How to add a printer to Windows 10

Adding a printer to Windows 10 is simple, although the process for wired devices will be different than for wireless devices.

This PowerShell script can bypass Windows 11 system requirements, Microsoft Account

This PowerShell script can bypass Windows 11 system requirements, Microsoft Account

A new utility is being developed that will help remove the strict system requirements of Windows 11.

10 Important Mistakes to Avoid When Maintaining Your Computer

10 Important Mistakes to Avoid When Maintaining Your Computer

PC maintenance is essential for long-term, efficient performance. However, there are some mistakes you can make that can do more harm than good to your PC.

How to enable Smart App Control Windows 11 protection

How to enable Smart App Control Windows 11 protection

Smart App Control (SAC) is a security feature included in the Windows Security application that locks down the system, allowing only trusted applications to run.

How to configure TCP/IP settings in Windows

How to configure TCP/IP settings in Windows

Your computer needs a way to communicate with other devices, and that's where TCP/IP comes in. TCP/IP ensures that data moves smoothly across the network, whether you're browsing the web or sharing files.

Files That Are Wasting Space on Your PC Without You Realizing

Files That Are Wasting Space on Your PC Without You Realizing

Uncompressed files can silently take up gigabytes of space on your Windows PC—slowing things down and cluttering your drive without you even realizing it.

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.