電腦小天地 myhkweb - Safely Remove or Eject a Disk Using the Command Line (2024)

Use the diskpart utility to safely remove a disk drive. This is useful when you have no GUI, for example in Server Core or Hyper-V Server.

1. On command prompt, type "diskpart" and wait for the new prompt, then type "list volume". Take note of the number of your desired volume by watching its drive letter (be carefull!!!)

2. Type "select volume <number>", where <number> is the number of your USB storage.

3. Then, type "remove all dismount". Type "exit" to leave diskpart. Enjoy! ;)

4. Now you can safely remove your USB storage device from the Hyper-V server.

According to the diskpart remove's help (type "help remove" inside diskpart):

DISMOUNT

This parameter may be used if

1) all drive letters and mounted folder paths have been removed from the volume, or

2) the ALL parameter is specified. This parameter specifies that the file system is to be dismounted and the volume taken offline. If other processes are using the volume, DiskPart closes any open handles before dismounting the file system and taking the volume offline. You can bring the volume online by assigning it a driver letter, by creating a mounted folder path to the volume, or by using the ONLINE command. DISMOUNT will fail if used on a volume that has any remaining drive letters or mounted folder paths. For scripting, using REMOVE ALL DISMOUNT is recommended.

Source: http://social.technet.microsoft.com/Forums/en-US/winservercore/thread/d99024c1-75d0-4344-9cce-8a7b895d1885

電腦小天地 myhkweb - Safely Remove or Eject a Disk Using the Command Line (2024)
Top Articles
Netflix vs. Amazon Prime Video: Which Is Better?
Software Engineer, L4/L5, Open Connect Control Plane
Friskies Tender And Crunchy Recall
Victor Spizzirri Linkedin
Chris Provost Daughter Addie
Visitor Information | Medical Center
Readyset Ochsner.org
Aces Fmc Charting
How Far Is Chattanooga From Here
Whiskeytown Camera
Carter Joseph Hopf
Www.paystubportal.com/7-11 Login
Tcu Jaggaer
New Mexico Craigslist Cars And Trucks - By Owner
zopiclon | Apotheek.nl
Oppenheimer Showtimes Near Cinemark Denton
Gas Station Drive Thru Car Wash Near Me
Busty Bruce Lee
Moparts Com Forum
Munich residents spend the most online for food
8664751911
Milspec Mojo Bio
Lawson Uhs
China’s UberEats - Meituan Dianping, Abandons Bike Sharing And Ride Hailing - Digital Crew
Geometry Review Quiz 5 Answer Key
Chaos Space Marines Codex 9Th Edition Pdf
Craigslist Org Appleton Wi
How to Grow and Care for Four O'Clock Plants
11 Ways to Sell a Car on Craigslist - wikiHow
4Oxfun
Watertown Ford Quick Lane
Firefly Festival Logan Iowa
LG UN90 65" 4K Smart UHD TV - 65UN9000AUJ | LG CA
Shnvme Com
آدرس جدید بند موویز
Junee Warehouse | Imamother
Gold Nugget at the Golden Nugget
Skyrim:Elder Knowledge - The Unofficial Elder Scrolls Pages (UESP)
Midsouthshooters Supply
Craigslist Gigs Wichita Ks
Felix Mallard Lpsg
Emily Browning Fansite
Inducement Small Bribe
Differential Diagnosis
Rs3 Nature Spirit Quick Guide
Fairbanks Auto Repair - University Chevron
Jackerman Mothers Warmth Part 3
Craigslist Psl
Parks And Rec Fantasy Football Names
Craigslist Monterrey Ca
Karen Kripas Obituary
Latest Posts
Article information

Author: Rueben Jacobs

Last Updated:

Views: 5792

Rating: 4.7 / 5 (77 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Rueben Jacobs

Birthday: 1999-03-14

Address: 951 Caterina Walk, Schambergerside, CA 67667-0896

Phone: +6881806848632

Job: Internal Education Planner

Hobby: Candle making, Cabaret, Poi, Gambling, Rock climbing, Wood carving, Computer programming

Introduction: My name is Rueben Jacobs, I am a cooperative, beautiful, kind, comfortable, glamorous, open, magnificent person who loves writing and wants to share my knowledge and understanding with you.