|
|
| Author |
Message |
Ariel Guest
|
Posted: Fri Aug 10, 2007 12:16 am Post subject: Command line for unsharing printers |
|
|
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 to top |
|
 |
|
|
John John Guest
|
Posted: Fri Aug 10, 2007 12:37 am Post subject: 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:
| Quote: | 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 to top |
|
 |
Pegasus (MVP) Guest
|
Posted: Fri Aug 10, 2007 12:49 am Post subject: 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...
| Quote: | 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 to top |
|
 |
|