< Back

Reset-MDMEnrollmentStatus

Sat Jan 18, 2020 4:20 pm

NAME Reset-MDMEnrollmentStatus



SYNOPSIS

Resets Windows 10 MDM Enrollment Status.





SYNTAX

Reset-MDMEnrollmentStatus [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

If you get an error upon trying to register a Windows computer that the device was already enrolled, but you are

unable or have already unenrolled the device, you may have a fragment of device enrollment configuration in the

registry.



Reset done according to https://docs.microsoft.com/en-us/window ... re-device-

based-conditional-access-on-premises#troubleshooting





PARAMETERS

-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\># Resets the Device Enrollment state and allows to rerun the MDM enrollment Wizard



Reset-MDMEnrollmentStatus











RELATED LINKS