Patricio Treviño

Patricio Treviño

Husband . Father . Developer

Delete a key container

Syntax

aspnet_regiis -pz <container> [-pku]
view raw syntax.text hosted with ❤ by GitHub

Option Description
container The name of the container to be deleted.
pku Substitutes a user-specified container for the default machine container.

Example

$ cd "$env.WINDIR/Microsoft.NET/Framework64/v4.0.30319"
$ .\aspnet_regiis -pz MyKeyContainer
Microsoft (R) ASP.NET RegIIS version 4.0.30319.18408
Administration utility to install and uninstall ASP.NET on the local machine.
Copyright (C) Microsoft Corporation. All rights reserved.
Deleting RSA Keys from file...
Succeedded!
view raw example.ps1 hosted with ❤ by GitHub

References

Importing and Exporting Protected Configuration RSA Key Containers