BoRRoZ - thanks for that, I moved the folder to the desktop, checked that COM9 was still present but I get the same error.
I’ve tried resetting the Wio, putting it into download mode and then immediately tried the erase but I still get the same error.
COM9 is still there and said to be working.
Allan