Forum Discussion

Sapko's avatar
Sapko
Copper Contributor
Sep 10, 2025

Fully Automated Windows Factory Reset for Corporate Laptops

Hello, I am working on a corporate project where we need to allow employees to purchase company laptops.

After purchase, the laptop must be fully reset to a “factory state,” removing all corporate data and files. I have tried several approaches:

systemreset -factoryreset — but it always shows the GUI and prompts the user to choose whether to keep files or remove everything. 

Using a ResetConfig.xml — but without an OEM recovery image, it does not work.

Applying install.wim via DISM — but after reboot, the system remains unchanged.

My goal is to fully automate the factory reset without any user interaction, ideally in a corporate environment. I am considering using MDT, SCCM, or Intune.

My questions: What is the best approach to fully automate Windows reset for corporate laptops?

Are there best practices or official guides from Microsoft for this scenario?

Has anyone successfully implemented fully automated factory reset in a corporate deployment?

1 Reply

  • Dassinkun's avatar
    Dassinkun
    Iron Contributor

    Automating a complete factory reset of Windows 10/11 laptops in a corporate environment requires a solution that performs a full, unattended reset—removing all user data, settings, and corporate configurations—without user interaction.

Resources