Vous êtes sur la page 1sur 20

For optimal navigation, this site uses cookies.

By continuing your browsing you

OK

More info

DIGITAL CITIZEN

PRODUCTIVITYENTERTAINMENTSECURITYSMARTPHONESMARTHOMEHEALTH

How to Hide or Dismount a Partition in


Windows
TUTORIAL

BY CIPRIAN ADRIAN RUSEN | 11/01/2011

Share on

Do you need to hide or dismount a partition so that Windows can no longer view it and write
files on it? If thats the case, then you are in luck. This tutorial shows how to do this both from
Computer Management and the Command Prompt. It also shows how to mount back
(unhide) partitions, in case you need to use them again.

Why Would you Want to Hide a Partition?


The reasons can vary, depending on your context:
open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

If you have a computer with multiple operating systems installed, which is accessed by
more than one person, you might want certain partitions to be available only to some
operating systems and certain people.
If you are working as a system admin, you might want to hide the partition containing
recovery tools on each computer on the network.
You want to pull an April Fools prank and hide a partition from being accessed by
other people using the same computer & operating system.
When you hide (dismount) a partition in Windows (any version), the setting you made is
remembered until you manually unhide (mount) that partition. The partition will be invisible to
all the user accounts defined on that operating system and will continue to exist with its
content intact. If you have other operating systems installed on the same computer, for which
the partition is not hidden, the user accounts defined on those operating systems will be
able to use the partition.

Hiding (Dismounting) the Partition from Disk Management


First, you need to open Disk Management or Computer Management and access the Disk
Management section. We showed how to do this, in an older tutorial: How to Manage Your
Disks using the Disk Management Utility.
There you can see a list with all the partitions existing in your computer.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Right click on the partition you want to hide (dismount) and select "Change Drive Letter and
Paths".

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

In the "Change Drive Letter and Paths" window, click on the Remove button.

You are asked to confirm the removal of the drive letter. Click Yes.

NOTE: If there are open applications using files from the partition, you are warned that the
drive is in use. Make sure you close all the applications that might be using files from that
open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

partition and then click Yes, to continue the drive letter removal operation.

The partition is now hidden (dismounted) and it is no longer accessible from the operating
system you are currently using. Windows will remember the setting you just made, at each
login and the partition will never be available to users, unless you choose to unhide (mount)
it.

Hiding (Dismounting) the Partition from the Command Prompt


You can achieve the same result from the command line too. Simply run as administrator a
Command Prompt instance.
Then type the following command: mountvol drive letter /D. Replace the "drive letter" text
with the actual letter of the drive you want to hide (dismount). I wanted to hide partition "D:"
so I typed mountvol D:\ /D. The /D argument stands for dismount.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

If you need help with understanding all the command line parameters for mountvol, simply
type mountvol /? and you will get detailed help.
NOTE: If you dont run the Command Prompt with administrative privileges, the command
wont work.

Unhiding (Mounting) the Partition from Disk Management


If you want to unhide (mount) a partition and make it available again, open Disk
Management and right click on the partition. Then, select em>"Change Drive Letter and
Paths", just like you did to hide it in the first place.
In the "Change Drive Letter and Paths" window, it is shown that the partition has no drive
letter assigned. To make it visible again, it needs a drive letter. Click the Add button.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

From the "Assign the following drive letter" drop-down box, select the driver letter you want
to assign. It can be the old one it use to have or a new one. When done, click OK.

The partition is now visible again and can be accessed by users defined on the current
Windows installation.

Unhiding (Mounting) the Partition from the Command Prompt


Run as administrator a Command Prompt instance. Then, type mountvol /?.
You will first see a list with all the command line parameters available for mountvol and what
they do. Scroll down below, to see all the possible values for VolumeName. There you will
have a list with all your partitions and their assigned drive letters, if assigned.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Look for the entries where you find the text "NO MOUNT POINTS", as shown below. Those
entries represent hidden (unmounted) partitions, which can be unhidden (mounted) again.

To mount a partition type: mountvol drive letter VolumeName. The text "drive letter" should
be replaced with the letter you want to use (e.g. D: E: F:). Make sure you assign driver letters
which are free and not taken by other partitions. VolumeName should be replaced by the
open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

text which starts with "\\?\Volume{". Make sure you write the complete and correct value.
Also, pay attention to the case used for each letter. The command is case sensitive - using
the wrong case only for one letter, will cause the command to fail.

If the command was executed correctly, you wont receive any messages. The partition will
simply show up in Windows Explorer.

Conclusion
As you can see, hiding and unhiding partitions is simpler than you would expect. If you have
any questions about the procedure, dont hesitate to ask below.
Share on

Discover more: productivity,


tutorials, command prompt, system and security, windows,
ABOUT THE AUTHOR:

CIPRIAN ADRIAN
RUSEN

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

I love technology and I work in IT for more than a decade. I am the co-founder of Digital Citizen and its chief editor.
Alongside my work as an editor, I am also an author. I have written and published 7 books, most of them about
Microsoft products and technologies. They are translated into more than 12 languages. In 2014, I have been
recognized by Microsoft for my technical expertise and involvement in the community with the title of Microsoft MVP Windows Consumer Expert.

Related articles

Command Prompt - 6 disk management commands you should know

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

How to manage partitions with the Disk Management tool, in Windows

Reviewing Linksys WRT1900AC - Is this the best router in the world?


open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Disk Management - How to Mount and Unmount VHD Images

VIEW COMMENTS

SUBSCRIPTION
OPTIONS
Please input a valid e-mail address in
order to subscribe to our newsletter
open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

Name

@ e-mail address

Daily

Subscribe

Other subscription options

POPULAR
ARTICLES

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

We are giving away 10


licenses of Heimdal Pro.
Here's how to win one!
BY CIPRIAN ADRIAN RUSEN | 10.14.2016

MISC

Heimdal Security has partnered with


Digital Citizen to organize a
giveaway for our readers. If you want
to win a free one year license for one
of the most innovative security
products on the market, you should
enter this giveaway. To learn more
about Heimdal and how you can
win, read this article: What is
Heimdal? Heimdal is designed to
enhance...

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

What is the Tablet


Mode in Windows 10,
how to use it and
configure it
BY CIPRIAN ADRIAN RUSEN |

TUTORIAL

10.12.2016

Tablet Mode is a new feature of


Windows 10 that was created as a
result of the frustrations generated
by the full-screen Start screen from
Windows 8.1. Its a great way of
using Windows 10 on touchscreen
devices like tablets or 2-in-1s like
Microsofts Surface Pro. In this article
we will share what the Tablet Mode
is, how to use it, how to...

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

How to make Windows


10s File Explorer start in
any folder you want
BY CIPRIAN ADRIAN RUSEN |

TUTORIAL

10.11.2016

Windows 10 offers an easy way of


changing the start location for File
Explorer. However, it only gives you
two starting locations to choose
from: Quick access and This PC. But
what if you want File Explorer to start
in another location? What if you'd
like your File Explorer to start in your
OneDrive folder, your Dropbox
folder, one of your...

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

TOP
COMMENTS
SDKLUBER

Ok, so here's my deal.


SCOTT

As an IT professional, I'm trying


to use Edge as exclusively as
possible so that I can give my
users the best possible
explanation of why they
ROCKY

You could try using gParted


under Linux to manage partitions
but you do need to be very
careful as it is very easy to delete
partitions and create
ROLAND

Just set up my first Xbox One for


my 10 year old son (Christmas
present). A few points:
open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

TONY

Better way to access powershell


for Windows 10 and 8.1:
SCARED WIFE

I wanted to get rid of my


husband's USB drive because of
all of the porn in it!
RUNE RASMUSSEN

Totally agree. I'm an IT supporter,


but have not used Win 10 much.
VRM

There is a lot of
misinformation going around
about windows 10 (among
other things). You can have
BOTH local and ms account.
MEDDY

This article proved


invaluable... I finished a Win10
stall and my AVG prompted
to update.
open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

to update.

CATEGORIES

OTHER LINKS

Productivity

Login / Register

Entertainment

Advanced search

Security

Subscription options

Smarthome

About us

Smartphone

Contact

Health

Terms and conditions

OUR BOOKS

SUBSCRIPTION OPTIONS
Please input a valid e-mail address in order to subscribe to our
newsletter

Name

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

@ e-mail address

pdfcrowd.com

Daily

Subscribe

Other subscription options

Except where otherwise noted, all content is provided "as is", with no warranties, and it is licensed under Creative Commons
Attribution-Noncommercial-Share Alike 4.0 International. If you use materials published from this site for noncommercial purposes,
you are kindly asked to mention our site as the source and post a link to the original article(s). Also, please be aware that some of our
pages might have a different copyright noted, that applies to them. All products mentioned on our website are registered trademarks
and/or trademarks of their respective companies.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com