Windows Server 2022 creates one recovery partition just on the right of the C: partition. So, when it is required to expand the C: partition it is impossible due to this recovery partition. I realised of this problem because our IT department provides Windows Server virtual machines users are unable to expand.

I would like to know how are you dealing with this problem. Do you remove the recovery partition? Do you keep the recovery partition? how?

    • IHawkMike@lemmy.world
      link
      fedilink
      arrow-up
      13
      ·
      13 days ago

      Recovery partitions on servers – especially VMs – are kind of pointless. Just boot the ISO if you need WinRM.

      • zako@piefed.socialOP
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        13 days ago

        I remember years ago one Windows Update of the vmware drivers that took down all our Windows Servers and they were unable to boot. I thought the recovery partition could be useful for those situations.

        • kn33@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          13 days ago

          Eh, kinda, but a Windows Server ISO would be equally as useful.

          • fuckwit_mcbumcrumble@lemmy.dbzer0.com
            link
            fedilink
            arrow-up
            2
            ·
            12 days ago

            A windows server iso would be a lot more useful since you could do anything including reinstall the OS, or copy files from the installer over. Recovery limits you to mostly just what’s already on the C drive.

            • kn33@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              12 days ago

              Well, yes, but I thought that we’re all smart enough to know that here and I didn’t have to qualify my statement with “In the scenario that the recovery partition would be useful, a Windows ISO would be equally as useful to the task at hand.”

  • superkret
    link
    fedilink
    arrow-up
    8
    ·
    13 days ago

    Remove the recovery partition, it’s pointless anyway.
    But what the hell was MS thinking doing that?

    • Lucy :3
      link
      fedilink
      arrow-up
      5
      ·
      13 days ago

      Probably along the lines of “Ook ook ook”

      • kn33@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        13 days ago

        I’m imagining it went something like

        “Hey boss, should I set the Server variant to not install the recovery partition?”
        “Why?”
        “Well, kinda pointless isn’t it?”
        “Yeah, but like, not hurting anything, and do you want to risk breaking something? Because I don’t”
        “Yeah, fair point”

  • plasticcheese@lemmy.one
    link
    fedilink
    arrow-up
    5
    ·
    13 days ago

    As others have said, we remove the recovery partition when it gets in the way.

    We came across a very similar but more sticky issue the other day. One of our admins rightfully converted all our VMs from BIOS to UEFI. This, however, created an EFI partition sitting to the right of the OS partition for the majority of our servers. We’re now in a position where we can’t increase disk size on any of those servers without going through the process of rebooting the box with gparted and manually moving the partition to the left. We’re a 24 hour operation with hundreds of servers. This is bad :/

    • zako@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      13 days ago

      why do you still use BIOS instead of EFI? For any particular reason? VMware recommends EFI for Windows Server 2022. Our Window Server 2022 template is EFI.

    • Max-P@lemmy.max-p.me
      link
      fedilink
      arrow-up
      2
      arrow-down
      1
      ·
      13 days ago

      You could also push the EFI partition at the very end of the disk whenever you resize the volume. A bit more annoying but can be done live at least. Or at the very least, moving a 500MB partition is a lot faster than moving GBs of C drive, so less time spent on GParted.