?
Solved

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

Posted on 2011-03-24
6
Medium Priority
?
1,634 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
[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
  • 3
6 Comments
 
LVL 17

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 17

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
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 

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 17

Accepted Solution

by:
Spike99 earned 2000 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

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

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

After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
Suggested Courses

765 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