Solved

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

Posted on 2010-09-23
3
6,676 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 41

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

First some basics on Windows 7 Backup.  It has 2 components one is a file based backup which is stored in .zip files each zip is split at around 200 Megabytes and there is the Image Backup which is as the name implies a total image of the partition …
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

688 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