Installation of IIS automatically in windows 7 machine

bsharath
bsharath used Ask the Experts™
on
Hi All,

Installation of IIS automatically in windows 7 machine
Can anyone help me with a easy way to enable IIS on win 7 systems.

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
Click on Start -> Control Panel

Click on View by drop down link in the top-right corner and select Small Icons. The items list now changed to uncategorized list.

Click on Programs and Features


Now click on Turn Windows features on or off to get windows feature dialog box

Select required component(Internet Information Services) from Windows  Features dialog box. Click on + to expand and view sub-features list.

Now windows installing Microsoft Windows for you. You will get “Please wait while Windows makes changes to features. This may take several minutes.” Just wait while windows completing installation.

Now type http://localhost/ in your favorite browser. You shoud see default IIS7 page.

 Follow-steps-below-for-IIS--inst.docx

Author

Commented:
Thanks but as mentioned needed a script to automate these clicks. Due to mass installation
Most Valuable Expert 2012
Top Expert 2014
Commented:
Commented:
Type the following command into a script:

start /w pkgmgr /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI
ImportantImportant
If you use this script, you get the full IIS 7.5 installation, which installs all available feature packages. If there are feature packages you do not need, you should edit the script to install only the packages you require.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial