In my x32Win10ProV22H2, I have SSDs that are connected via SATA ports, but whose power can be switched on (and off) as required. The BIOS has been set to ACHI, so all connected drives should be 'hot swapable'. Yet from time to time, newly connected (i.e. newly powered) drives, do not get detected unless I reboot the PC. I'm looking for a tweak that will force detection without rebooting. I put this question to another forum and one of the responses, provided a batch file to trigger 'rescanning'. The concept is EXACTLY what I am after, but alas the code does not achieve the desired result - it does launch the Command Prompt (probably at elevated level), and Diskpart is employed, I think. I'm wondering if the batch file can be improved or some other work-around created, to avoid the need to reboot so as to get a drive detected.