42

I want to sell a pc and have reinstalled Windows 10 and afterwards I installed the correct GPU driver. Now I want to reset the pc so when it gets turned on the next time the windows first-time configuration comes up, but the already installed GPU driver should NOT be removed. I know that this is possible and have done it multiple times already, but I don't remember the command and can't find it anywhere.

glglgl
  • 1,469

2 Answers2

61

After searching for a whole hour I found the solution: sysprep.

Enter this is in the command line and it will shutdown your PC after confirming. The next time you start your PC it will look like a fresh install.

1

This shouldn't be necessary, as Windows 10 will auto install all WHQL drivers required by the hardware upon running Windows Update (exception is Chipset drivers)


The only way to ensure the GPU driver is permanently included (in this scenario) is to:

  1. Install a previous version of Windows 10 (v1809, v1803, etc.)
  2. Install the GPU driver
  3. Update to v1903 (any version newer than one installed)
  4. Perform a Reset via:

    • CLI:

      systemreset -cleanpc
      


    • GUI:
      • Settings > Update & Security > Recovery > Reset this PC

    • Recovery:
      • Click the Power Button, hold down SHIFT and select Restart
      • Once Recovery Menu loads, select Troubleshoot, then Reset your PC


ScreenShots: HowTo: Perform a clean install using Reset this PC in Windows 10

JW0914
  • 9,096