Solved

Problem with GPO Deployed Printers - "access is denied, unable to remove device"

Posted on 2010-09-23
3
6,495 Views
Last Modified: 2012-05-10
We are using Print Management and Group Policy to push printers out based upon GP objects and Sites and Services, but sometimes we need to try to remove a printer to force it to reinstall the driver.  So far the only way we've found to do so is to
Remove the computer from the OU
Gpupdate /force
reboot
Add the computer back into the OU
Gpupdate /force
reboot

If we just try to delete the printer, we get the "access is denied, unable to remove the device."  Is there any way to get around that, and let the users/us removed the devices?

0
Comment
Question by:Nomadics
3 Comments
 
LVL 39

Expert Comment

by:Adam Brown
ID: 33755772
You need to have the appropriate permissions on the printer to remove it. Allowing users the Load and Unload Device Drivers right should give you what you need. (Info on setting user rights assignments here: http://www.experts-exchange.com/Software/Server_Software/File_Servers/Active_Directory/A_3360-Understanding-User-Rights-Assignment-How-to-lock-down-or-unlock-your-user%27s-actions.html )

You may also need to have the Manage Printers permission on the share to remove it from the computers, so check that as well.
0
 
LVL 7

Expert Comment

by:pdoelle
ID: 33759511
[Okay, this is going to sound silly, but I ran into this on numerous occasions in our office and it always worked...]

Assuming that you have the appropriate permissions to remove the printer and it still won't budge, unplug the LAN cable from the workstation, give it a minute, and then go ahead and try to remove the printer.
0
 

Accepted Solution

by:
Nomadics earned 0 total points
ID: 33886444
One of our guys figured out the best way to handle it

Create a VBScript (see code below).

Run the scripts, then run gpupdate /force or reboot to reinstall printer.

Set WshNetwork = CreateObject("WScript.Network") WshNetwork.RemovePrinterConnection "\\<print server>\<Network Printer>"

Open in new window

0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question