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,494 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
Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

 

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 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

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

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

OfficeMate Freezes on login or does not load after login credentials are input.
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…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

724 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