I’m new to Windows deployments, and I need some help. I’ve gotten as far as setting up a new system from a Windows 11 image downloaded from MS, configuring it/installing software, and then running sysprep. I made a WinPE boot thumbdrive, but I’m stuck at capturing the Windows image part. Part of my problem is that I’m trying to make this in a VM. Is that more trouble than it’s worth?

Is there an easier way to do this? I’ve seen people saying I can use Linux tools like Clonezilla, which sounds good to me, since I’m very comfortable with Linux-- but I read that might cause problems. One thing mentioned was licensing.

I would be deploying these images 100% onto Lenovo machines that we purchase from CDW, so I’m not sure how licensing would work. Is the license tied to the MAC? Will they auto-register once I boot them with the new image?

Thanks for anyone that takes the time to help me understand this :)

  • SheeEttin@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I haven’t done imaging for a few years now, but it used to be that you needed at least one volume license for imaging rights. (The license center only allows you to buy five licenses, but you can do one VL and four of the cheapest thing you can find.) I think you should be able to use the builtin OEM licenses for activation.

    Personally, I wouldn’t bother messing with custom images, unless there’s a particular setup you want them all to have right away. I’d just use a plain image and script everything else. I’d use WDS if you want to use the full Windows stack, or FOG if you prefer.

    • electric_nan@lemmy.mlOP
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      Thanks, I’ll look into the feasibility of scripting. I don’t think I can use WDS since we use a local AD.

      • TheBSGamer@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 year ago

        Also to piggy back off the WDS thing, SCCM (I believe) is included with Windows Volume Licensing so you could also use Task Sequences as a route to image. I built our whole imaging setup with it and only had to build one baked image because the OS needed like 120 pieces of software or something crazy like that. That’s obviously not all that it does but I prefer the flexibility of SCCM’s management alongside the imaging.

        Edit: yeah it’s included if you use Microsoft 365.

        • electric_nan@lemmy.mlOP
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          Thanks, that does look powerful, but also big and complicated. We are at most provisioning a few boxes a week, and I am really just looking for the easiest way to not have to set them all up from scratch. As the company grows, I can see the benefit to learning and utilizing a tool like SCCM.

  • Ænima@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I think you might be referring to pulling out the install.wim file from inside the ISO, no? If so, I think it’s located in the sources folder of the ISO. It’s 3am and I’m still up cause I can’t sleep, so forgive me if I’m totally off base.

  • PutangInaMo@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    1 year ago

    You can use MDT to capture the image, it provides the scripts to do so. Just deploy a windows 11 image on a VM and use said script to capture it to the deployment share.

    You’ll need WDS to install the captured image on the network though but it’s all not as difficult as it may appear.

  • Fullest@sh.itjust.works
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    There are different solutions depending on the scale and scope.

    At the minimum, you can look at just modifying the unattend.xml file to automate a USB install. This will give some simple features like configuring licensing and generally being able to skip the oobe (out of box experience) wizard.

    Next level up is modifying the install.wim file on that USB install. This will afford some more customisability like taking a sysprepped captured image, like what you’re describing. You don’t need a WDS server for this, but if you’re going this deep you might as well move up to one for the automation it brings to that captured image workflow.

    Next level up is setting up a WDS (Windows Deployment Services) server, which can just be a dedicated VM or a dedicated physical machine somewhere on the network. This has all the benefits of the above but with better automation and network booting (which replaces your USB with just needing a network connection) and automatic AD join.

    At the top of those enterprise scale solutions is SCCM (now called MECM) or InTune, depending how you want to work things. Setting up one of these is probably way beyond your scope though.

    Things get more complicated the further up you go, but come with more benefits. If you’re looking for a minimum effort solution, I’d just build a bootable USB with rufus and modify the unattend.xml, save that file somewhere so you don’t have to do it again and just copy it onto any new drive you build.

    I might be forgetting something so hopefully something in the comments here helps you in your current situation. cheers