Unregister-WindowsDeveloperLicense
Removes the developer license from the current computer.
Syntax
Unregister-WindowsDeveloperLicense
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Unregister-WindowsDeveloperLicense cmdlet removes a developer license from the current computer. If you remove the developer license, you can no longer install and test your apps. Any developer apps no longer run on the current computer. For more information about developer licenses, see Get a developer license (Windows Store apps) (Windows) HYPERLINK "http://msdn.microsoft.com/library/windows/apps/hh974578.aspx" http://msdn.microsoft.com/library/windows/apps/hh974578.aspx at http://msdn.microsoft.com/library/windows/apps/hh974578.aspx in the MSDN library.
You need Administrator permissions to remove a developer license. If the cmdlet cannot find a developer license, it returns an error that informs you that there is no developer license on the current computer.
Examples
Example 1: Remove a developer license
PS C:\> Unregister-WindowsDeveloperLicense
This command removes a developer license from the current computer. The cmdlet prompts you for confirmation before it removes the license. To skip this prompt, use the Force parameter.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Removes a developer license without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.
Type: | SwitchParameter |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for