Uninstallation flags

You can specify uninstallation flags that are applied whenever a Windows patch is uninstalled. However, SA also uses default uninstallation flags and requires that patches are uninstalled with these flags. You must therefore be certain that you do not specify any uninstallation flags that override or contradict the default flags passed by HPE Server Automation.

Some Windows hotfixes do not support the -z flag, some do not support the -q flag, and some do not support either. In such cases, you must use a special expression: /-z or /-q or /-z -q respectively, to prevent HPE Server Automation from passing in the -z or ‑q or -z -q flag. By default, HPE Server Automation adds /z /q to the command line arguments when uninstalling patches. To override this, specify /-z /-q. For example, if you prefer to not suppress the reboot, specify /-z.

The following table lists the default uninstallation flags used in SA.

Default uninstallation flags

Windows patch types

Flags

Windows Hotfix

-q -z

Security Rollup Package

-q -z

Windows OS Service Pack

Not uninstallable