Which DISM option should you use?

You have a VHD that contains an image of Windows Server 2012.
You plan to apply updates to the image.
You need to ensure that only updates that can install without requiring a restart are installed.
Which DISM option should you use?

You have a VHD that contains an image of Windows Server 2012.
You plan to apply updates to the image.
You need to ensure that only updates that can install without requiring a restart are installed.
Which DISM option should you use?

A.
/Apply-Unattend

B.
/Add-ProvisionedAppxPackage

C.
/PreventPending

D.
/Cleanup-Image

Explanation:
http://technet.microsoft.com/en-us/library/hh825265.aspx
Operating System Package Servicing Command-Line Options
When you are installing a package in an offline image, the package state is install pending because of
pending online actions. In other words, the packagewill be installed when the image is booted and theonline
actions are processed. If subsequent actions are requested, they cannot be processed until the previous
pending online action is completed. You can use the/PreventPending option when you add a package with/
AddPackageto skip the installation of a package when there are pending online actions.



Leave a Reply 5

Your email address will not be published. Required fields are marked *


B-Art

B-Art

http://technet.microsoft.com/en-us/library/hh825265.aspx
DISM Operating System Package Servicing Command-Line Options

Limitations

When you are installing a package in an offline image, the package state is “install pending” because of pending online actions. In other words, the package will be installed when the image is booted and the online actions are processed. If subsequent actions are requested, they cannot be processed until the previous pending online action is completed. You can use the /PreventPending option when you add a package with /AddPackage to skip the installation of a package when there are pending online actions.

Some packages require other packages to be installed first. You should not assume that dependencies will be satisfied. If there are dependency requirements, you should use an answer file to install the necessary packages. By passing an answer file to DISM, multiple packages can be installed in the correct order. This is the preferred method for installing multiple packages. For more information, see Add or Remove Packages Offline Using DISM.

Packages are installed in the order that they are listed in the command line.

When using DISM to list the optional components in a Windows PE image, the optional components will always be listed as pending even when the servicing operation was successful. This is by design and requires no additional action from you.

rca ieftin online

rca ieftin online

Thanks for each of one’s efforts about this web page. My aunt takes pleasure in playing investigations and it can be simple to grasp why. My partner we notice all with regards to the lively method you render functional tricks and tips through your internet site plus in addition increase participation business ones on the situation plus your simple princess is definitely starting to learn a whole lot. Take pleasure within the remaining percentage of the year. You are after a splendid job.
rca ieftin online http://goo.gl/6GqA7S

Stoneboy

Stoneboy

Use the /PreventPending option to skip the installation of the package if the package or Windows image has pending online actions. This option can only be used when servicing Windows 8, Windows Server 2012, or Windows® Preinstallation Environment (Windows PE) 4.0 images.