Command line for unsharing printers

A

Ariel

Friends,

I think the subject is clear enough. I would like to know if there is a
command for unsharing printers in Windows 2003

I need to unshare several printers and do not want to do it manually.

Thanks!

Ariel
 
J

John John

You should be able to do that with PrintUI.

PrintUI.DLL User's Guide and Reference
http://www.microsoft.com/windowsserver2003/techinfo/overview/printuidll.mspx

(Download the .doc file)

John

Ariel wrote:

> Friends,
>
> I think the subject is clear enough. I would like to know if there is a
> command for unsharing printers in Windows 2003
>
> I need to unshare several printers and do not want to do it manually.
>
> Thanks!
>
> Ariel
 
P

Pegasus \(MVP\)

How about this command:

net share PrinterShare /d


"Ariel" <Ariel@discussions.microsoft.com> wrote in message
news:261DAFE5-63BA-4B7D-8F78-4D6E8AB45FCA@microsoft.com...
> Friends,
>
> I think the subject is clear enough. I would like to know if there is a
> command for unsharing printers in Windows 2003
>
> I need to unshare several printers and do not want to do it manually.
>
> Thanks!
>
> Ariel
 
Back
Top Bottom