To remove everything from a Windows PC before junking or giving it away, use the built-in Reset this PC feature with full data removal.
- Back up anything important
- Resetting will permanently remove apps, settings, and (depending on the option) personal files.
- If the drive is encrypted, ensure the BitLocker recovery key is available. For more information see Find your BitLocker recovery key.
- Open Reset this PC (Windows 10/11)
- Open Settings.
- Go to System → Recovery.
- Under Reset this PC, select Get started.
- Choose to remove everything
- When prompted, select Remove everything (this reinstalls Windows and removes all personal files, apps, and settings).
- Enable drive cleaning for disposal
- When asked about how to reinstall:
- Choose Cloud download (downloads a fresh copy of Windows) or Local reinstall (uses files already on the PC).
- When asked about data removal, enable the option similar to Clean data:
- This removes files and cleans the drive, making it harder for others to recover files.
- This process can take longer but is recommended if the PC is being donated, recycled, or junked.
- When asked about how to reinstall:
- Start the reset
- Confirm the choices and start the reset.
- The PC will restart and go through the reset process. When finished, Windows will be in a fresh, out-of-box state with data removed according to the selected options.
Note: The built-in data erasure is designed for consumers and does not meet specialized government or industry data erasure standards.
References: