Skip to content

Remove CommonWDACConfig

Violet edited this page Feb 24, 2024 · 4 revisions

Remove-CommonWDACConfig available parameters

image

Syntax

Remove-CommonWDACConfig
    [-CertCN]
    [-CertPath]
    [-SignToolPath]
    [-UnsignedPolicyPath]
    [-SignedPolicyPath]
    [-StrictKernelPolicyGUID]
    [-StrictKernelNoFlightRootsPolicyGUID]

Description

Use this cmdlet to remove the values stored in the User Configurations JSON file. If you use it without any parameters it will delete the User configuration folder and everything in it, which is located in C:\Users\UserName\.WDACConfig

Parameters

-CertCN

Removes the saved Certificate Common Name from User Configurations

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

-CertPath

Removes the saved Certificate path from User Configurations

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

-SignToolPath

Removes the saved SignTool.exe Path from User Configurations

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

-UnsignedPolicyPath

Removes the saved Unsigned Policy Path from User Configurations

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

-SignedPolicyPath

Removes the saved Signed Policy Path from User Configurations

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

-StrictKernelPolicyGUID

Removes the saved Strict Kernel Policy GUID from User Configurations

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

-StrictKernelNoFlightRootsPolicyGUID

Removes the saved Strict Kernel NoFlight Roots Policy GUID from User Configurations

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









C#


Clone this wiki locally