電腦小天地 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
Highest Xbox Live Gamerscore
Pending Transactions on Ethereum | Bitcoin.com Support Center
Craigslist Home Health Care Jobs
فیلم رهگیر دوبله فارسی بدون سانسور نماشا
The Ivy Los Angeles Dress Code
oklahoma city for sale "new tulsa" - craigslist
Top 10: Die besten italienischen Restaurants in Wien - Falstaff
Think Of As Similar Crossword
CA Kapil 🇦🇪 Talreja Dubai on LinkedIn: #businessethics #audit #pwc #evergrande #talrejaandtalreja #businesssetup…
What Was D-Day Weegy
Keurig Refillable Pods Walmart
Ree Marie Centerfold
How Many Slices Are In A Large Pizza? | Number Of Pizzas To Order For Your Next Party
The Binding of Isaac
Accuradio Unblocked
Buff Cookie Only Fans
List of all the Castle's Secret Stars - Super Mario 64 Guide - IGN
Craigslist West Valley
Nhl Tankathon Mock Draft
Ubg98.Github.io Unblocked
We Discovered the Best Snow Cone Makers for Carnival-Worthy Desserts
Jail View Sumter
Sunset Time November 5 2022
Loslaten met de Sedona methode
Drift Hunters - Play Unblocked Game Online
Makemv Splunk
Amerisourcebergen Thoughtspot 2023
Webworx Call Management
Safeway Aciu
Delta Math Login With Google
Taylored Services Hardeeville Sc
N.J. Hogenkamp Sons Funeral Home | Saint Henry, Ohio
Bridgestone Tire Dealer Near Me
Best New England Boarding Schools
Babbychula
The Ride | Rotten Tomatoes
Panchitos Harlingen Tx
11 Pm Pst
How To Paint Dinos In Ark
Kazwire
Trizzle Aarp
11526 Lake Ave Cleveland Oh 44102
Random Animal Hybrid Generator Wheel
Air Sculpt Houston
Aloha Kitchen Florence Menu
Sacramentocraiglist
300+ Unique Hair Salon Names 2024
Latina Webcam Lesbian
Osrs Vorkath Combat Achievements
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.