Jump to content

Command line for unsharing printers


Recommended Posts

Guest Ariel
Posted

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

  • Replies 2
  • Created
  • Last Reply

Popular Days

Guest John John
Posted

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

Guest Pegasus \(MVP\)
Posted

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


×
×
  • Create New...