You cannot use a Web Services on Devices (WSD) printer or a scanning device that is locally attached to the operating system (through a USB port, for example) in a Server Core environment in Windows Server.
This issue occurs because the Server Core environment does not support WSD printers or Windows Image Acquisition (WIA) scanning.
To resolve this issue, you must install the Desktop Experience optional feature to enable support for WSD printers and scanning in Windows Server. To use Windows PowerShell to install the Desktop Experience feature, follow these steps.
- In the example commands in this procedure, it is assumed that the Windows Image file is located at d:\sources\install.wim.
- Some complexities occur when you use a Windows Image file that is located on a network share. This is because network resources are accessed by using the machine account and do not impersonate the logged-in user when you are using the Server Manager cmdlets. If you experience difficulties as you perform these steps, copy the .wim file to a local disk, and then try again.
- Locate the Windows Image file (*.wim) that is included in your Windows installation media.
- Determine the index number for a server that has a GUI image (for example SERVERDATACENTER, not SERVERDATACENTERCORE). To do this, run the following PowerShell command:Note You must use the Windows image that corresponds to the edition of Windows that you are running. However, you must not use any Windows image that ends in “CORE” because those images do not contain the files that are required to install Desktop Experience.
Get-WindowsImage -ImagePath d:\sources\install.wim
- To install the Desktop Experience feature, run the following PowerShell command: Note If you omit the -Source parameter, Windows tries to download the feature through Windows Update. If the installation is successful, the server restarts.
Install-WindowsFeature Desktop-Experience –Source wim:d:\sources\install.wim:4 –Restart
The lack of support for scanning devices and WSD printers in the Server Core environment also prevents Server Certification testing of the scanner devices.