Solved

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

815 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

8 Experts available now in Live!

Get 1:1 Help Now