Use the DiskPart Inactive command.
You will use the following DiskPart commands:
List Volume Select Volume 2 (here I've used the letter 2. You use the correct one for your system)
Inactive (will mark the selected volume as inactive)
EXIT (which will exit from DiskPart)
To run DiskPart, you must go to an elevated command prompt.
Quote:
Command Prompt - Elevated command prompt
Elevated command prompt = Run CMD.EXE as administrator · WIN key
· Type
CMD.EXE (do not hit Enter key)
· In the
Programs list, Right-Click on
CMD.EXE · Click on
Run as administrator · YES button
OR for keyboard fans:
· WIN key
· Type
CMD.EXE (do not hit Enter key)
· Press
CTRL + SHIFT + ENTER key combo
· Press
ALT + y in response to UAC (User Access Control) prompt asking to “allow program …”
Now to get to diskpart, simply
type
Diskpart
hit
ENTER
run the diskpart commands mentioned above and then type
EXIT to exit from CMD