Windows Server can support only a few have the default graphical interface applications including registry editor regedit, Notepad, notepad, task manager taskmgr, time setting control timedate.cpl, regional settings control intl.cpl and so on. In order to improve the system compatibility, Microsoft has launched a number of programs that are installed on demand with a graphical interface, including mmc, Event Viewer, Performance Monitor, Resource Monitor, File Explorer Explorer, Powershell ISE, disk management, failover cluster Administrator. Windows Server 1903 version additionally supports Hyper-V Manager, Task Manager program.
Demand feature is that some can always be installed Windows Feature Pack. Features on Demand demand function is divided into two kinds:
FODs the without Satellite Packages
all language versions of the same is encapsulated in a cab file, use / Add-Capability or / Add-Package installation.
FODs with satellite packages
have different standalone installation package according to the language version. When installing this type of package installs only the program corresponding to the Windows version, you can save disk space. Only use / Add-Capability installation. And such package from the warehouse need to install, you can not use a separate file to install, and is a 1809 version of the new features.
Let's look at the situation to try to run some commands not previously installed application compatibility App Compatibility Feature on Demand. If you do not see the map, please point me .
Make sure the server can be networked, and then run powershell in Windows Server.
Then enter the command, check the online version of the warehouse what
the Get-WindowsCapability -Name ServerCore the -ONLINE
install
the Get-WindowsCapability -Name ServerCore the -ONLINE | the Add-WindowsCapability the -ONLINE
showed no rights. Only remote desktop to the server to install
if you can not networking, you need to download the corresponding ISO and mount to the local installation.
Mount-DiskImage -ImagePath drive_letter:\folder_where_ISO_is_saved\ISO_filename.iso
Add-WindowsCapability -Online -Name ServerCore.AppCompatibility~~~~0.0.1.0 -Source <Mounted_Server_FOD_Drive> -LimitAccess
注意,如果当Windows Server版本升级的时候这些安装的Features on Demand需要重新安装。当然,你也可以将这些包集成到Windows的WIM文件中。官方提供的方法参考命令如下:
Mount-DiskImage -ImagePath Path_To_ServerFOD_ISO
Mount-DiskImage -ImagePath Path_To_Windows_Server_ISO
$install_wim_path = "C:\SetupFiles\WindowsServer\sources\install.wim"
Get-WindowsImage -ImagePath $install_wim_path
$image_name = "Windows Server Datacenter"
$mount_folder = "c:\test\offline"
Mount-WindowsImage -ImagePath $install_wim_path -Name $image_name -path $mount_folder
$capability_name = "ServerCore.AppCompatibility~~0.0.1.0".cab "
$package_path = "D:\Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64
$ fod_drive =" D: \ "
the Add-WindowsCapability -Path mount_folder -Name $ $ $ capability_name -Source fod_drive -LimitAccess
the Add-WindowsPackage -Path $ $ mount_folder -PackagePath package_path
the Dismount-WindowsImage -Path $ mount_folder -Save
installation display need to restart.
after the restart is over, let's run the program before various mmc exe and can not run.
after another more interesting is installed App Compatibility Feature on Demand, the login screen is blue.