Clean Install Windows
Guide on how to backup your data and clean install Windows.
Prerequisites
- A genuine Windows ISO file, you can download from https://msdl.gravesoft.dev/
- The latest version of Rufus from https://rufus.ie/
- A minimum 8GB USB drive
- Follow this guide before making a bootable USB if you think the system has malware.
Another clean system if your current system is infected with File infector malware.
Why?
Because file infector malware can copy itself to the bootable USB that you are going to make to perform a clean installation.
You need to use another clean system to make a bootable USB and plug it into the current infected system only when it's not running live Windows.
How to check if you have file infector malware?
Open PowerShell as admin and enter
sc.exe start "sppsvc" > $null 2>&1; Write-Host "Error code: $LASTEXITCODE"
If the output is 577 or 225, then most likely chances are that the system is infected with File infector malware.
What if you don't have another clean system?
You can try Dr.Web https://free.drweb.com/download+cureit/gr to remove file infector malware. However in some cases, it may miss to remove all, that's why its best to make bootable USB on another clean system.
Back up your data
The clean installation process will format the C drive where Windows is installed; if you have any data in the C drive, you need to back it up.
- I have multiple partitions on my drive, like C:\ D:\
- I have C:\ drive only
- You can copy your data from C drive and paste it into other partitions.
- Your data is usually located in the below place on the C drive,
- Go to this folder
C:\Users
and then select the user account that you are using. - Your data is saved in Desktop, Documents, Downloads, Music, Pictures, and Videos folders.
- Save these folders in another partition to backup.
- Go to this folder
- Your data is usually located in the below place on the C drive,
- Go to this folder
C:\Users
and then select the user account that you are using. - Your data is saved in Desktop, Documents, Downloads, Music, Pictures, and Videos folders.
- Go to this folder
- If you have a small amount of data to back up, save it on the below listed online drives or the USB drive after making it bootable with Rufus.
- If you have a large amount of data that you can't save on an external drive or online drive,
- Create another partition using this guide https://youtu.be/_HgjasKuOBw
- Save your data onto that other newly created partition.
It's highly recommended to backup your critical data on some online drive as well, for example,
GoogleDrive - 15GB Free
Mega - 20GB Free
OneDrive - 5GB Free
Create a bootable USB with Rufus
- Plug your USB drive into the system. (Its data will be deleted.)
- Launch Rufus which you downloaded earlier.
- In the "Device" dropdown, select your USB flash drive.
- Boot Selection:
- Click "SELECT" and choose your Windows ISO file. Rufus will auto-configure optimal settings.
- Click "START."
- Wait for Rufus to create the bootable USB. It may take several minutes. You'll see "READY" when done.
Windows 11 on Unsupported Hardware
- Rufus can help you install Windows 11 on unsupported hardware, but you will encounter problems with future feature updates since Microsoft does not permit that on such hardware.
- To resolve this issue, you need to install IoT Enterprise 24H2 (2024) edition which is officially supported on unsupported hardware. Don't worry about it being an unusual edition; it's binary identical to other editions, with the primary difference being the licensing.
- This IoT Enterprise edition comes in 2 flavors,
- IoT Enterprise (GAC, General Availability Channel)
- IoT Enterprise (LTSC, Long-Term Servicing Channel)
- Next question, how do we install this edition?
- For GAC version, you don't need IoT Enterprise ISO, you can simply use regular Windows 11 24H2 consumer (linked at the top) or business ISO.
- For LTSC version, you need to download the full version of LTSC ISO (don't use eval), it doesn't have to be IoT ISO, you can download a normal LTSC ISO in your language.
- After flashing the required ISO using Rufus, navigate to the
\sources\
folder on the USB drive and create a file namedPID.txt
(ensure the file extension is correct). Open this file with Notepad and enter the text below.- For GAC version
[PID]
Value=XQQYW-NFFMW-XJPBH-K8732-CKFFD - For LTSC version
[PID]
Value=CGK42-GYN6Y-VD22B-BX98W-J8JXD
- For GAC version
- When installing Windows, be sure not to use the old version of the installer.
- That's it. The setup will auto-pick the IoT Enterprise edition.
Alternatively, if you don't want to do that, you can install Windows normally and later change the edition to IoT Enterprise.
Edition List During Windows Installation
- If your system has an OEM license installed by the manufacturer on the motherboard, then the Windows setup will not show the edition list and will automatically select the edition based on the license on the motherboard.
- If you have such hardware and want to view the list of available editions for Windows installation, follow the steps below.
- After flashing the required ISO using Rufus, navigate to the
\sources\
folder on the USB drive and create a file namedei.cfg
(ensure the file extension is correct). Open this file with Notepad and enter the text below.
[Channel]
NoKeyChannel
- Now you can view the edition list and pick the edition you want from Windows Vista to Windows 11. It also helps you avoid installing key in Windows 8/8.1 setup where key installation can not be skipped.
Notes:
- In Windows 11 24H2, the new installer does not support this, so you need to select the "old" installer option when the setup starts.
- If you are using PID.txt, please note that it will take precedence over ei.cfg.
Clean Install Windows
- Disconnect all external or non-boot internal drives to reduce installation risks.
- Restart your PC and boot from the USB flash drive, typically accessed by pressing F11 or F12 during startup. If it's not working for you then Google the type of device you have followed by "boot menu key", for example, "Asus Zephyrus G14 boot menu key" and find the results for your model number.
- Follow on-screen instructions.
- Choose "Custom: Install Windows only (advanced)" for a clean install.
- Delete all partitions on the boot drive, or if you want to save data partitions then delete only the C drive and other small system partitions, and select the unallocated space created.
- Click "Next" to start the installation. Windows will auto-create the necessary partitions.
- You can connect with us for help if you need.