I have almost the same error, with minor differences
(on Arduino 1.8.19, board package Raspberry Pi Pico / RP2040 by Earle F. Philhower III 1.9.15, Windows 10):
Resetting COM4
Converting to uf2, output size: 130560, start address: 0x2000
Traceback (most recent call last):
File "C:\Users\Lych\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\1.9.15/tools/uf2conv.py", line 380, in <module>
main()
File "C:\Users\Lych\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\1.9.15/tools/uf2conv.py", line 360, in main
drives = get_drives()
File "C:\Users\Lych\AppData\Local\Arduino15\packages\rp2040\hardware\rp2040\1.9.15/tools/uf2conv.py", line 233, in get_drives
"FileSystem,", "DriveType"])
File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 395, in check_output
File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\subprocess.py", line 487, in run
subprocess.CalledProcessError: Command '['wmic', 'PATH', 'Win32_LogicalDisk', 'get', 'DeviceID,', 'VolumeName,', 'FileSystem,', 'DriveType']' returned non-zero exit status 3221225781.
subprocess.CalledProcessError: Command '['wmic', 'PATH', 'Win32_LogicalDisk', 'get', 'DeviceID,', 'VolumeName,', 'FileSystem,', 'DriveType']' returned non-zero exit status 3221225781.
(I'd also likeIt took me two days to point outfix that Imistake!
Who would have no folder "Dthought that this is due to the missing file "C:\obj..." on my disc D.)
Pressing BOOTSEL, reinstalling Arduino IDE, drag-and-dropping flash_nuke.uf2, hello_world\Windows\SysWOW64\framedynos.uf2, plugging in another USB port - so far nothing helpsdll".
Important notice:
When I put the same Pico board works on another, similarfile back in place, computer without any conflictseverything went back to normal.