Solved

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

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

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

RoboForm Secure Password Management System

RoboForm Everywhere - Superb Browser Support
Windows / Apple / IOS / Android / Linux / Chrome OS
Use different complex passwords everywhere
Best Secure Password Management by far
Synchronize all of your devices instantly
Safe, Secure & Highly Recommended!

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
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 give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

739 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