That looked very promising at first, but sysocmgr does not read the NetServices part of the answer file. So no joy there. Netsh will let me allow it on the firewall but on these boxes it isn't even installed.
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> ~