A few years ago I used a script that I found by searching groups.google.com
Look for a post by Torgeir Bakken.

http://groups.google.com/groups/search?q=vbscript+file+and+printer+sharing+for+microsoft



Regards,
Greg Brown

Ziots, Edward
> Sysocmgr.exe would be the tool probably.
>
>
>
> http://support.microsoft.com/kb/222444
>
>
>
> Need to look at the following on the Windows CD
>
> Then follow this article about how to call it. These references were
> taken
> from the ref.chm in the deploy.cab on the Windows Server CD
>
>
>
> http://support.microsoft.com/kb/321945
>
>
>
>
>
> Also this site should help out with the XP part.
>
> http://odin.himinbi.org/xp_cds/winnt.sif
>
>
>
>
>
>
>
> Edward E. Ziots
>
> Network Engineer
>
> Lifespan Organization
>
> MCSE,MCSA,MCP,Security+,Network+,CCA
>
> Phone: 401-639-3505
>
> -----Original Message-----
> From: Michael B. Smith [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 22, 2008 1:40 PM
> To: NT System Admin Issues
> Subject: RE: Programically install File and Print
>
>
>
> Sysocmgr.exe would be my guess, although it might be as simple as netsh.
>
>
>
> Regards,
>
>
>
> Michael B. Smith
>
> MCSE/Exchange MVP
>
> http://TheEssentialExchange.com
>
>
>
> From: Kennedy, Jim [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 22, 2008 1:29 PM
> To: NT System Admin Issues
> Subject: Programically install File and Print
>
>
>
> I have about 2500 XP desktops, none of which have File and Printer
> Services installed. It was a left over idea from our old 98 days when it
> was easier to lock the students down by not installing the service. We
> would like to turn it on in XP for a variety of reasons, and just
> control file sharing access via gpo's for them.
>
>
>
> I found an old JSInc Faq that addresses this with snetcfg and was able
> to get the exe down before WindowsITPro borged them. Simple exe with
> command line switches that grabs the inf from the inf directory and
> installs the service. However I am having zero luck getting the exe to
> work, it keeps failing with an error. Below is the syntax I am running
> if anyone has used it.
>
>
>
> snetcfg -v -l c:\windows\inf\netsrv.inf -c s -i MS_Server
>
>
>
> Or does anyone have another idea how to do this without visiting 2500
> machines?
>
>
>
>
>
>
>
>
>
>
>
> ~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
> ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~


~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to