Edit

Share via


Reset-AppxPackage

Restores the Windows app to its initial configuration.

Syntax

Reset-AppxPackage
     [-Package] <string>
     [-WhatIf]
     [-Confirm]
     [<CommonParameters>]

Description

The Reset-AppxPackage cmdlet resets the app to its original settings, and the app will react as a freshly installed app.

After resetting the app, any initial prompts by the app will be prompted for user input.

Examples

Example 1: Reset app package

Reset-AppxPackage -Package publisher.package1_1.0.0.0_neutral__8wekyb3d8bbwe

This cmdlet resets the publisher.package1_1.0.0.0_neutral__8wekyb3d8bbwe application back to its original settings.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Package

Specifies the package full name (PFuN) of the app to reset.

Type:String
Aliases:None
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet isn't run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String[]

FileInfo

Outputs

None