Backup important data. 2. Create a bootable Windows installation media (USB or DVD). 3. Boot the computer from the installation media. 4. Choose the "Custom" installation option. 5. Delete existing partitions and create new ones as needed. 6. Follow on-screen instructions to complete the installation. 7. Install necessary drivers and updates. 8. Restore data from backup and install required software.