Repository navigation
Backlog
Description
Related user story
Task
A device set up with zero-touch should go through it again after it's reset, so that IT can hand it to the next person, or start over after Ctrl+Shift+X before the IdP sign-in. Today nothing makes that happen. We don't know yet which of the zero-touch files survive a reset, or whether Windows uses them again. So this starts with an investigation on a VM, then fixes what it finds.
What changes:
- Investigate both ways to reset a device set up from the provisioning folder: the Reset action in Fleet, and Reset this PC with "Remove everything" on the device. Write down which files survive, which ones Windows uses again, and what the device shows at each step. The Reset action keeps provisioning packages and the Wipe action doesn't, so only Reset is expected to work.
- Make both resets bring the device back to Fleet's sign-in page. This may mean putting files where Windows reapplies them after a reset, and changes to the provisioning folder or fleetd.
- On the server, a reset host enrolls again and asks for zero-touch:
- If its setup had finished, Fleet holds it again with a new sign-in token. This is already required by the hold sub-issue.
- If it was still waiting for the IdP sign-in, for example after Ctrl+Shift+X, the hold and its token stay, and the end user signs in as usual.
- The docs say that a reset device goes through zero-touch again, and which reset to use.
Out of scope:
- The Wipe action for lost or stolen devices. It removes provisioning data, so the device isn't expected to come back.
- Reimaging a device. IT uses a new provisioning folder for that.
Open questions
- Reset this PC with "Keep my files". It keeps the device's user accounts, so the end user still has a way in. We recommend that it doesn't start zero-touch again. Product decides.
- One-time enroll secrets. A reset device is refused at enrollment when they're on, because its old MDM enrollment is still linked. That would block this path for those customers. Either we fix it here, or it stays a known limitation. Product decides after the investigation shows the cost.
Implementation notes: the windows-zero-touch OpenSpec change (#60856), task group 10.
Condition of satisfaction
- The investigation's results are in a comment on this issue: for each way to reset, which files survive and what the device does.
- After the Reset action in Fleet, a device that finished zero-touch setup comes back to Fleet's sign-in page, and the next end user can set it up.
- The same works after Reset this PC with "Remove everything" on the device.
- A device reset after Ctrl+Shift+X before the IdP sign-in comes back to Fleet's sign-in page, and its sign-in finishes setup.
- Fleet holds a reset host until the IdP sign-in, and shows one host, not two.
- The device has no account left over from the previous user or from
unattend.xml, and its MDM enrollment is moved to SYSTEM again. - A device that wasn't set up with zero-touch isn't affected by a reset.
- The decisions on "Keep my files" and one-time enroll secrets are made and done.
Metadata
Metadata
Assignees
Labels
~sub-taskA technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Type
Projects
- StatusShow more project fields📨 Inbox
Activity