Installation of IIS automatically in windows 7 machine

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
LVL 11
bsharathAsked:
Who is Participating?
 
rishabv1Commented:
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
0
 
bsharathAuthor Commented:
Thanks but as mentioned needed a script to automate these clicks. Due to mass installation
0
 
rishabv1Commented:
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.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.