How to force-eject an external drive?

Page 3 of 3 FirstFirst 123

  1. Posts : 17,661
    Windows 10 Pro
       #21

    You simply press WIN + R to open RUN prompt, type shutdown -s -f -t 0 and hit Enter to force Windows to shut down. No worries, no lost data.

    When done, disconnect the external USB device.

    Kari
      My Computer


  2. Posts : 31,666
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #22

    battlezone said:
    If I try to shut down the computer so that I may safely remove the external drive, and if I get a pop-up that says the drive is currently in use, will that not mess up things if I shut the computer down?
    No, shutting down the computer will first shut down all running processes, including the one that's using the drive. You won't get a pop-up.
      My Computers


  3. Posts : 114
    Windows 10 Pro
    Thread Starter
       #23

    I thank you both. This puts my concern to rest.
      My Computer


  4. Posts : 6,851
    22H2 64 Bit Pro
       #24

    I reckon you should experiment with disabling autorun / autoplay on external drives.

    Open the Settings app and click Devices. Select AutoPlay from the left sidebar.

    How to force-eject an external drive?-autoplay.jpg

    Apply the settings in the screenshot.

    Run regedit then navigate to:

    HKEY_Local_Machine\Software\Microsoft\Windows\CurrentVersion\policies\Explorer

    and

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

    Here is where it gets tricky. In each location check for NoDriveTypeAutoRun in the right pane. If it's not there right click and create a new DWORD (32-bit) Value and name it NoDriveTypeAutoRun

    Enter DD in hex as your value for the DWORD "NoDriveTypeAutorun" you created above. This will allow the installer CD ROMs you insert to still autorun but nothing else.

    To disable autorun for ALL drives including CD ROM, enter the value of 255 decimal or FF hex.


      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 01:56.
Find Us




Windows 10 Forums