Clean (xbcleanup.exe)

Performs cleanup operations on a console.

xbcleanup [/U] [/D] [/P] [/S] [/C] [/F] [/L] [/N] [/X[:]address[+<accesskey>]]
Option Description
/U Uninstalls all developer installed apps on the target console.
/D Removes all DLC packages on the target console.
/P Uninstalls all provisioned apps on the target console.
/S Reboots the target console, deleting and recreating the developer scratch space (D:\). All folder deployed apps will be effectively uninstalled.
/C Attempts to remove misconfigured and unregistered apps from the target console. This operation is best-effort.
/F Performs a full factory reset of the target console. This operation is exclusive of the other cleanup operations.
/L Deletes all persistent local storage which apps access via ApplicationData's LocalFolder construct. This operation will require a reboot to complete.
/N Notify only. Lists the actions that would be performed without actually modifying the console.
/X[:]address[+<accesskey>] Specifies the host name or address (shown as Tools IP on the console) of a targeted console, but does not change the default console. For information about setting a host name for a console, see Setting a Hostname for the Console IP Address.If you do not use this option, the default console (previously set by Connect (xbconnect.exe)) is used.Accesskey is a string that you can use to restrict access to a console to only those people who know the access key. Set the access key by using the command xbconfig accesskey=your-key; then, restart your console to make the access key effective. To access a console that is configured with an access key, you must include a plus sign (+) and the access key after the IP address or host name of the console. For more information about access keys, see xbconfig accesskey.
Note
If an access key is provided when the default console is set by xbconnect, then the access key is stored as part of the address of the default console.

See also

Command Line Tools

XTF Transport Errors