Windows 10: MSR Size Curiosity - GPT secondary disks

Discus and support MSR Size Curiosity - GPT secondary disks in Windows 10 Drivers and Hardware to solve the problem; Recently working on backups on a PC with 5 HDDs in it and noticed that two 640GB GPT disks had 16MB MSR partitions. I thought that the size of the MSR... Discussion in 'Windows 10 Drivers and Hardware' started by TV2, Mar 8, 2020.

  1. TV2
    TV2 Win User

    MSR Size Curiosity - GPT secondary disks


    Recently working on backups on a PC with 5 HDDs in it and noticed that two 640GB GPT disks had 16MB MSR partitions.

    I thought that the size of the MSR was determined by the disk size: less than 16GB = 16MB (Windows 10), and greater than 16GB = 128MB.

    Both of these disks were deleted to all unallocated, and then changed from MBR to GPT disks, then formatted NTFS in Windows Disk Management.

    Shouldn't these MSR be 128MB?


    MSR Size Curiosity - GPT secondary disks [​IMG]

    :)
     
  2. topgundcp Win User

    No MSR partition after converting from MBR to GPT a while back?


    Yes, we will rebuild the whole thing.

    Here's the steps:
    1. Copy this code and save it in a file called: EFI.txt to an external HD.
      IMPORTANT: The code uses Disk 0 on first line, make sure you use the same disk #, if not, change it.
      select disk 0
      clean
      convert GPT
      create partition primary size=499
      format quick fs=ntfs
      set id=DE94BBA4-06D1-4D40-A16A-BFD50179D6AC override
      gpt attributes=0x8000000000000001
      create partition primary size=99
      format quick fs=FAT32
      set id=C12A7328-F81F-11D2-BA4B-00A0C93EC93B override
      create par MSR size=16
      list par
      exit
    2. Download Macrium Rescue disk ISO.: MacRescue.iso - Google Drive
      build a bootable USB, use: Rufus - Create bootable USB drives the easy way
    3. Boot up the PC with the USB. NOTE: there are 2 boot up modes: USB-XXX and UEFI-USB-XXX
      Since your Windows is GPT, Must use: UEFI-USB-XXX
    4. Make a complete backup image of your current Windows Disk 0 including D: partition to the external HD.
      (Click on image this disk)
      IMPORTANT:
      Make sure you verify the image
    5. Next, Click on the command icon on the bottom left to open the command windows then type:
      diskpart /s Drive:\EFI.txt where Drive is the the drive letter of the external HD.
      This will create the 1st 3 partitions: 500MB Recovery, 100MB EFI System, 16MB MSR
    6. Go back to Macrium Windows, click on Backup tab, click on Refresh
    7. Next, click on Restore Tab and select the backup image created in step 4
      Select the destination disk (Disk 0)
    8. Drag the Cdrive from top row and drop to the empty space next to 16MB MSR, then drag D: and drop next to C:
      Click next->Finish
    9. Once restore completed. Click on "Fix Windows Boot problem". Follow the screen to rebuild the BCD.
    10. Reboot

    You should have: 499 MB Recovery, 99 EFI System, 16MB MSR and C drive + Drive (16MB MSR is hidden from Disk Management)
    Here's a screen shot without Drive D since I only have Windows partitions on disk 0

    MSR Size Curiosity - GPT secondary disks [​IMG]


    At this point your Windows Recovery Environment is broken, we will fix that next.

    If you have any question. Please ask !!!
     
    topgundcp, Mar 8, 2020
    #2
  3. fg2001 Win User
    Win 10 1903, DiskPart command 'convert gpt' automatically creates an MSR partition at the beginning of the disk.

    Tired of running out of space in the recovery partition and get windows image shadow copy error
    0x80780119, I was just trying out the script to prepare the GPT partitions for windows 10 installation, but rather than using WinPE I just used the DiskPart command on a running windows 10 v 1903 or 20H1 and I noticed that using the script suggested
    by Microsoft at this link:

    UEFI/GPT-based hard drive partitions

    I ended up with 2 MSR partitions instead of one. The 1st Reserved partition was created directly after the command 'convert gpt'

    This does not happen if the same script is started from the command prompt of the installation media.

    I did not see any documentation stating that the command 'convert gpt' was automatically creating an MSR partition and it was just a surprise to see that it behaves differently depending on the environment. I assume that is fine for a GPT disk that only
    has data partitions after the MSR, but not good for a windows system disk.

    To work around the problem and running the script on a live system I had to add 2 lines right after the "convert gpt"

    ---

    select partition 1

    delete partition override

    ---

    and then continue with the rest of the script.

    Results sample with a 64GB disk before the workaround:

    Disk 7 is now the selected disk.

    DISKPART> list partition

    Partition ### Type Size Offset

    ------------- ---------------- ------- -------

    Partition 1 Reserved 15 MB 17 KB <-------- Created automatically with command 'convert gpt'

    Partition 2 System 100 MB 16 MB

    Partition 3 Reserved 16 MB 116 MB

    Partition 4 Primary 58 GB 132 MB

    Partition 5 Recovery 1000 MB 58 GB

    DISKPART>

    rem == CreatePartitions-UEFI.txt ==

    rem == These commands are used with DiskPart to

    rem create four partitions

    rem for a UEFI/GPT-based PC.

    rem Adjust the partition sizes to fill the drive

    rem as necessary. ==

    select disk 7

    clean

    convert gpt

    rem added following 2 lines to work around the duplicate MSR

    select partition 1

    delete partition override

    rem == 1. System partition =========================

    create partition efi size=100

    rem ** NOTE: For Advanced Format 4Kn drives,

    rem change this value to size = 260 **

    format quick fs=fat32 label="System"

    assign letter="S"

    rem == 2. Microsoft Reserved (MSR) partition =======

    create partition msr size=16

    rem == 3. Windows partition ========================

    rem == a. Create the Windows partition ==========

    create partition primary

    rem == b. Create space for the recovery tools ===

    rem ** Update this size to match the size of

    rem the recovery tools (winre.wim)

    rem plus some free space.

    shrink minimum=1000

    rem == c. Prepare the Windows partition =========

    format quick fs=ntfs label="Windows"

    assign letter="W"

    rem === 4. Recovery tools partition ================

    create partition primary

    format quick fs=ntfs label="Recovery tools"

    assign letter="R"

    set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"

    gpt attributes=0x8000000000000001

    list volume

    exit

    Same 64GB disk sample after adding the 2 lines in the script.

    Disk 7 is now the selected disk.

    DISKPART> list partition

    Partition ### Type Size Offset

    ------------- ---------------- ------- -------

    Partition 1 System 100 MB 1024 KB

    Partition 2 Reserved 16 MB 101 MB

    Partition 3 Primary 58 GB 117 MB

    Partition 4 Recovery 1000 MB 58 GB

    DISKPART>

    Actual windows disks with increased recovery partition to 1000 MB:

    DISKPART> select disk 0

    Disk 0 is now the selected disk.

    DISKPART> list partition

    Partition ### Type Size Offset

    ------------- ---------------- ------- -------

    Partition 1 System 260 MB 1024 KB

    Partition 2 Reserved 16 MB 261 MB

    Partition 3 Primary 475 GB 277 MB

    Partition 4 Recovery 1000 MB 475 GB

    DISKPART>


    MSR Size Curiosity - GPT secondary disks 598356c2-b49e-4315-a91d-9dbec71fea4a?upload=true.png


    --
     
    fg2001, Mar 8, 2020
    #3
  4. Bree Win User

    MSR Size Curiosity - GPT secondary disks

    No MSR partition after converting from MBR to GPT a while back?


    Some info....

    https://msdn.microsoft.com/en-us/lib...aq_what_is_msr

    ...and in more understandable language...

    https://en.wikipedia.org/wiki/Micros...tition#Purpose

    Not that I need to know, it's all MBR here MSR Size Curiosity - GPT secondary disks :)
     
    Bree, Mar 8, 2020
    #4
Thema:

MSR Size Curiosity - GPT secondary disks

Loading...
  1. MSR Size Curiosity - GPT secondary disks - Similar Threads - MSR Size Curiosity

  2. Out of curiosity

    in Windows 10 Gaming
    Out of curiosity: With a new Windows Backup and Restore coming, I have read that it can backup and restore your files and now apps... my concern is creating a disk image. Will you still be able to do that like in Windows Backup and Restore Windows7?...
  3. System won't boot after converting main disk to GPT, unless I disconnect secondary disk...

    in Windows 10 Gaming
    System won't boot after converting main disk to GPT, unless I disconnect secondary disk...: Hello,I have a PC based on Gigabyte B550M DS3H, Rysen 5 3600, 16GB RAM.System disk is a 1Tb Samsung 970 Evo Plus SSD M.2 NVMe and there's also a 4Tb WD Red SATA for storage.Motherboard and SSD have latest firmware installed.OS was Windows 10 64-bit; I thought it was a good...
  4. System won't boot after converting main disk to GPT, unless I disconnect secondary disk...

    in Windows 10 Software and Apps
    System won't boot after converting main disk to GPT, unless I disconnect secondary disk...: Hello,I have a PC based on Gigabyte B550M DS3H, Rysen 5 3600, 16GB RAM.System disk is a 1Tb Samsung 970 Evo Plus SSD M.2 NVMe and there's also a 4Tb WD Red SATA for storage.Motherboard and SSD have latest firmware installed.OS was Windows 10 64-bit; I thought it was a good...
  5. Size and Size on disk

    in Windows 10 Network and Sharing
    Size and Size on disk: Hi this is what I see on Pictures property folder: [ATTACH] How come? could it be that 75GB take only 2.2GB on disk or is it the other way around?... https://answers.microsoft.com/en-us/windows/forum/all/size-and-size-on-disk/04a4374b-f0b9-4eac-b4b6-3b68373c3330
  6. Dynamic gpt disk to basic gpt disk without losing data

    in Windows 10 Ask Insider
    Dynamic gpt disk to basic gpt disk without losing data: Hi, how do i convert dynamic gpt disk to basic gpt disk without losing data? I know you can do it via disk management, but for me its greyed out. I have 4tb one and i think why its greyed out is bc it will try to convert it to basic mbr disk (which supports only up to 2tb)...
  7. Disk Management Curiosity

    in Windows 10 Customization
    Disk Management Curiosity: Please see the attached Disk Management profile. [ATTACH] I know that there will be an 'unlettered' small drive called 'System Drive' or as in the case of branded computers 'Recovery Drive', side by side with the 'C Drive'. I suppose to belong to the 'GPT' Windows...
  8. Curiosity

    in AntiVirus, Firewalls and System Security
    Curiosity: Can anyone tell me why when I run MRT --which takes a while on this computer it shows 1 whatever it refers to it as malware but at the end, it says nothing found. period. This happens often and all my other antimalware also reports a clean computer including Webroot and Win...
  9. GPT disks

    in Windows 10 Installation and Upgrade
    GPT disks: Converted 2 drives to GPT (using diskpart utility from the "repair Windows"section of installation dvd) after deleting and removing all partitions and volumes. Windows showed the 4TB drive as being the full size so it had been converted. After windows installed both drives...
  10. A matter of curiosity

    in Windows 10 Drivers and Hardware
    A matter of curiosity: I have just bought a new Asus ROG G750JM and getting it to accept 7 drivers without mucking around in the BIOS has made it only just usable - bog standard graphics and no USB ports etc etc Now a friend asked me why I didn't use the 8 it came with and my reason is because I...