Solved

Delete a GPO deployed printer so you can re-add to "refresh" settings on End User Machines?

Posted on 2011-03-24
6
1,276 Views
Last Modified: 2012-05-11
How can you walk up to an end user machine, logged in as the user, go into Devices and Printers, right click a printer, click delete, and then readd the printer?

Once we click Delete, it gives an "Access Denied" error.

We are deploying via Server Manager in 2008, and we have mostly Windows 7 machines.

Most printer problems are solved by "re-adding" the printer.

Thanks!
0
Comment
Question by:ispman22
  • 3
  • 3
6 Comments
 
LVL 16

Expert Comment

by:Spike99
ID: 35210488
Try holding down shift as you right click on "printers and faxes" in the control panel, then click on "Run as..."  Then, type in your admin credentials.   Then, I think you could delete the printer.  Since this printer is mapped using a GPO, it should just come back after the next logon.

Please, let us know if that helps.

Alicia
0
 

Author Comment

by:ispman22
ID: 35215492
Thanks for the reply, however that did not work.

Our machines are running windows 7.

There is no ability to "Run As" in Devices and Printers.

The option to delete the device is "Remove Device"

It will not let you enter credentials.

Thanks!
0
 
LVL 16

Expert Comment

by:Spike99
ID: 35216107
Drat, I think that would work in XP.

I think I found a workaround for that in Win7.

Click on Start > All Programs > Accessories.
Right-click on the "Command Prompt" icon
Click on "Run as Administrator" (I think at this point you would get prompted for credentials since the user is logged on without admin privileges).
type:  control printers
press enter
This will run "Devices and Printers" with those elevated, admin privileges
try to delete the printer

I can't verify with my own account whether this would work or not since I have admin rights on my Win7 machine, but it's worth a shot.

Here is a list of control panel applets you can run from the command line in Windows 7:
http://en.wikipedia.org/wiki/List_of_Control_Panel_applets
http://support.microsoft.com/kb/192806

Although that MS article applies to old versions of Windows, many of those commands still work in Windows 7.

I hope this helps.

Alicia
0
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

Author Comment

by:ispman22
ID: 35216467
Didnt work again.

However, that was useful information :)

I really think it might be a GPO setting on the server side?

0
 
LVL 16

Accepted Solution

by:
Spike99 earned 500 total points
ID: 35217018
Since this is a GPO deployed printer (and I honestly don't have any experience with those), you might have to deny the user access to that GPO (either outright deny them access to it in GP mgt. console or just take them out of the group used to apply the GPO to their account) and then  have the user log off & back on.  Maybe you'd be able to delete the printer after that.

You can always put them back in afterward.

Or, you might just try deleting the printer from their local profile by deleting the key in the registry.  To do this the user will have to be logged on.
1.  Press CNTRL+ALT+DEL to switch user, log on with your admin account.
2.  edit the registry by typing in regedit on the run line
3.  look for the user's SID in HKEY_Users (if you aren't sure which SID is which, check permissions on each SID listed to find out which one belongs the user)
4. See if the printer you want to delete is in:  HKU\SID\Printers (either in Connections or DevModePer User or DevModes2)
5.  Delete the printer

I think that deleting it from the registry directly might work.

If you're nervous about deleting a printer that way, back up the Printers key to a REG file before deleting the printer.
0
 

Author Closing Comment

by:ispman22
ID: 35231717
Thanks! I appriciate your help.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

To effectively work with Diskpart on a Server Core, it is necessary to write some small batch script's, because you can't execute diskpart in a remote powershell session. To get startet, place the Diskpart batch script's into a share on your loca…
I was supporting a handful of Windows 2008 (non-R2) 2 node clusters with shared quorum disks. Some had SQL 2008 installed and some were just a vendor application that we supported. For the purposes of this article it doesn’t really matter which so w…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

759 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

20 Experts available now in Live!

Get 1:1 Help Now