Command line for unsharing printers
 




IT Certification FAQ

 
|
Home
|
Microsoft
|
CISCO
|
CompTIA
|
Exam/Study FAQ
|
Employment FAQ
| Links  | Forums  |
Book Reviews


FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  ProfileProfile  Log in to check your private messagesPrivate messages  Log inLog in

Command line for unsharing printers

 
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.general
Author Message
Ariel
Guest





PostPosted: Fri Aug 10, 2007 12:16 am    Post subject: Command line for unsharing printers Reply with 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
John John
Guest





PostPosted: Fri Aug 10, 2007 12:37 am    Post subject: Re: Command line for unsharing printers Reply with quote

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





PostPosted: Fri Aug 10, 2007 12:49 am    Post subject: Re: Command line for unsharing printers Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Forum Index -> microsoft.public.windows.server.general All times are GMT
Page 1 of 1

 

Copyright © 2002-2006 Web-S-Sense Pty. Ltd. All rights reserved.

Powered by phpBB
Advertising | Policies/Disclaimers | Contact us | Link to us


Featured Sites: Free Antivirus and Antispyware Info | Free PC Support | MCSE Directory