The subject says it all.


Devcon will allow you to do this. Here is a good article on how to use it.

  • I was trying to find some evidence that it worked with 2008 R2 since that build is for Windows 2003 x86 or IA64 (no x64). Looks like the current WDK has an updated version. See: social.technet.microsoft.com/Forums/en/winservercore/thread/… I'll post with confirmation that it works. – Rhett Dec 2 '09 at 4:14
  • 1
    Confirmed: devcon.exe from the latest WDK works on Windows Server 2008 R2 (version 6.1.7600.16385) – Rhett Dec 3 '09 at 2:46
  • DEVCON asks for admin rights. it's completely useless for guest clients. – user60418 Nov 16 '10 at 8:15

This tool even unmounts S-ATA devices (with spin-down):


Works up to Windows 10 / Server 2016

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.