Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Hyper-V Core server 2008 that I administer via command line and remote tools. We have now got a new backup system in place and it involves me connecting an External USB drive (G:) to backup system state files. My question is how should I safely remove the drive for its weekly offsite swap?

I've tried using the devcon tool however it just says the 'removal failed with no devices removed' with no other explanation. I have noticed that there isnt a readily available x64 version of devcon and that might be the cause of the problem. (I have read of people downloading a amd64 version but I have not located it myself, if someone knows where it is please let me know).

The devcon command worked on my old 2003 x86 server with the command: devcon remove *3200AVJ_EXTERNAL*

I have also looked at using fsutil volume dismount g: but it doesn't seem to work as G: is still listed as a connected volume.

I have checked that the volume is not in use via remote tools and the net file command. Both show no open files in the G:\ volume. This could be a decent substitute as it might be used to flush any remaining IO to the volume can anyone clarify?

Thanks in advance.

share|improve this question
up vote 2 down vote accepted

Are you using the Windows 2003 version of devcon? I don't think it is 100% compatible with Windows 2008. Try downloading the WDK from Microsoft and extracting the newest version from there. link text

The newest x64 version is in: WDK\ - extract the _devcon.exe_00000 file and rename to devcon.exe. The proper version of the file should be 6.1.7600.16385.

share|improve this answer
Successful removal! Thank you for your answer! – Qwerty Apr 30 '10 at 1:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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