Command line for unsharing printers

  • Thread starter Thread starter Ariel
  • Start date Start date
A

Ariel

Guest
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
 
Re: Command line for unsharing printers

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
 
Re: Command line for unsharing printers

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