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

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Fix Windows Error Code 0xc0000098: Backup ACPI.sys to Prevent Boot Failure

Error code 0xc0000098 in Windows causes a blue screen error on startup. The ACPI.sys driver is often to blame, especially on unsupported versions of Windows 11 like 23H2 or 22H2 or Windows 10.

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

Quickly fix Windows 10/8/7 computer error that freezes and cannot exit Safe Mode

In some cases, sometimes you start your computer in Safe Mode and the computer freezes. So how to fix the error in this case, please refer to the article below of WebTech360.

How to fix Snipping Tool keeps showing error

How to fix Snipping Tool keeps showing error

Snipping Tool is a powerful photo and video capture tool on Windows. However, this tool sometimes has some errors, such as constantly displaying on the screen.

How to get the fastest internet connection from your router

How to get the fastest internet connection from your router

Every network has a router to access the Internet, but not everyone knows how to make the router work better. In this article, we will introduce some router tips to help speed up the wireless connection in the network.

Common Mistakes When Performing Internet Speed ​​Tests

Common Mistakes When Performing Internet Speed ​​Tests

If the results seem slower than expected, don't be too quick to blame your ISP - mistakes when performing the test can skew your numbers.

What is QoS? How to use QoS for faster Internet speeds when you need it most

What is QoS? How to use QoS for faster Internet speeds when you need it most

In the article below, we will introduce and guide you to learn about the concept of QoS - Quality of Service on router devices.

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Why cant this built-in Credential Manager feature in Windows replace a password manager?

Windows has a built-in Credential Manager, but it's not what you think it is—and certainly not a replacement for a password manager.

How to install free HEVC codecs on Windows 10 (for H.265 video)

How to install free HEVC codecs on Windows 10 (for H.265 video)

Microsoft charges for its official codecs and doesn't include them in Windows 10. However, you can get them for free without pulling out your credit card and spending $0.99.

Instructions to fix Access Denied error when accessing files or folders on Windows

Instructions to fix Access Denied error when accessing files or folders on Windows

While having trouble accessing files and folders can be frustrating, don't panic—with a few simple tweaks, you can regain access to your system.

How to check if USB Boot has been created successfully?

How to check if USB Boot has been created successfully?

After creating a USB boot to install Windows, users should check the USB boot's performance to see if it was created successfully or not.

4 Types of Windows Data That Are Growing in Size: How to Control Them?

4 Types of Windows Data That Are Growing in Size: How to Control Them?

Although Windows Storage Sense efficiently deletes temporary files, some types of data are permanent and continue to accumulate.

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

How to turn off background apps in Windows 11, reduce RAM consumption on Win 11

You can turn off Windows 11 background apps to optimize performance, save battery and reduce RAM consumption.

Instructions to fix the error “Network path was not found” in Windows

Instructions to fix the error “Network path was not found” in Windows

When a computer, mobile device, or printer tries to connect to a Microsoft Windows computer over a network, for example, the error message network path was not found — Error 0x80070035 may appear.

How to block Internet connection of Windows 10 software and applications

How to block Internet connection of Windows 10 software and applications

We can block Internet access for any application or software on the computer, while other programs can still access the network. The following article will guide readers on how to disable Internet access for software and applications on Windows.

How to Stay Safe on Windows 10 Until 2030

How to Stay Safe on Windows 10 Until 2030

Instead of paying $30 for a year of security updates, keep Windows 10 safe until 2030 with this simple solution.