- 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
ID článku: 2908152 – Posledná kontrola: 6. 11. 2013 – Revízia: 1