Fixing a secureboot problem on computers imaged with sysprep

Posted by No_Actuator_4762@reddit | sysadmin | View on Reddit | 5 comments

I’ve got a bunch of computers that were imaged using sysprep. Most computers are the same or similar, and there are a few that are a different Manufacturer, but that doesn’t seem to come into play here.

With secureboot off, which is necessary to restore my image to disk, every computer boots without issue to Windows. After finishing the oobe, they work great. Intune managed windows updates are doing an okay job from there.

With secureboot enabled, signature verification fails.

I’ve tried bios update,

bootrec /fixmbr

bootrec /fixboot

bootrec /rebuildbcd (0 os is found when scanned)

The other thing I’ve done, and may be the actual problem come to think, is use gparted to move and expand partitions as needed. Image was created with a 256GB disk and most workstation have .5TB or 1TB capacity.

Does anyone with more experience with secureboot know how I’m breaking, and how I can NOT break or repair the disks boot? I’d really like to be able to use secureboot in my compliance policy in intune….

Thank you.