--- title: UNPUBLISH PACKAGE description: UNPUBLISH PACKAGE author: jamiejdt ms.assetid: 1651427c-72a5-4701-bb57-71e14a7a3803 ms.pagetype: mdop, appcompat, virtualization ms.mktglfcycl: deploy ms.sitesec: library ms.prod: w8 ms.date: 06/16/2016 --- # UNPUBLISH PACKAGE Enables you to remove the shortcuts and file types for an entire package. `SFTMIME UNPUBLISH PACKAGE:package-name [/CLEAR] [/GLOBAL] [/LOG log-pathname | /CONSOLE | /GUI]`
Parameter Description

PACKAGE:<package-name>

The name of the package.

/CLEAR

If present, user settings will also be removed. (For more information, see the Important note later in this topic.)

/GLOBAL

If present, the package will be unpublished for all users on this computer.

/LOG

If specified, output is logged to the specified path name.

/CONSOLE

If specified, output is presented in the active console window (default).

/GUI

If specified, output is presented in a Windows dialog box.

  For version 4.6, the following option has been added.

/LOGU

If specified, output is logged to the specified path name in UNICODE format.

  **Important**   Before you can run the **UNPUBLISH PACKAGE** command, the package must already have been added to the Application Virtualization Client. To use **GLOBAL**, **UNPUBLISH PACKAGE** must be run as local Administrator; otherwise, only **ClearApp** permission is needed. Using **UNPUBLISH PACKAGE** with **GLOBAL** removes any global file types and shortcuts for the package. **CLEAR** is not applicable. Using **UNPUBLISH PACKAGE** without **GLOBAL** removes the user shortcuts and file types for the package and, if **CLEAR** is set, also removes user settings and stops background loads under the user’s context. **UNPUBLISH PACKAGE** works on applications from the same package name or GUID that was used as the source ID for **ADD**, **EDIT**, and **PUBLISH PACKAGE**. **UNPUBLISH PACKAGE** always clears all the user settings, shortcuts, and file types regardless of the use of the /CLEAR switch.   ## Related topics [SFTMIME Command Reference](sftmime--command-reference.md)