You Are Prompted for Administrator Credentials When You Try to Install a Plug and Play Printer (326473)
The information in this article applies to:
- Microsoft Windows XP Professional
- Microsoft Windows XP Home Edition
This article was previously published under Q326473 SYMPTOMS
When you log on to your computer as a member of the Power Users group that has the "Load and unload device drivers" user right and then you connect a Plug and Play printer to a local port on the computer, you may be prompted to provide administrator credentials before you can install the printer.
If you provide administrator credentials, the Add New Hardware Wizard guides you through the installation process. You may be prompted for additional information to install the printer successfully.
If you do not provide administrator credentials and cancel the installation, you receive the following error message, and the printer driver is not installed:
You do not have sufficient security privileges to install hardware on
this computer. Please contact your site Administrator, or logout and log
in again as an administrator and try again.
NOTE: If you use the Add Printer Wizard to install the printer, you are not prompted for administrator credentials and you can install the printer successfully.
Some Plug and Play printers are installed without any user intervention. You may see some Add New Hardware Wizard messages, but you are not prompted to provide any administrator credentials.
CAUSE
For security reasons, Windows XP cannot permit a user who is not an administrator to install a device on the computer. When you log on using nonadministrator credentials, the "Load and unload device drivers" user right only allows you to make nonpersistent changes to the state of the drivers that are running on the computer. A nonpersistent change is a change that goes away when you restart the computer (for example, a command such as net start or net stop).
Your access control list (ACL) determines if you can make a persistent change to the computer. Your ACL is not the same as your set of user rights. Only members of the Administrator group have an ACL high enough to make persistent changes to the computer. A persistent change (for example, installing a device) is a change that remains in effect even after you restart the computer (for example, making a permanent change in the registry or installing a new file on the hard disk).
The print spooler includes a feature designed to permit installation of network printers. If you are a member of the Power Users group that has the "Load and unload device drivers" user right, you can take advantage of this feature by using the Add Printer Wizard to install a printer. When you do so, the print spooler acts as your proxy to make the persistent changes that are required to install the printer driver. The print spooler does not use Plug and Play installation, so Windows XP does not check your ACL before it installs the printer. However, when you connect a Plug and Play printer to a port on the local computer, Plug and Play detects the printer and uses Plug and Play rules to install the driver. If you are logged on as a member of the Power Users group, Windows XP prompts you for administrator credentials because your ACL is not high enough to install a device by means of Plug and Play. This is true even if you have the "Load and unload device drivers" user right.
STATUSThis behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/17/2002 |
---|
Keywords: | kbprb kbprint KB326473 |
---|
|