Development versions of Windows 10 and Windows 11 do not include working versions of wmic.exe. When you run any .cmd batch file which uses wmic.exe then it will quit the batch file and exit. Please use a release version of Windows when using any E2B .cmd scripts or Make_E2B.exe.
FAQ Group: Make USB
Questions when making a USB drive
Please try E2B installer with E2B v2.10b Beta or later. The bug in Make_E2B_USB_Drive.cmd occured if your %temp% environment variable contains one or more spaces.
The most common reason is that your Windows PATH variable is bad. At the Windows command prompt type (not if XP OS) where wmicwhere find These should return the path of the wmic.exe and find.exe files which are normally at C:\Windows\System32 and C:\Windows\System32\wbem. Note that find.exe should NOT be a cygwin version but the windows\system32 …