Using DISM Know List Package Software on Windows Server 2022 Standard Evaluation

Abstract: Resolves the inability to install Windows Server features on Evaluation editions by using DISM commands without external media.

Created: 2026-09-13 by

Use the dism /online /get-features command in an elevated Command Prompt to list all available Windows Server features. To install a feature like IIS, use dism /online /enable-feature /featurename:Web-Server /all. This method works on Windows Server 2022 Standard Evaluation without requiring additional media or external sources.

Understanding DISM Feature Management

Deployment Image Servicing and Management (DISM) is a powerful command-line utility included in Windows Server operating systems. It allows administrators to service and repair Windows images, including running instances of the operating system. When managing roles and features on a live server, DISM provides a reliable alternative to the graphical Server Manager interface. The primary advantage of using DISM for feature management is its scriptability and precision. You can automate the installation of multiple components across many servers by creating simple batch files or PowerShell scripts. Unlike the graphical interface, which may hide advanced options or require multiple clicks, DISM exposes every available component directly through the command line. This transparency helps administrators verify exactly what will be installed before executing the command. For Windows Server 2022 Standard Evaluation, the process remains identical to the licensed versions. The evaluation period does not restrict access to core servicing tools like DISM. However, it is important to note that some features may require source files if they are not present in the local image cache. In most standard installations, the necessary files are already cached locally, allowing offline or online installation without pointing to external media.

Running Commands with Elevated Privileges

Before attempting any feature enumeration or installation, you must ensure that your command prompt has administrative privileges. Standard user accounts do not have permission to modify system-level components. To achieve this, right-click the Start menu and select "Terminal (Admin)" or "Command Prompt (Admin)". If you are using PowerShell, run it as Administrator from the same context. Without elevation, DISM commands will fail immediately with an "Access Denied" error. This is a common pitfall for new administrators who assume their current session carries sufficient rights. Always verify the title bar of your terminal window shows "Administrator" before proceeding. This single step prevents the majority of permission-related errors during feature management tasks.

Listing Available Features

To discover which features are available for installation, use the /get-features switch. This command queries the currently installed image and returns a comprehensive list of all possible components. The output includes the internal name of the feature, its display name, and its current state (Enabled, Disabled, or Not Present). Run the following command in your elevated terminal:
dism /online /get-features
This command may take several seconds to complete depending on the number of components installed. The output is verbose, so you might want to redirect it to a file for easier searching. For example, you can pipe the output to find specific strings related to web services or database components. When reviewing the list, pay close attention to the "State" column. A state of "Disabled" means the feature is part of the OS but not active. A state of "Not Present" indicates that the component files are missing from the image, which often happens in minimal installations or custom WIM files. In such cases, you may need to specify a source path for the installation command to locate the required binaries.

Installing Features via DISM

Once you have identified the correct internal feature name, you can enable it using the /enable-feature switch. The syntax requires the /featurename: parameter followed by the exact internal name found in the previous step. For Internet Information Services (IIS), the correct internal name is Web-Server, not IIS-WebServer. Using incorrect names will result in an error indicating the feature was not found. To install IIS along with all its subcomponents and dependencies, use the /all flag. This ensures that dependent features, such as the HTTP Logging or Request Filter modules, are automatically included. Without this flag, you might end up with a partially functional service that lacks essential supporting components.
dism /online /enable-feature /featurename:Web-Server /all /norestart
The /norestart option is recommended because it prevents the server from rebooting immediately after installation. This allows you to install multiple features in sequence before performing a single controlled restart. Restarting after every single feature installation is inefficient and disrupts other services running on the server. After the command completes successfully, you should see a message confirming that the operation completed successfully. You can verify the installation by checking the status again using /get-features or by opening the Server Manager console. The IIS role should now appear as installed and enabled.

Handling Source File Requirements

In some scenarios, particularly with stripped-down or highly customized server images, DISM may report that source files are missing. If you encounter an error stating that the source could not be found, you must provide the location of the Windows Server 2022 installation media. This media can be a mounted ISO image or a network share containing the sxs folder. Specify the source using the /source: parameter. The path must point to the sxs directory within the installation media, not the root of the drive. For example, if you mount an ISO to drive D:, the source path would be D:\sources\sxs.
dism /online /enable-feature /featurename:Web-Server /all /source:D:\sources\sxs /norestart
Providing the correct source path resolves most installation failures related to missing binaries. This approach is particularly useful when building reference images or automating deployments where local caching has been cleared. Ensure that the account running the command has read access to the specified source location.

Related Resources

If you encounter connectivity issues after setting up server roles, check our guide on Windows Server 2022 VPN Setup Hell: Can't Connect Windows 11 Client for troubleshooting steps. Additionally, for broader server maintenance tasks, refer to Troubleshooting: Unable to Reach Website After Downloading File During Windows Server Upgrade to understand how updates interact with installed services.

Frequently Asked Questions

How do I uninstall a feature installed via DISM?

You can remove a feature by replacing the /enable-feature switch with /disable-feature in the command syntax. Use the same /featurename: parameter with the internal name of the component you wish to remove. Adding /all will also remove dependent features if they are no longer needed by other installed components.

Can I use DISM to install .NET Framework on Server 2022?

Yes, DISM supports installing .NET Framework features. You can use dism /online /enable-feature /featurename:NetFx3 /all for version 3.5 or NetFx4-AdvSrvs for version 4.x. These features are often pre-cached in the OS image, so external source paths are rarely required unless the cache is corrupted.

What is the difference between DISM and PowerShell Cmdlets?

PowerShell cmdlets like Install-WindowsFeature are wrappers around DISM and provide a more modern, object-oriented interface. However, DISM offers lower-level control and is often preferred for scripting in environments where PowerShell modules may not be fully loaded or compatible. Both tools achieve the same result, but DISM is universally available across all Windows Server versions.

Why does DISM say the source file could not be found?

This error occurs when the required binary files are not present in the local Component Store and no external source is provided. It is common in minimal installations or after clearing the package cache. Mounting the original Windows Server ISO and specifying the \sources\sxs path resolves this issue by giving DISM access to the missing binaries.

Does enabling IIS via DISM require a reboot?

No, enabling IIS does not strictly require an immediate reboot. By using the /norestart flag, you can defer the restart until you are ready to apply changes. However, some configuration changes or subsequent service starts may require a reboot to take full effect, so plan your maintenance window accordingly.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More