Share via


make offline command does not exist on usb flash drives in diskmanagement console

Question

Sunday, November 17, 2013 9:33 AM

hi friends

an strange problem. when i connect any USB flash drive to my computer (windows 2012 datacenter), in diskmanagment console, there is no "offline" command.

only these commands exist there: change drive letter- eject - properties- help

whay make offline does not exist ?  i must first be able to offline that so that i can continue your solution.

any help please

All replies (6)

Tuesday, November 26, 2013 7:38 AM âś…Answered

Hi,

There is a similar thread, please go through it to help you resolve the issue:

Take a USB drive offline in Windows Server 2012
http://social.technet.microsoft.com/Forums/windowsserver/en-US/5ee73a1d-0e56-41ca-a7f4-1e3af38a1e98/take-a-usb-drive-offline-in-windows-server-2012?forum=winserver8gen

Regards,

We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.


Sunday, November 17, 2013 9:50 AM

Dear John,

Lets consider your USB flash disk id is 1 then open command prompt: 

Diskpart

Select disk 1

Offline disk

You can use "List Disk" in "diskpart" to list all of your attached disks

Regards,

Housam Smadi


Sunday, November 17, 2013 9:56 AM

And Also you can use the following PowerShell command: Set-Disk -isOffline:$True

The Easy Way to Manage Disk Drives: 

http://blogs.technet.com/b/heyscriptingguy/archive/2012/11/25/weekend-scripter-the-easy-way-to-manage-disk-drives.aspx

Regards,

Housam Smadi


Sunday, November 17, 2013 10:00 AM

Dear John,

Lets consider your USB flash disk id is 1 then open command prompt: 

Diskpart

Select disk 1

Offline disk

You can use "List Disk" in "diskpart" to list all of your attached disks

Regards,

Housam Smadi

thanks i tested your solution but i got this error :

Virtual disk service error:

"the operation is not supported on removable media"

i tested this on 4BG & 8GB USB flash coll disks which was formatted NTFS.

any idea ?

may it be related to size of the cool disk ?


Friday, July 12, 2019 2:12 AM

This thread referenced is not a solution to the problem at all.

It's amazing this problem has been here for 6 years, and this is still the first search term found via Google; the error phrase "The operation is not supported on removable media." doesn't show up on Bing at all.

The problem is, you HAVE to mark a drive offline to present the SD card to a VM (for example, a Raspberry Pi card to a Debian VM to get the boot logs).

The solution in the linked thread was not a removable SD card and was a pretty common sense method of attaching a virtual disk. This isn't the situation.

We need a way to present an SD card as a virtual disk to a VM. That's not possible; if you try to offline the disk you get:

"The operation is not supported on removable media."

You can't share the disk as it's an ext3 format.

        == John ==

== John ==


Monday, March 16, 2020 8:08 PM

Yeah I always find it a bit silly when moderators mark their own wrong reply as an answer...