- Use Johan's instructions on creating a fresh ISO of newest Windows 10: http://deploymentresearch.com/Research/Post/399/How-to-REALLY-create-a-Windows-10-ISO-no-3rd-party-tools-needed
- Create a bootable USB key
- Diskpart
- list disk
- select disk 1
- clean
- cre part pri
- format fs=fat32 quick
- assign
- active
- Mount the ISO (in this case shows up as e:\)
- xcopy e:\*.* f:\ /cherkyi
- On the OEM-installed XPS 13Run in PowerShell "Export-WindowsDriver -Online -Destination d:\drivers" while you have the USB key as D:\ on it
- This exports all 3rd party drivers to the USB
- Mount the install.wim with dism to add the drivers to the Windows image itself
- copy d:\install.wim c:\temp
- dism /mount-wim /wimfile:install.wim /index:1 /mountdir:mount
- Dism /Image:C:\temp\mount /Add-Driver /Driver:d:\drivers /Recurse
- dism /unmount-wim /mountdir:mount /commit
- copy /y install.wim d:\sources\ (or replace with other means)
- (You can repeat the previous for the D:\Sources\Boot.wim if you want to skip steps 7 & 8)
- Boot the new machine with the USB
- If you can't find the disk so do the following
- Hit Shift+F10 to get to the command prompt
- Change to your drivers folder like c:\Drivers
- Run "for /r %i in (*.inf) do drvload "%i"
- Refresh the disk view
- Clean the disks and install Windows 10
So what this does is takes all needed drivers from the preinstalled OS and makes sure your new OS (and WinPE if you did the step 5) has the same drivers :) Your Device Manager should look quite nice without any additional steps!
Cheers,
Sami
This is really a wonderful post.
ReplyDelete