Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Reset-AppxPackage

Module:
Appx Module

Restores the Windows app to its initial configuration.

Syntax

Default (Default)

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.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-Package

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False
Aliases:None

Parameter sets

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

FileInfo

Outputs

None

Related Links


Feedback

Was this page helpful?