I may say this many times but again its true, I love solving or be given a problem where I find a solution and I also learn something, this issue was one of those. Enough of that, lets get into this.
Have you ever needed to look up the registration of a device in Autopilot and for what ever reason you cannot log onto the device and find out, well I have a fix for you. Below is how you can from a registry pull that information.
Registry Inspection:
- Open the Command Prompt (if you’re at the Out of Box Experience (OOBE), you can use Shift + F10 to open CMD).
- Type
regeditto open the Registry Editor. - Navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Provisioning\Diagnostics\AutoPilot. - Look for two values under this key:
CloudAssignedTenantID: Contains the tenant ID where the device is registered.CloudAssignedTenantDomain: Contains the domain name of the tenant.
- Alternatively, you can check the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Provisioning\AutopilotPolicyCache, which also provides the domain and tenant ID from the Autopilot JSON file1.
Hope this helps you. Have a great day!