Solved

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

Posted on 2010-09-23
3
6,315 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 38

Expert Comment

by:Adam Brown
Comment Utility
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 6

Expert Comment

by:pdoelle
Comment Utility
[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
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

762 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

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now