Partager via


Enable or disable a service for a hardware profile

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To enable or disable a service for a hardware profile

  1. Open Services.

  2. In the details pane, right-click the service that you want to enable or disable, and then click Properties.

  3. On the Log On tab, click the hardware profile that you want to configure.

  4. Click Enable or Disable, and then click OK.

Caution

  • Use caution when you disable services by using this procedure. If you disable a service for a certain hardware profile, the Hardware Profile settings override the Startup type setting for that service.

  • In most cases, it is recommended that you not change the Allow service to interact with desktop setting. If you allow the service to interact with the desktop, any information that the service displays on the desktop will also be displayed on an interactive user's desktop. A malicious user could then take control of the service or attack it from the interactive desktop.

Important

  • To improve performance and security in the Windows Server 2003 family, several services have been disabled by default that were previously enabled on Windows 2000. For a table that lists the default settings and provides information about how to enable these services, see Default settings for services. Note that these settings apply only to new installations, not upgrades; all previous service configurations are preserved during upgrades to the Windows Server 2003 family.

Notes

  • To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.

  • To open Services, click Start, click Control Panel, double-click Administrative Tools, and then double-click Services.

  • You can use the options on the Hardware tab in System in Control Panel to create and manage hardware profiles. For more information about creating hardware profiles, see Related Topics.

  • You may want to set up a hardware profile to test any newly installed services. For example, you can create two hardware profiles for a newly installed service: one profile in which the service is enabled and a second profile in which the service is disabled. This way, you can troubleshoot any problems that might occur, such as a driver not loading properly.

  • If you receive a Connection Manager error message when you open the properties dialog box for a service, verify that the Remote Registry service is running on the specified computer. If the Remote Registry service is not running, or if the specified computer is running Windows NT 4.0, you cannot view or modify hardware profile settings, but you can perform any other actions. For more information, see Troubleshooting Services Snap-in. Also, see "Managing System Services" at the Microsoft Windows Resource Kits Web site.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Configure how a service is started Start, stop, pause, resume, or restart a service Create a hardware profile SC