Your network contains an Active Directory domain named contoso.com.
The domain contains a server named Server1 that runs Windows Server 2012 R2.
You need to ensure that a WIM file that is located on a network share is used as the installation
source when installing server roles and features on Server1.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose
two.)
A.
Run the dism.exe command and specify the /remove-package parameter.
B.
Run the Remove-WindowsFeature cmdlet.
C.
Enable and configure the Specify settings for optional component installation and component repair
policy setting by using a Group Policy object (GPO).
D.
Enable the Enforce upgrade component rules policy setting by using a Group Policy object (GPO).
E.
Run the Remove-WindowsPackage cmdlet.
Explanation:
A: To remove packages from an offline image by using DISM Example:
At a command prompt, specify the package identity to remove it from the image.
You can remove multiple packages on one command line.
DISM /Image:C:\test\offline /Remove-Package
/PackageName:Microsoft.Windows.Calc.Demo~6595b6144ccf1df~x86~en~1.0.0.0
/PackageName:Microsoft-Windows-MediaPlayerPackage~31bf3856ad364e35~x86~~6.1.6801.0
C:
* You can use Group Policy to specify a Windows image repair source to use within your network.
The repair source can be used to restore Windows features or to repair a corrupted Windows image.
* Set Group Policy
You can use Group Policy to specify when to use Windows Update, or a network location as a
repair source for features on demand and automatic corruption repair.
To configure Group Policy for Feature on Demand
Open the group policy editor. For example, on a computer that is running Windows?8, click Search,
click Settings, type Edit Group Policy, and then select the Edit Group Policy setting.Click Computer Configuration, click Administrative Templates, click System, and then double-click
the Specify settings for optional component uninstallation and component repair setting. Select the
settings that you want to use for Features on Demand.
Note:
* The Windows Imaging Format (WIM) is a file-based disk image format. It was developed by
Microsoft to help deploy Windows Vista and subsequent versions of Windows operating system
family, as well as Windows Fundamentals for Legacy PCs.