Selling
How to reset a Windows PC before selling it
To reset a Windows PC before selling it, go to Settings > System > Recovery > Reset PC, then choose Remove everything and turn on Clean data. Then remove the PC from your Microsoft account, as Microsoft asks before a sale.
Before the reset, back up your files and, if the PC is encrypted, make sure you have your BitLocker recovery key. Then go to Settings > System > Recovery > Reset PC: choose Remove everything and turn on Clean data, the option Microsoft recommends for a sale. The reset can take a long time: don’t restart the PC yourself. Finally, remove it from your Microsoft account at account.microsoft.com/devices.

Before you sell
Which option to choose for a sale
- Remove everythingChooseDeletes your files, apps and settings
- Clean dataChooseYour files will be harder to recover
- Cloud download or local reinstallEitherCloud download installs the latest Windows
- Keep my filesNot for a saleYour documents and photos stay on the PC
Source: Microsoft, “Reset your PC” (Windows 11 and Windows 10).
Step 1
Before the reset: backup and BitLocker key
With the Remove everything option, the reset reinstalls Windows and deletes your files, apps and settings.
- Back up what you want to keep, for example with Windows Backup.
- If the PC is encrypted, make sure you have your BitLocker recovery key.

Step 2
Reset from Settings
These are the Windows 11 menus. Microsoft ended support for Windows 10 on 14 October 2025, but the option is there too.
- Settings > System > Recovery.
- Under Recovery options, select Reset PC.
- Choose Remove everything, then turn on Clean data: it is the option Microsoft recommends for a sale.
- Choose Cloud download (the latest version of Windows) or Local reinstall (faster on a slow connection).
- The screen may stay black for a long time and the PC may restart on its own: don’t restart it yourself, or the reset may fail.
- On Windows 10: Settings > Update & Security > Recovery, then Reset this PC > Get started.
Step 3
After the reset: remove the PC from your Microsoft account
Microsoft asks you to do this once the PC is backed up and reset.
- Go to account.microsoft.com/devices and sign in.
- Find the PC, select Show details, then More actions > Remove.
- Tick “I’m ready to remove this device”, then select Remove.
Step 4
When buying: a PC wiped clean
A PC that starts on the seller’s account (their name, their password, their files) has not been reset.
- Turn it on in front of the seller, before you pay.
- If it starts on their account, ask them to reset it: since it takes time, it is best done before you meet.
- You can also start from scratch after buying: for a device received without a reset, Microsoft suggests a clean install of Windows.
0/8 checks completed
Checklist to use in person
Sources and limits
Reference sources
FAQ
Common questions
How do I factory reset a PC?
On Windows 11: Settings > System > Recovery > Reset PC, then Remove everything. For a sale, also turn on Clean data.
Which option should I choose to sell my PC?
Remove everything, with Clean data turned on. Keep my files leaves your documents and photos on the PC: it is not for a sale.
How long does a reset take?
Microsoft gives no total time. It warns that Clean data may take some time and that the screen may stay black for a long time. Don’t restart the PC yourself.
Do I need to remove the PC from my Microsoft account?
Yes. Once the PC is backed up and reset, Microsoft asks you to remove it from your account at account.microsoft.com/devices.
Does a reset erase everything for sure?
With Clean data, your files are harder to recover. Microsoft points out that this wipe is meant for consumers and does not meet government and industry data-erasure standards.
Where can I sell my PC in Morocco?
On Damjitech, for free and with no commission. Once the PC is reset and removed from your Microsoft account, list it: the buyer turns it on in front of you, and you are paid in person.
Turn knowledge into a decision
Turn good preparation into a trusted listing
Publish condition, defects and useful photos clearly to attract a serious buyer.