Re: Removing printers remotely?
- From: "Alan Morris [MSFT]" <alanmo@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 4 Nov 2005 09:33:17 -0800
The user can use the prnmngr.vbs file in system32.
The policy you set only stops users from adding or deleting printers from
the UI. All spooler api calls will succeed.
The user will need to run this or you can run this when the user is logged
on.
prnmngr /?
prnmngr -d -p \\server\printer
If you do not want the users to realize they can in fact add and delete
printers you can use the registry information.
=======================
You can remotely remove the printer from the registry (I assume you have
admin rights on the remote system).
HKCU\printers\connections
just delete the key for the old printer then stop/start the spooler
sc \\userscomputername stop spooler
sc \\userscomputername start spooler
I hope this information is useful to others as well as yourself.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
This posting is provided "AS IS" with no warranties, and confers no rights.
"Linn Kubler" <lkubler@xxxxxxxxxxxxxxxxxx> wrote in message
news:eEYoV7U4FHA.268@xxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I setup a GPO to not allow my users to add or remove printers and it works
> good. Almost too good. Now I have a user with a printer that was
> installed prior to my policy and she wants it removed. Is there a way to
> remove a printer remotely from her profile? I know how to add and remove
> global printers on a workstation using the rundll32 printui.dll,
> PrintUIEntry /ga command. But I don't see how I can remove a printer from
> a specific user's profile.
>
> Any help is greatly appreciated.
>
> Thanks,
> Linn
>
>
>
>
.
- Follow-Ups:
- Re: Removing printers remotely?
- From: Linn Kubler
- Re: Removing printers remotely?
- References:
- Removing printers remotely?
- From: Linn Kubler
- Removing printers remotely?
- Prev by Date: Re: I am trying again - What I send into the printqueue is NOT what comes out in the other end :-(
- Next by Date: Re: Print spooler only releases 11 jobs at a time
- Previous by thread: Removing printers remotely?
- Next by thread: Re: Removing printers remotely?
- Index(es):