Unregister-WindowsDeveloperLicense

Disables Developer Mode on the current computer.

Syntax

Unregister-WindowsDeveloperLicense
          [-Force]
          [-WhatIf]
          [-Confirm]
          [<CommonParameters>]

Description

The Unregister-WindowsDeveloperLicense cmdlet disables Developer Mode on the current computer. If a developer license exists on the current computer, this cmdlet also removes it. If you disable Developer Mode, you can no longer install and test your apps by using Microsoft Visual Studio. Any app that you deployed from Visual Studio no longer runs on the current computer.

You must have administrative credentials to disable Developer Mode. For more information, see Enable your device for development (https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn706236.aspx) in the Microsoft Developer Network library. If you have not enabled Developer Mode for the current computer, this cmdlet returns an error.

Examples

Example 1: Disable Developer Mode

PS C:\> Unregister-WindowsDeveloperLicense

This command disables Developer Mode for the current computer. The cmdlet prompts you for confirmation before it disables Developer Mode. To skip this prompt, specify 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

Disables Developer Mode without prompting you for confirmation. By default, the cmdlet prompts you for confirmation before it proceeds.

Type:SwitchParameter
Position:Named
Default value:None
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