Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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,780 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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
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…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

609 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