Enable File and Printer Sharing for Microsoft Networks

G

Guest

Little HELP please..

I need to install/Enable "File and Printer Sharing for Microsoft Networks" for Windows 2000 systems on the network. Once I can invoke the install from the command line, deployment will be possible by a script or batch file and login script or NAL. The problem is invoking it from the command line or script

we are
Novell ZENworks/W2k environment

Ive looked at without success

-WMI scriptin
Microsoft says just don’t do it unless you are deploying a 3rd party proces

-Sysocmgr.exe at the cmd lin

-How to Add or Remove Windows Components with Sysocmgr.exe http://support.microsoft.com/default.aspx?scid=KB;EN-US;22244

I am very inexperienced with MS answer files and probably doing something wrong here but I’m not sure if this is the best method to do it. If using Sysocmgr is the best method please provide an example of necessary answer file syntax. I have checked out the unattend.txt for syntax but now I am even more confused

sysocmgr /i: %windir%\inf\sysoc.inf /u:c:\ocm.tx

Answer File: (ocm.txt
[Networking
; When set to YES, setup will install default networking components. The components to ;be set ar
; TCP/IP, File and Print Sharing, and the Client for Microsoft Networks.
InstallDefaultComponents = YE

O

[NetBindings

Enable = MS_Serve

If there is another way or utility in a resource kit that would serve the purpose please post it

Thank
 
G

Gerry Voras

I would do this by letting a program called SMS Installer (part of Microsoft
SMS 1.2 and 2.0) that logs the changes that occur when you install File and
Print Sharing. SMS Installer then creates an executable file that you can
distribute as part of a group policy.

I think WinInstallLE will let you create an MSI file via the same technique.

Longuy said:
Little HELP please...

I need to install/Enable "File and Printer Sharing for Microsoft Networks"
for Windows 2000 systems on the network. Once I can invoke the install from
the command line, deployment will be possible by a script or batch file and
login script or NAL. The problem is invoking it from the command line or
script.
we are :
Novell ZENworks/W2k environment.

Ive looked at without success:

-WMI scripting
Microsoft says just don't do it unless you are deploying a 3rd party process

-Sysocmgr.exe at the cmd line

-How to Add or Remove Windows Components with Sysocmgr.exe http://support.microsoft.com/default.aspx?scid=KB;EN-US;222444

I am very inexperienced with MS answer files and probably doing something
wrong here but I'm not sure if this is the best method to do it. If using
Sysocmgr is the best method please provide an example of necessary answer
file syntax. I have checked out the unattend.txt for syntax but now I am
even more confused.
sysocmgr /i: %windir%\inf\sysoc.inf /u:c:\ocm.txt

Answer File: (ocm.txt)
[Networking]
; When set to YES, setup will install default networking components. The components to ;be set are
; TCP/IP, File and Print Sharing, and the Client for Microsoft Networks.
InstallDefaultComponents = YES

Or

[NetBindings]

Enable = MS_Server

If there is another way or utility in a resource kit that would serve the purpose please post it.

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top