+x dbminter - 14 January 2023 4:25 PMIt most likely started with the release of 8.1.7248. That was the build where I had a CBT issue where it was keeping partitions "In Use" in Disk Management when attempting to remove drive letters from partitions. It had not been present before 7248.
@echo offset tempfile="%TEMP%\diskscrp.dsk"REM ***************************************************************************************************REM * You will need to replace the call to listvolumes.bat with the actual location of the batch file and accompanying TXT file *REM ***************************************************************************************************REM diskpart /s %userprofile%\documents\utilities\ejectusb\listvolumes.txtcall %userprofile%\documents\utilities\ejectusb\listvolumes.batecho.set /p volume=" Which volume do you want to eject? "echo.echo select volume %volume% >>%tempfile%echo offline disk >>%tempfile%echo online disk >>%tempfile%diskpart /s %tempfile% | findstr /C:"not valid"if "%ERRORLEVEL%"=="1" ( echo Disk has been unlocked successfully. Try to safely remove it now. pause )del /F %tempfile%pauseecho any key to exit
diskpart /s %userprofile%\documents\utilities\ejectusb\listvolumes.txtpause
list vol
+x dbminter - 19 September 2023 4:46 PMThis should have been addressed by now. I know it's not an issue with Samsung T7 USB SSD's as I've had no issues Ejecting those for months.
At this time, we don’t have the bandwidth to complete your request. I apologize that we can’t provide a direct solution . . . .