Step-by-Step Guide for Server Manager, PowerShell, and DISM by info.odysseyx@gmail.com August 28, 2024 written by info.odysseyx@gmail.com August 28, 2024 0 comment 10 views 10 Enabling Internet Information Services and its features is essential for hosting websites and web applications on Windows Server. This guide walks you through three methods using Server Manager, PowerShell, and the DISM command. Use Server Manager • Open the Start menu, search for “Server Manager” and click to open it. • In Server Manager, click “Manage” in the upper-right corner and select “Add Roles and Features” from the drop-down menu. • The Add Roles and Features Wizard opens. Click “Next” until you reach the Installation Type section. • Select “Role-based or feature-based installation” and click “Next.” • Select a server from the list of server pools on which you want to install IIS and click “Next.” • Scroll down and select “Web Server (IIS)”. • A pop-up will appear asking you to add the required features. Click “Add Features.” Then click “Next.” • In the Features section, select any additional IIS features you want, such as .NET Framework, ASP.NET, or WebSocket Protocol. Click “Next.” • Review your selections and click “Install”. • Wait until the installation is complete and click “Close”. It is user-friendly with an easy-to-use graphical interface, and comprehensive with guided prompts to select various functions. It also provides visual feedback to show the progress and status of the installation. However, this process is time-consuming, requires multiple clicks and steps, and is less efficient than the command-line method, especially for mass installations. Using PowerShell • Search for PowerShell in the Start menu, right-click, and select “Run as administrator.” • Install IIS and basic features using the following commands. Install-WindowsFeature -name Web-Server -IncludeManagementTools • To install a specific IIS feature, use the following command, replacing the feature name as needed. Install-WindowsFeature -name Web-Server, Web-ASP, Web-Mgmt-Tools, Web-WebSockets ○ The web server installs the core web server role. ○ Web-ASP installs support for ASP.NET. ○ Web-Mgmt-Tools installs management tools for IIS. ○ Web-WebSockets installs support for the WebSocket protocol. PowerShell is fast and efficient, allowing for quick installations via the command line. It supports automation and scripting, allowing repeatable tasks, and is highly customizable, making it easy to tailor installations to specific needs. However, it requires familiarity with the command line interface, and may not be user-friendly for everyone. Visual feedback is limited, and progress is displayed in text format without visual indicators. Using the DISM command • Search for Command Prompt in the Start menu, right-click it, and select “Run as administrator.” • Install IIS by using the following Deployment Image Servicing and Management (DISM) command: dism /online /enable-feature /featurename:IIS-WebServerRole /all • To install additional IIS features, use the following command: dism /online /enable-feature /featurename:IIS-ASPNET45 /all dism /online /enable-feature /featurename:IIS-WebSockets /all ○ IIS-ASPNET45 installs support for ASP.NET 4.5. ○ IIS-WebSockets installs support for the WebSocket protocol. The DISM command is lightweight and uses minimal system resources. It is comprehensive, allowing multiple features to be installed with a single command, and supports offline images, allowing features to be used even on systems that are not currently running. However, it is not intuitive, requiring precise command syntax, and is limited to a command-line interface, which may be a disadvantage for users who prefer a graphical interface. After installation, open your web browser and go to “http://localhost“; You should see the IIS start page. Alternatively, you can open IIS Manager by typing “.Innet Manager“In the Run dialog box. summation Enabling IIS on Windows Server can be done in a number of ways, each with its own strengths and weaknesses. Server Manager offers a user-friendly approach, PowerShell offers speed and flexibility, and DISM is a lightweight option ideal for those familiar with command-line tools. Depending on your familiarity with the tools and the specific requirements of your server environment, choose the method that best suits your needs. Source link Share 0 FacebookTwitterPinterestEmail info.odysseyx@gmail.com previous post Leveraging DotNet for SQL Builds via YAML next post Azure bot as skill to PVA You may also like 7 Disturbing Tech Trends of 2024 December 19, 2024 AI on phones fails to impress Apple, Samsung users: Survey December 18, 2024 Standout technology products of 2024 December 16, 2024 Is Intel Equivalent to Tech Industry 2024 NY Giant? December 12, 2024 Google’s Willow chip marks breakthrough in quantum computing December 11, 2024 Job seekers are targeted in mobile phishing campaigns December 10, 2024 Leave a Comment Cancel Reply Save my name, email, and website in this browser for the next time I comment.