Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies whether a restart is required after enabling a feature or installing a package.
Syntax
enum DismRestartType
{
DismRestartNo = 0,
DismRestartPossible = 1,
DismRestartRequired = 2
};
Constants
| Constant | Value | Description |
|---|---|---|
| DismRestartNo | 0 | No restart is required. |
| DismRestartPossible | 1 | This package or feature might require a restart. |
| DismRestartRequired | 2 | This package or feature always requires a restart. |
Requirements
| Requirement | Description |
|---|---|
| Supported host platforms | DISM API can be used on any operating system supported by the Windows Assessment and Deployment Kit (Windows ADK). For more information, see the Windows ADK Technical Reference. |
| Supported image platforms | Windows 7, Windows Server 2008 R2, Windows PE 3.0, Windows 8, Windows Server 2012, Windows Preinstallation Environment (Windows PE) 4.0 |