Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Cannot delete printer deployed by GPO


  • Please log in to reply
5 replies to this topic

#1
VoodooV

VoodooV

    Newbie

  • Member
  • 34 posts
  • Joined 17-August 07
Greetings. I apologize if this is the wrong forum but it seems related to Windows 7 since I was able to do this in XP.

Our printers are all installed on a Win2K3 server and I deploy them to our users through group policy. I have a user using Windows 7 64bit and she is having problems with her printer and I was going to remove the printer and driver and reinstall. In XP, I would just be able to right click and delete the printer, then delete the driver, do a gpupdate /force and reboot and they'd get a fresh driver.

But in Win7, it is not allowing me to do that. When I try to delete the printer from the computer (even when logged in as member of the administrators group, I get the message "Access is denied, unable to remove device" Since I can't delete the printer, I can't delete the driver.

I've googled this with no luck. I've found one hit that describes the problem exactly...but no solution is given.

I suspect it's some Group Policy setting I need to update for Win7...but I'm not having any luck finding anything that would apply.

Thanks in advance!


How to remove advertisement from MSFN

#2
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,921 posts
  • Joined 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Donator

By "Administrators" group, do you mean Domain Admins group in Active Directory, or are you using a domain account that is a member of the local Administrators group?
MSFN RULES | GimageX HTA for PE 3-5 | lol probloms
msfn2_zpsc37c7153.jpg

#3
VoodooV

VoodooV

    Newbie

  • Member
  • 34 posts
  • Joined 17-August 07

By "Administrators" group, do you mean Domain Admins group in Active Directory, or are you using a domain account that is a member of the local Administrators group?


domain account that is a member of the local Administrators group.

our AD is such that we don't have control over the domain, we are given an OU on the domain and we put our own OUs and workstation/server/user/etc objects under that.

The server that the printers are installed on are ours, as are the workstations, but the domain we put them on is not ours to control. The GP objects are created and maintained by us

Edited by VoodooV, 17 June 2010 - 08:45 AM.


#4
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
You might want to remove the machine or the user from the OU that's applying the printer(s) (a test OU with all inheritance blocked and no GPOs is usually the best way to do this), and then gpupdate /force and try to remove it. It's very possible that the driver/queue is locked by policy processing.
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

#5
VoodooV

VoodooV

    Newbie

  • Member
  • 34 posts
  • Joined 17-August 07

You might want to remove the machine or the user from the OU that's applying the printer(s) (a test OU with all inheritance blocked and no GPOs is usually the best way to do this), and then gpupdate /force and try to remove it. It's very possible that the driver/queue is locked by policy processing.


Thanks! I'll give that a try this afternoon. It's not just this one computer, it seems all of our Windows 7 computers that have printers deployed by GPO have this issue. Assuming that moving the computer object to a different OU that has inheritance blocked clears this up, How would I fix this for the future?

Also, the printers are deployed on a per-computer basis if that helps at all.

#6
cluberti

cluberti

    Gustatus similis pullus

  • Supervisor
  • 11,252 posts
  • Joined 09-September 01
  • OS:Windows 8.1 x64
  • Country: Country Flag
The only other thing you might try is to procmon trying to delete the printer to see if something's got locks on files or reg keys, for instance.
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
--------------------
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users