Change a Default Client Application
Applies To: Windows 7, Windows Server 2008 R2
Note
This content applies to Windows 7. For Windows 8 content, see Windows Deployment with the Windows ADK.
When OEMs use the unattended Setup settings under Microsoft-Windows-Shell-Setup | ClientApplications
to install default applications to be invoked, under equivalent circumstances, instead of Windows® Internet Explorer®, Windows Media Center, or Windows Media Player, these applications become available to the user when the user elects to restore Computer Manufacturer defaults through the Set Default Programs user interface.
These settings do not set the Start Menu default programs icons for an Internet browser application. Setting these Default Programs is not a fully automated process and requires booting the computer into audit mode and manually setting the application.
For more information about the settings under Microsoft-Windows-Shell-Setup | ClientApplications
, see "ClientApplications" in the Unattended Windows Setup Reference.
For more information about audit mode, see, Customize Windows in Audit Mode.
To set default programs
On the destination computer, install Windows® 7.
Verify that you can open Internet Explorer.
Install the new client browser, but do not open or launch it.
On your technician computer, open Windows System Image Manager (Windows SIM).
Open a Windows image.
For more information, see Open a Windows Image or Catalog File.
Create an answer file.
For more information, see Create a New Answer File.
In the Windows Image pane, locate Microsoft-Windows-Shell-Setup |
ClientApplications
and right-click the component.Select the auditUser configuration pass.
In the Properties pane, in the Settings section, specify the canonical name of the application that you intend to be the default.
For more information about canonical names, see this MSDN Web site.
Validate your answer file.
For more information, see Validate an Answer File.
Save your answer file to removable media, such as a USB flash device. For example, name the file DefaultClient.xml.
Insert the removable media into the destination computer.
On the destination computer, click Start, point to All Programs, point to Accessories, and then click Command Prompt.
At the command prompt, type:
C:\windows\system32\sysprep\sysprep /audit /reboot /unattend:defaultclient.xml
Make sure that the path to the DefaultClient.xml file is complete and correct.
The destination computer reboots into audit mode.
Note
If you install Windows by using an answer file, that answer file is cached to the system, so when subsequent configuration passes run, settings in the cached answer file are applied to the system. Because you are specifying a new answer file when you run the Sysprep tool, the cached file will be overwritten with the default client answer file.
If there are any unprocessed settings in the cached answer file, add those settings to the new, default client answer file. For example, if you have settings in the oobeSystem configuration pass in your cached answer file and the oobeSystem configuration pass has not yet run, then the settings in that pass must be added to the DefaultClient answer file as well.
For more information, see [Sysprep Command-Line Syntax](dd744330\(v=ws.10\).md) and [Methods for Running Windows Setup](dd744269\(v=ws.10\).md) in the OEM Preinstallation Kit User’s Guide.
- In audit mode, click Start, click Default Programs, click Set Program Access and Computer Defaults and then click Computer Manufacturer.
To verify new default programs
On the destination computer, click Start, point to All Programs, point to Accessories, and then click Command Prompt.
At the command prompt, type:
C:\windows\system32\sysprep\sysprep /reboot /oobe
In Windows Welcome, create a new user account and then log on as that user.
Verify that the client applications that you chose as defaults are there and functioning as expected.
Next Steps
After you have verified that the new applications are present and functional, you should either reseal the computer for distribution to an end user or capture the new image for deployment. For more information about capturing the image for future deployment, see Phase 4: Deploying Your Windows Image. For a more thorough discussion of the various factors to consider in your deployment of Windows, see Phase 1: Planning Your Deployment.
To reseal the destination computer
On the destination computer, click Start, point to All Programs, point to Accessories, and then click Command Prompt.
At the command prompt, type:
C:\windows\system32\sysprep\sysprep /generalize /oobe
The Sysprep tool removes unique system information from the Windows installation. The security ID is reset. Any restore points are cleared and the event logs are deleted. Windows Welcome runs the next time the computer is started.
Note
You must use the Sysprep tool to ensure that Windows Welcome runs the first time that the end user uses the computer. End users must be able to accept the Microsoft Software License Terms. Additionally, end users use Windows Welcome to set up user accounts and to see all of the Windows first tasks.