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

Posted on 2009-05-02
Last Modified: 2012-05-06

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.
Question by:juggernaughty
    LVL 2

    Expert Comment

    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.
    LVL 1

    Accepted Solution

    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.
    LVL 2

    Expert Comment

    You may need to use Windows Deployment Service to create an image.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…

    731 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now