• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 398
  • Last Modified:

Server 2008 WAIK how to enable file sharing using WSIM or command prompt?

Experts,

I am creating server 2008 templates for my VM environment and have been stumbling my way through the WAIK. I was wondering if there is a feature in there to turn on windows file sharing by default.

If not, can someone tell me what the command is to turn it on from the command prompt shell?

For example to turn off IPV6 by default I ran the following In Windows System Image Manager as a Synchonous Command :                                             reg add HKLM\System\CurrentControlSet\Services\Tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFF

That is how I'm turning off IPv6. Something similar to that for enabling file sharing is what I need.

Thank you in advance.
0
juggernaughty
Asked:
juggernaughty
  • 2
1 Solution
 
AntsoairCommented:
I'm not familiar with WAIK, but in Windows 2008, I would add the File Services role.  It could be that the firewall is blocking the ports for file sharing.  Adding the File Services role should open those ports.  Go to Server Manager click on roles and click add roles.  Go through the wizard and select the features you want.  File Server is the minimum required.  If the File Services role is in place and you are still having trouble, try looking at the firewall settings.  You can see fire wall rules in Server Manager under configuration.
0
 
juggernaughtyAuthor Commented:
I can see the feature by going into the networking panel, and then there is a drop down to turn it on. However, I would like the WAIK to turn it on automatically when I bring up the machines. I'm trying to eliminate manual steps.
0
 
AntsoairCommented:
You may need to use Windows Deployment Service to create an image.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now