Microsoft KB Archive/327931

= HOW TO: Use the Set Program Access and Defaults Feature in Windows 2000 Professional =

Article ID: 327931

Article Last Modified on 9/14/2007

-

APPLIES TO


 * Microsoft Windows 2000 Service Pack 3
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q327931





For a Microsoft Windows XP version of this article, see 328326.

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

IN THIS TASK
 SUMMARY  To Specify Default Programs To Remove Access to Microsoft Windows Programs  

Use an Unattended Installation

  Administrative Policies for &quot;Set Program Access and Defaults&quot;  Remove &quot;Set Program Access and Defaults&quot; from the Start Menu</li> Hide &quot;Set Program Access and Defaults&quot; in the Add/Remove Programs Control Panel</li></ul> </li> Troubleshooting</li></ul> </li> REFERENCES</li></ul>

<div class="summary_section">

SUMMARY
This article describes how to use the Set Program Access and Defaults feature. This feature was originally introduced in Service Pack 3 (SP3) for Windows 2000 Professional, and is also included with Service Pack 4 (SP4) for Windows 2000 Professional. This information is intended for advanced users and IT professionals.

Note Programs must register to appear in Set Program Access and Defaults. For information about how software vendors can register their programs, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/aa969350.aspx

back to the top

To Specify Default Programs
When you install SP3 or SP4 for Windows 2000, the Set Program Access and Defaults icon is put on the Start menu and in Add/Remove Programs in Control Panel. Members of the administrators group can use the Set Program Access and Defaults feature to specify the default programs to use for certain activities, such as Web browsing, sending e-mail, or media playback and to control of the display of the program's icons, shortcuts, and menu entries.

To specify the default programs for these activities:
 * 1) Click Start, and then click Set Program Access and Defaults.

Note You can also start this utility from Control Panel. To do this, open Add/Remove Programs in Control Panel, and then click Set Program Access and Defaults.
 * 1) Select the default programs for the listed computer activities by selecting the appropriate options.

Note If your program does not appear by name, configure it as the default program, and then click to select the Use my current program option for the appropriate activity. For information about how to configure a program to be the default, contact the vendor of that program.
 * 1) Click OK.

back to the top

Remove Access to Microsoft Windows Programs
To remove access to programs such as Microsoft Internet Explorer, Microsoft Outlook Express, or Windows Media Player, an administrator can use Control Panel (as described earlier in this article) or an unattended Setup of an integrated (or &quot;slipstream&quot;) version of Windows 2000 with SP3 or SP4.

When you use these methods to remove access to programs, the standard shortcuts and program icons for these programs are removed from the Start menu, desktop, and other locations. These methods do not remove the executable files (.exe or .dll files) for these programs or disable any file and protocol associations that the program may have registered for itself. To associate the appropriate file types and protocols with another program, configure it as the default program. If the program is not registered in Set Program Access and Defaults, contact the vendor for information about how to make it the default program or to associate file types and protocols with the program. back to the top

Use an Unattended Installation
Administrators can remove access to Microsoft Internet Explorer, Outlook Express, or Windows Media Player either during unattended Setup for Windows 2000 (by using W2ksp3.exe, W2ksp4.exe or Update.exe) or while running Sysprep for Windows 2000. This method assumes you are using the integrated installation method, which allows you to simultaneously install Windows 2000 and the service pack.

To remove access to Internet Explorer, Outlook Express, and Windows Media Player during unattended Setup or during Sysprep, add a [Components] section to the Unattend.txt file that contains the following options:

'''[Components]

IEACCESS=OFF

OEACCESS=OFF

WMPOCM=OFF'''

If you are using Sysprep, add the following command line to the [GuiRunOnce] section of Sysprep.inf:

'''[GuiRunOnce]

sysocmgr /U:unattend.txt /Q /R /C /X'''

For additional information, see the &quot;Microsoft Windows 2000 Service Pack Installation and Deployment Guide&quot; (Spdeploy.htm) and the &quot;Windows 2000 Resource Kit Deployment Tools&quot; Help file (Deptool.chm, contained in Deploy.cab), which are included in the Support\Tools folder on the SP3 and SP4 CD.

back to the top

Administrative Policies for &quot;Set Program Access and Defaults&quot;
For corporate administrators: You may want to lock down your desktops and remove access to the Set Program Access and Defaults feature. You can remove the Set Program Access and Defaults icon from the Start menu and from the Add/Remove Programs dialog box. To do so, follow these steps.

Remove &quot;Set Program Access and Defaults&quot; Icon from the Start Menu
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

<ol> Click Start, click Run, type regedit in the Open box, and then click OK.</li> Do one of the following:  To remove the Set Program Access and Defaults icon for the current user, expand the following registry subkey:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

</li> To remove the Set Program Access and Defaults icon for the all users who log on to the computer, expand the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

</li></ul> </li> On the Edit menu, point to New, and then click DWORD Value.</li> In the New Value #1 box, type NoSMConfigurePrograms, and then press ENTER.</li> Right-click NoSMConfigurePrograms, and then click Modify.</li> In the Value data box, type 1 .</li> Click Decimal, and then click OK.</li> Quit Registry Editor.</li> Restart the computer.</li></ol>

back to the top

Hide &quot;Set Program Access and Defaults&quot; in the Add/Remove Programs Control Panel
WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

<ol> <li>Click Start, click Run, type regedit in the Open box, and then click OK.</li> <li>Do one of the following: <ul> <li>To remove the Set Program Access and Defaults icon for the current user, expand the following registry subkey:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Uninstall

</li> <li>To remove the Set Program Access and Defaults icon for the all users who log on to the computer, expand the following registry subkey:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Uninstall

</li></ul> </li> <li>On the Edit menu, point to New, and then click DWORD Value.</li> <li>In the New Value #1 box, type NoChooseProgramsPage, and then press ENTER.</li> <li>Right-click NoChooseProgramsPage, and then click Modify.</li> <li>In the Value data box, type 1 .</li> <li>Click Decimal, and then click OK.</li> <li>Quit Registry Editor.</li></ol>

back to the top

Troubleshooting
The following list describes known issues that you may experience when you use the Set Program Access and Defaults feature: <ul> <li>Error message: &quot;You do not have permission to set program access and defaults&quot;.

The Set Program Access and Defaults feature is only available to computer administrators. Contact your computer administrator for assistance.</li> <li>You cannot specify different defaults for different users.

The Set Program Access and Defaults feature applies to all users of your computer. You cannot specify different default programs for different users or remove access to programs for only some users.</li> <li>Set Program Access and Defaults icon does not appear when you install SP3 or SP4 on a Windows 2000 Server-based computer.

The Set Program Access and Defaults functionality that is included with SP3 or SP4 for Windows 2000 is intended for computers running Windows 2000 Professional and is not installed on Windows 2000 Server products.</li> <li>Cannot remove access to MSN Messenger.

MSN Messenger is not listed in the Choose a default instant messaging program section and the Show this program check box is not displayed next to Use my current instant messaging program. MSN Messenger is not included with Windows 2000, and current versions of MSN Messenger do not register for use with the Set Program Access and Defaults feature. To remove access to these versions of MSN Messenger or use another default instant messaging program, uninstall MSN Messenger in the Add or Remove Programs tool in Control Panel.</li> <li>Programs are unavailable after removing SP3 or SP4 with access for the programs turned off.

After you remove Windows 2000 SP3 or SP4, Windows does not restore the icons for the following programs to the desktop, to the Start menu, or the Quick Launch toolbar:

Microsoft Internet Explorer

Microsoft Outlook Express

Microsoft Windows Media Player

As a result, you cannot start these programs from the desktop or the Start menu. You can still use the program files to start the programs.

This problem occurs if you install Windows 2000 SP3 or SP4, then remove access to one or more of the programs in this list by using the Set Program Access and Defaults utility, and then you remove Windows 2000 SP3 or SP4.

To work around this problem, reinstall SP3 or SP4 for Windows 2000, and then restore access to the programs.</li> <li>Shortcuts that you create are not removed when you remove access to a program.

If you create a shortcut to a program, and you remove access to that program by using the Set Program Access and Defaults utility or by using Add/Remove Windows Components, the shortcut that you created may not be removed.</li></ul>

back to the top

<div class="references_section">