Fix Error 740 While Adding a Printer
In this article
Error 740 ("The requested operation requires elevation") appears when Windows blocks the printer installation because the process isn't running as administrator. The fix is to run the printer setup or the Add Printer wizard with elevated privileges, or to adjust the printer driver's permissions. Below are the exact steps to resolve it, plus what to do if the error persists.
What You'll Need
- An account with administrator privileges on the Windows PC (or the admin password).
- The printer's driver installer file (downloaded from the manufacturer's official site) or the printer's IP address if it's a network printer.
- Access to the printer's manual or the manufacturer's support page for driver-specific steps (optional but helpful).
Step-by-Step
- Run the installer as administrator. Right-click the printer driver setup file (usually named something like setup.exe or install.exe) and choose Run as administrator. Click Yes on the User Account Control prompt. This is the most common fix because the installer needs to write to system folders that require elevation.
- Use the Windows Add Printer wizard with elevated rights. If you're adding the printer via Windows Settings (Settings > Bluetooth & devices > Printers & scanners > Add device), close that window. Instead, press Windows + R, type
printui.exe /il, and press Enter. This opens the classic Add Printer wizard with the necessary permissions. Follow the on-screen prompts to add your printer. - Add the printer manually via its IP address (for network printers). In the Add Printer wizard, choose Add a printer using an IP address or hostname. Enter the printer's IP address (find it on the printer's display or in its network settings). Select the correct driver from the list, or click Have Disk to browse to the driver files you downloaded.
- Check the printer driver's permission settings. If the error occurs during a network printer install, the driver may not be installed on the PC. Open Device Manager (right-click Start > Device Manager). Expand Print queues. If your printer appears with a yellow exclamation mark, right-click it and choose Update driver. If that doesn't work, uninstall the device (right-click > Uninstall device) and then re-add it using step 2.
- Temporarily disable User Account Control (UAC) only if necessary. This is a last resort because it reduces security. To do it, open the Start menu, type
UAC, and select Change User Account Control settings. Drag the slider to Never notify, click OK, and restart the PC. After adding the printer, restore the slider to its original position (usually the second notch from top) and restart again. Do not leave UAC disabled. - Install the driver manually via the print management console. Press Windows + R, type
printmanagement.msc, and press Enter. In the left pane, expand Print Servers > your computer name > Drivers. Right-click Drivers and choose Add Driver. Follow the wizard to install the driver, then try adding the printer again from Settings.
Common Mistakes
- Running the installer from a downloaded zip without extracting it first. Right-click the zip, choose Extract All, then run the installer from the extracted folder.
- Using the wrong driver version. Make sure the driver matches your Windows version (e.g., 64-bit vs 32-bit) and the printer model exactly. Installing a mismatched driver can cause error 740 or other issues.
- Clicking "Add device" from the Settings app without admin rights. The Settings app may not trigger the elevation prompt. Use the
printui.exe /ilmethod instead. - Assuming the printer's IP address is static. If the printer gets a new IP from DHCP, the connection will fail. Set a static IP on the printer or use the printer's hostname instead.
Tips
- Always download drivers from the manufacturer's official website (e.g., HP, Epson, Canon). Avoid third-party driver download sites—they often bundle unwanted software or outdated files.
- If the printer is shared on a network, ensure the host computer is turned on and the printer is set as shared (right-click the printer in Settings > Printer properties > Sharing tab).
- For USB printers, try a different USB port or cable if the error appears after connection. A loose cable can cause a partial install that triggers error 740.
- Run Windows Update before installing the driver. Sometimes a pending update fixes a known printer driver issue.
Troubleshooting
If the steps above didn't fix it, try these in order:
- Restart the Print Spooler service. Press Windows + R, type
services.msc, and press Enter. Find Print Spooler, right-click it, and choose Restart. If it's not running, right-click and choose Start. - Clear the print spooler folder. Stop the Print Spooler service (as above), then open File Explorer and go to
C:\Windows\System32\spool\PRINTERS. Delete all files in that folder (they are just temporary print jobs). Restart the Print Spooler service. - Check the printer's driver status. In Device Manager, if the printer shows a yellow warning, right-click and choose Uninstall device. Then restart your PC and try adding the printer again with the elevated wizard.
- Use the Windows built-in troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters > Printer. Run it and follow the prompts.
- If nothing works, try a different driver. Some printers have a "universal" or "basic" driver (e.g., HP Universal Print Driver). Download that from the manufacturer's site and try installing it.
- As a last resort, create a new Windows user account with admin rights. Sometimes the current user profile is corrupted. Create a new account in Settings > Accounts > Family & other users > Add account, then log in and try adding the printer.
Frequently Asked Questions
Why does error 740 happen only when adding a printer?
Printer installation writes to system folders (like the driver store) that require administrator rights. If the process isn't elevated, Windows blocks it with error 740.
Can I fix error 740 without an administrator account?
No. You need admin rights to install a printer driver. If you don't have them, ask the system administrator to run the installer or grant you temporary admin access.
Will disabling UAC permanently fix the issue?
No. Disabling UAC is a temporary workaround and reduces security. It's better to run the installer as admin or use the printui command. Always re-enable UAC after adding the printer.
Does error 740 affect network printers only?
It can happen with both USB and network printers. The cause is the same: the installation process lacks elevation.
Is there a command-line way to add a printer with elevation?
Yes. Open Command Prompt as administrator (right-click Start > Command Prompt (Admin)) and type rundll32 printui.dll,PrintUIEntry /il to launch the Add Printer wizard elevated.
What if the driver installer is already running as admin but still gives error 740?
Try extracting the installer to a local folder (e.g., C:\Temp) and run it from there. Also ensure the driver is compatible with your Windows version. If it still fails, check the manufacturer's support page for a specific fix.