Fixing a system reserve partition

I need to delete the contents of fonts directory on the system reserve partition of many laptops in order to Windows 10 to the next version (Win 10 2009). The manual procedure is as follows:

At a command prompt type mountvol y: /s. Then access Y: and cd to EFI\Microsoft\Boot\Fonts. Then del the contents of Fonts using del .

I tried the following, but that doesn’t seem to work.

waithidden cmd /c mountvol y: /s
waithidden cmd /c del Y:\EFI\Microsoft\Boot\Fonts*.*

Anyone know how I would do this?

I have had 100% success running commands with this template

action uses wow64 redirection false {not x64 of operating system}

override wait
hidden=true
wait cmd.exe /c

2 Likes

Yep, if it is a 64-bit machine it is probably the 32-bit redirection that is doing this

1 Like