Notiz
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Iech unzemellen oder Verzeechnesser ze änneren.
Zougrëff op dës Säit erfuerdert Autorisatioun. Dir kënnt probéieren, Verzeechnesser ze änneren.
Windows Autopilot Reset takes the device back to a business-ready state, so the next user can sign in and start working quickly and easily. Specifically, Windows Autopilot Reset:
- Removes personal files, apps, and settings.
- Reapplies a device's original settings.
- Sets the region, language, and keyboard to the original values.
- Maintains the device's identity connection to Microsoft Entra ID.
- Maintains the device's management connection to Intune.
The Windows Autopilot Reset process automatically keeps information from the existing device:
- Wi-Fi connection details.
- Provisioning packages previously applied to the device.
- A provisioning package present on a USB drive when the reset process starts.
- Microsoft Entra device membership and mobile device management (MDM) enrollment information.
- Simple Certificate Enrollment Protocol (SCEP) certificates.
Windows Autopilot Reset blocks the user from accessing the desktop until it restores this information, including reapplying any provisioning packages. For devices enrolled in an MDM service, Windows Autopilot Reset also blocks until an MDM sync is completed.
Note
Windows Autopilot Reset doesn't support Microsoft Entra hybrid joined devices or Surface Hub devices. For Microsoft Entra hybrid joined devices and Surface Hub devices, you need to perform a full device wipe. When a hybrid device goes through a full device reset, it might take up to 24 hours for it to be ready to deploy again. You can expedite the request by re-registering the device.
Scenarios
Windows Autopilot Reset supports two scenarios:
- Local reset started by IT personnel or other administrators from the organization.
- Remote reset started remotely by IT personnel via an MDM service such as Microsoft Intune.
Each scenario has its own requirements and configuration details.
Reset devices with local Windows Autopilot Reset
IT admins can use a local Windows Autopilot Reset to:
- Quickly remove personal files, apps, and settings.
- Reset Windows devices from the lock screen.
- Apply original settings and management enrollment, including Microsoft Entra ID and device management.
The device is then ready to use. By using a local Windows Autopilot Reset, IT admins return devices to a fully configured or known IT-approved state.
To enable local Windows Autopilot Reset in supported versions of Windows:
Enable local Windows Autopilot Reset
To enable a local Windows Autopilot Reset, configure the DisableAutomaticReDeploymentCredentials policy. This policy is documented in the CredentialProviders section, under CredentialProviders/DisableAutomaticReDeploymentCredentials configuration service provider (CSP) policy. By default, local Windows Autopilot Reset is disabled. This default ensures that a local Windows Autopilot Reset isn't triggered accidentally.
Use one of these methods to set the policy:
MDM provider
When you use Intune, create a new device configuration profile with the following settings:
- Platform = Windows 10 and later.
- Profile type = Device restrictions.
- Category = General.
- Autopilot Reset = Allow. Deploy this setting to all devices where a local reset should be permitted.
If you use an MDM provider other than Intune, check the MDM provider's documentation on how to set this policy.
Windows Configuration Designer
Use Windows Configuration Designer to set the Runtime settings > Policies > CredentialProviders > DisableAutomaticReDeploymentCredentials setting to
0and then create a provisioning package.Set up School PCs app
The latest release of the Set up School PCs app supports enabling local Windows Autopilot Reset.
Trigger local Windows Autopilot Reset
A local Windows Autopilot Reset is a two-step process:
- Trigger the Windows Autopilot Reset.
- Authenticate.
After you perform these two steps, the Windows Autopilot Reset runs. When the Windows Autopilot Reset finishes, the device is ready to use again.
To trigger a local Windows Autopilot Reset:
On the device where you want to perform the local Windows Autopilot Reset:
If you have a provisioning package, plug in the USB drive that contains the provisioning package.
From the Windows device lock screen, enter the keystroke CTRL + WIN + R.
These keystrokes open a custom sign-in screen for the local Windows Autopilot Reset. The screen serves two purposes:
- Confirm that the user has the right to trigger local Windows Autopilot Reset.
- Notify the user if the process uses a provisioning package created by using Windows Configuration Designer.
To trigger the local Windows Autopilot Reset, sign in to the device with an account that has local admin credentials.
When you trigger the local Windows Autopilot Reset, the reset process starts. When provisioning is complete, the device is ready to use again.
Note
When local Windows Autopilot Reset is used on a device, the device's primary user and the Microsoft Entra device owner aren't updated. Admins can update them manually after the Windows Autopilot Reset completes.
Reset devices with remote Windows Autopilot Reset
You can use an MDM service such as Microsoft Intune to start the remote Windows Autopilot reset process. Resetting in this way avoids the need for IT staff to visit each machine to start the process.
To enable a device for a remote Windows Autopilot Reset, the device must be MDM managed and joined to Microsoft Entra ID. Also, for Intune, the Intune Service Administrator role is required for remote Windows Autopilot Reset. For more information, see Add users and grant administrative permission to Intune.
Triggering a remote Windows Autopilot Reset
To trigger a remote Windows Autopilot Reset by using Intune, follow these steps:
- In the Intune admin center, go to the Devices tab.
- In the All devices view, select the targeted reset devices and then select More to view device actions.
- Select Autopilot Reset to start the reset task.
When the reset is complete, the device is again ready for use.
Note
When remote Windows Autopilot Reset is used on a device, the device's primary user and the Microsoft Entra device owner is removed. The next user who signs in after the reset will be set as the primary user and Microsoft Entra device owner. Shared devices will remain shared after the Windows Autopilot Reset.
Troubleshooting
Windows Autopilot Reset requires that the Windows Recovery Environment (WinRE) is correctly configured and enabled on the device. Before the Windows Autopilot Reset is started, it checks if WinRE is configured and enabled. If WinRE isn't configured and enabled, the Windows Autopilot reset fails immediately on the device and an error such as Error code: ERROR_NOT_SUPPORTED (0x80070032) is reported in the logs.
To make sure WinRE is enabled, use the REAgentC.exe tool to run the following command:
reagentc.exe /enable
If Windows Autopilot Reset fails after enabling WinRE, or WinRE can't be enabled, contact Microsoft Support for assistance.