fastboot boot <recovery.img>
If it asks you to run it once again, do so
adb shell msc
Once the Pad 5 is detected as a disk
diskpart
Use
list volume
to find it, it's the one named WINNABU
select volume <number>
assign letter x
exit
If it says
"Automatic WINNABU detection failed! Enter Drive Letter manually"
typeX
Open the folder with Drivers and run OfflineUpdater.cmd
You can also use the WOA Helper app, in which case you can reboot with
adb reboot
Make sure you use the latest UEFI, because Windows might not boot if you update drivers without updating the UEFI
adb reboot bootloader
Replace <uefi.img> with the actual path of the UEFI image
fastboot flash boot <uefi.img>