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 Backup and Restore Microsoft Defender Windows 11

How to Backup and Restore Microsoft Defender Windows 11

You can back up and restore your Microsoft Defender settings on a new computer or troubleshoot any issues you may have with the application.

Clean up the WinSxS folder to free up Windows space

Clean up the WinSxS folder to free up Windows space

Windows uses a system folder called WinSxS to store Windows installation files. However, these files take up a lot of space on the system drive. Therefore, you should delete these folders and files.

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!

What is PING? How to test PING?

What is PING? How to test PING?

In the article below, we invite you to learn some simple examples of the PING command on Windows!

How to Open and Use MSConfig on Windows 10

How to Open and Use MSConfig on Windows 10

MSConfig is a versatile tool that is great for managing the startup process on your computer. It can also be used for more than just troubleshooting performance and stability issues.

6 Ways to Run Software with Administrator Rights in Windows

6 Ways to Run Software with Administrator Rights in Windows

Running some programs with administrator rights is often necessary for full functionality, especially for system tools or file editing and settings software.

How to fix BSOD Memory Management error

How to fix BSOD Memory Management error

Have you ever encountered the Windows Memory Management blue screen of death error? This common Windows Stop Code is annoying, but there are some simple fixes for Windows Memory Management errors.

Most people dont use these hidden features in Windows Security.

Most people dont use these hidden features in Windows Security.

Windows Security does more than just protect against basic viruses. It protects against phishing, blocks ransomware, and prevents malicious apps from running. However, these features aren't easy to spot—they're hidden behind layers of menus.

Follow these 7 steps to keep Windows 11 from slowing down again!

Follow these 7 steps to keep Windows 11 from slowing down again!

From deleting temporary files to updating software, there are many simple and effective ways to keep your computer running smoothly like new.

Heres how to create a virtual hard drive (Virtual Hard Disk) on Windows 10

Heres how to create a virtual hard drive (Virtual Hard Disk) on Windows 10

Basically, a Virtual Hard Disk (VHD) is a file format that contains structures that are “exactly” identical to the structure of a hard drive.

Why is there a lock icon on the drive and how to remove it?

Why is there a lock icon on the drive and how to remove it?

Wondering why there is a lock icon on a drive in File Explorer? This article explains what it is and how to remove the lock icon from a drive in Windows 10.

How to use SpeedFan to check CPU temperature and computer fan speed

How to use SpeedFan to check CPU temperature and computer fan speed

SpeedFan tool checks your computer's temperature, CPU usage, and fan speed so you can cool it down.

10 Great Windows Features That Many People Dont Use

10 Great Windows Features That Many People Dont Use

From killing frozen apps right on the taskbar to automatically locking your computer when you walk away, there are plenty of tools you'll wish you'd discovered sooner.

3 Tools You Need to Remove Windows 11 Tracking

3 Tools You Need to Remove Windows 11 Tracking

Don't completely trust the default settings when it comes to privacy. Windows 11 is no exception, as it often oversteps its bounds when it comes to data collection.

How to download Windows 10, download Windows 10 ISO file from Microsoft

How to download Windows 10, download Windows 10 ISO file from Microsoft

When downloading Windows 10 from Microsoft, you will download Windows 10 as an ISO file. From this Windows 10 ISO file, you can use it to create a bootable USB, a Windows installation USB, or a computer ghost. Let's see how to download Windows 10!