Windows 10: Restore partition showing up as a Z drive.

Page 1 of 2 12 LastLast
  1.    26 Oct 2015 #1

    Restore partition showing up as a Z drive.

    Hello everyone,

    Even though this is my first post, i'm a regular reader of various posts here.

    I have a DELL-XPS13 Laptop. After upgrading it from win8 to win10, i noticed a restore partition is getting showed up in explorer as Z drive.

    Click image for larger version. 

Name:	Capture1.PNG 
Views:	4 
Size:	14.6 KB 
ID:	44829

    When I open Disk Management, i do not see this Z drive assignment to the drive.

    Click image for larger version. 

Name:	Capture.PNG 
Views:	10 
Size:	323.4 KB 
ID:	44830

    I do not know how i can hide this drive.

    Thanks in advance for helping me out.
      My ComputerSystem Spec

  2.    26 Oct 2015 #2

    Hi, there's going to be a way in Windows, but I don't know offhand. So I'd turn to a partition manager, e.g. Easeus Partition Manager. (The Pro version is regularly given away). (There are many, and their boot disks can be useful in an emergency). I've done the search for you..
    Two Ways to Hide Disk Partitions in Windows
    (Command line)
      My ComputerSystem Spec

  3.    26 Oct 2015 #3

    Hi dalchina, many thanks for the help,

    out of two ways described there, only one way is possible. Using "Diskpart" command.
    However, the results are temporary. After a reboot the restore drive is again acquiring Z drive.

    Is there any permanent way?

    Best regards
      My ComputerSystem Spec

  4. Posts : 3,361
    W10 Pro x64/W7 Ultimate x64 dual boot main - W10 Pro Insider Preview/W7 Pro x64 - remote pc
       26 Oct 2015 #4

    Hello geojoshi Welcome to the Ten Forums!

    You may not want to hear this but after seeing a full system image backup made of one laptop's drive right after the upgrade to 10 followed by the first clean install for the 32bit later to be the 64bit changeover fresh install to come while checking first to see if the clean install would activate I found after removing those small 300mb and 400mb OEM and System Reserved partitions the main C primary could not be resized to fill the drive in or shrunk down any to see a second back up partitiion created.

    The end result which followed the second clean install conversion to the 64bit 10 Home from 32bit 7 Home Premium was to wipe the drive entirely! That meant nuking the C primary off the drive from being the one hold up. Afterwards the second 64bit clean install went onto a fresh brand new C primary which also saw the second backup partition created on the single drive model.

    After you make a full image of the drive you have the same option open to blast Z as well as the other unnecessary drive space takers and put on a fresh install of 10. With Z gone for good it can't come back on it's own ever again! The system image is simply made in case of any mishap until 10 is up and running on a fresh primary without worry!
      My ComputerSystem Spec

  5.    27 Oct 2015 #5

    geojoshi said: View Post
    Hi dalchina, many thanks for the help,

    out of two ways described there, only one way is possible. Using "Diskpart" command.
    However, the results are temporary. After a reboot the restore drive is again acquiring Z drive.

    Is there any permanent way?

    Best regards
    As NightHawk says- it depends whether you want to keep it - if not, he gives a definite way to remove it. If it's an obsolete restore partition dating back to when you bought the PC, why keep it?

    If you really want to hide it, try getting a good partition manager, and try that - unless there's something amiss with your disk structure.
      My ComputerSystem Spec

  6.    27 Oct 2015 #6

    geojoshi said: View Post
    Hi dalchina, many thanks for the help,

    out of two ways described there, only one way is possible. Using "Diskpart" command.
    However, the results are temporary. After a reboot the restore drive is again acquiring Z drive.

    Is there any permanent way?

    Best regards
    Try changing the letter to Y and rebooting and see what happens. It seems something is resetting it if diskpart doesn't persist.

    Another thing you could look at is gdisk and make sure the partition type code is correct.

    Download it and then from an elevated cmd prompt in the same directory it is in...
    D:\Users\Hali\OneDrive\Programs\Gdisk>gdisk64.exe 0:
    GPT fdisk (gdisk) version 1.0.0
    Partition table scan:
      MBR: protective
      BSD: not present
      APM: not present
      GPT: present
    Found valid GPT with protective MBR; using GPT.
    Command (? for help): p
    Disk 0:: 236978176 sectors, 113.0 GiB
    Logical sector size: 512 bytes
    Disk identifier (GUID): 94EB0CDB-062F-4EF9-BDED-04F144D52C7C
    Partition table holds up to 128 entries
    First usable sector is 34, last usable sector is 236978142
    Partitions will be aligned on 8-sector boundaries
    Total free space is 1273309 sectors (621.7 MiB)
    Number  Start (sector)    End (sector)  Size       Code  Name
       1              40         1024039   500.0 MiB   2700  Windows RE
       2         1024040         1433639   200.0 MiB   EF00  EFI
       3         1435648         1468415   16.0 MiB    0C01  Microsoft reserved ...
       4         1468416        49500159   22.9 GiB    0700  Windows10
       5        49501912       186482799   65.3 GiB    0700  Shared
       6       186482800       235708599   23.5 GiB    AF00  El Capitan
    Command (? for help): q
    If it is 2700 you'll not see it in file explorer for example.

    You can change the partition code using the t and then w options.

    Alternatively as other have said you could delete it.
      My ComputerSystem Spec

  7. Posts : 3,361
    W10 Pro x64/W7 Ultimate x64 dual boot main - W10 Pro Insider Preview/W7 Pro x64 - remote pc
       27 Oct 2015 #7

    That would be the Open Source tool GPT fdisk being pointed to there. And if you decide to go Open Source you then have the Gnome Partition Editor or GParted live available. That will show what partitions are present and allow you to get things cleaned up fast.

    Without any downloads at all you can open up the Command prompt(admin) option and type in "diskpart" as one word at the dos like prompt there followed by the "list volume" command which then displays all partitions as Volume 0, Volume 1, etc in progression. The drive letters will be seen in the "Ltr" column right before the label of each.

    Click image for larger version. 

Name:	DISKPART Listing Volumes.jpg 
Views:	2 
Size:	61.1 KB 
ID:	44914

    Right then and there if you happen to type in the "Clean All" command say good bye to everything as all volumes will be cleared off in one shot! You then can create the new primary right there on the spot or wait until booted live with the 10 media if you saw that made up. Did you?

    You certainly will want the 10 media either on usb flash drive or if your laptop won't allows booting from anything but optical the 10 dvd made up. A good example of that was the HP laptop mentioned before that has no F key option for bringing up a boot device menu where you could select USB HDD or the cd rom option. Plus there was no getting in to the bios setup to change the drive order. The optical drive was already set as first by HP.

    Besides the more drastic steps outlined you could also simply nuke the Z partition by itself and leave everything else intact without any worries. The drive space where Z is now would simply be turned into unallocated drive space. The drive cleanup and fresh 10 install of course is for the intent of dumping the small factory OEM as well as a 3rd party partitions intended for recovery purposes with or without recovery media as well as the System Reserved partition created by the Windows installer when that is allowed to create the OS primary C itself. If a drive is already partitioned all the installer does then is format if needed and then put the set up files as those are unpacked. So you do have various options to work with.
      My ComputerSystem Spec

  • Posts : 2,437
    Windows 10 Pro 64-bit 1709 (FCU build 16299.248)
       27 Oct 2015 #8

    Another option is to hide drive Z from appearing on This PC. Press Win+R to open a Run dialog and execute regedit to open Registry Editor. Then navigate to Current_User -> Software -> Microsoft -> Windows -> CurrentVersion -> Policies -> Explorer

    See image below:

    Click image for larger version. 

Name:	Hide drives Registry.jpg 
Views:	1 
Size:	49.6 KB 
ID:	44915

    If there is no there already, create a new DWORD32 key, name it NoDrives and then set the value in hexadecimal to hide the desired drive(s) according to the table below. The table gives each drive letter a binary number (power of 2). To hide a drive letter, set the binary value to 1 and to show others set to 0. Calculate the resulting binary number and convert to hexadecimal. Put this value to NoDrives. To hide more drives set the respective drive letters to 1 and calculate the resulting binary number.

    Click image for larger version. 

Name:	Drives binary number.jpg 
Views:	2 
Size:	24.0 KB 
ID:	44917

    So, in your case to hide Z and leave others, the binary number is 100000000000000000000000000 which in hex is 4000000 which is the value you have to set to hide only drive Z. I hope I calculated correctly.
      My ComputerSystem Spec

  •    27 Oct 2015 #9

    Guys many thanks for your suggestions here,

    I tried to delete the partition using Diskpart, but 2 times the program just forced itself to close. I tried to follow spapakons suggestion to hide the partition using regedit.....but got lost in what values to be put where......i would appreciate if you could help me out here.

    Thank you once again guys....
      My ComputerSystem Spec

  • Posts : 2,437
    Windows 10 Pro 64-bit 1709 (FCU build 16299.248)
       27 Oct 2015 #10

    Hello! If you open Registry Editor, you will see a tree of "folders" (actually keys) and values. There are several main keys, one of them is HKEY_CURRENT_USER and contains data concerning the current user only. So you expand this first. The second level ("subfolder") is Software that contains data about installed programs. Expand that. Then you are looking for Microsoft which contains data about windows and other Microsoft applications, expand it. From Microsoft you select Windows and then CurrentVersion. Next level is Policies which contains settings for applications. Expand this and go to Explorer to adjust settings for Windows Explorer. Once at the Key Explorer, you will see some variables at the right window which are the actual settings. You are looking for the variable NoDrives which is used to show/hide drives from This PC. For a drive to be visible it must have binary value 0. To hide it, it must have binary value 1. You set the value at 1 for each drive you want to hide and let it 0 for the other drives (look at the table). Then you write down the resulting number of 1s and 0s. This is a binary number, use the calculator app to convert it to hexadecimal. In your case, to hide only drive Z you need to set 1 the most significant bit of 26 digits, and let others to zero. This in decimal translates to 2^26 (2 in the power of 26) and in hexadecimal is 4000000. So you need to create a new DWORD 32-bit variable [right-click NEW->DWORD (32-bit value)] and rename it to NoDrives, if not already present. Then set it (double-click) to value 4000000 to hide drive Z. Logoff and login to see the difference. If done correctly, next time you open This PC you shouldn't see any Z drive as it is now hidden.
      My ComputerSystem Spec

    Page 1 of 2 12 LastLast

    Related Threads
    Partition hard drive to install Windows 7 in Installation and Upgrade
    Hello all, I've already upgraded to Windows 10 on my desktop PC, and there were no issues with the upgrade. However, I work from home and my work has informed me that they won't accept Windows 10, they will only accept 7 or 8.1 as their operating...
    On my laptop I have 3 primary partitions only, ( no small 100m partition windows typical installs use ). I have had Windows 10 in a hidden folder for a while now, but have postponed the update until now. When starting the upgrade process Window is...
    Hi all, Stupid question probably, however I cannot find an answer online and I'm not the most tech savvy. I bought a HP laptop around Christmas last year. The laptop came with a recovery partition, which I still to date haven't got around to...
    Data on separate partition or drive? in Installation and Upgrade
    Wondering how Windows 10 deals with putting data on a separate partition or drive. Does it use the same general method as in Windows 7, where it re-maps (for example) "Documents" to a folder on a different letter drive path? So that...
    Hi For some reason Windows 10 is showing the System Reserved partition from Windows 8 in the File Explorer window. It never did this before. See Drive D:\
    Our Sites
    Site Links
    About Us
    Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    © Designer Media Ltd
    All times are GMT -5. The time now is 22:47.
    Find Us