question

RickSomeone-1151 avatar image
0 Votes"
RickSomeone-1151 asked RickSomeone-1151 commented

How to Capture an image in MDT that has already been sysprepped.

I have a VM that I am sysprepping. There is one MS App that I cannot remove and sysprep breaks in MDT. So if I manually sysprep the VM and it shuts down,







how do I boot it to MDT without it coming back up into the OS?



It is not supposed to reach the OS desktop if I believe. So, once my Vm is shut down after being sysprepped, how do I use MDT to capture it to a WIM?
Is it not a true statement that once the VM comes back up to the desktop, it is no longer sysprepped with a unique ID for deployment?

mem-cm-osdmem-cm-site-deploymentmem-mdt
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Jason-MSFT avatar image
0 Votes"
Jason-MSFT answered RickSomeone-1151 commented

You boot the system into WinPE and run the capture from there.

Why do this at all though? The current common path for Windows 10 is to deploy the base media (that has been serviced to include the latest CU) and they layer on all changes and customizations after the base image is deployed. This is a far better experience for all involved and requires far less tinkering and time. Building images, in general, should be considered a dead and left-over path from the dark-ages of Windows deployment and provisioning.

· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I have most of my images as thin as possible. There are a few programs that can't be silent unless rewritten.
My problem today is having a 20H2 VM upgraded from 1703 and its full of viruses, er, apps, that blow up sysprep.
I had them all gone with a PS I found, but they are back and I can manage to get just about all of them off but one...
XboxSpeechToTalkOverlay. Why that's even on an Enterprise edition bugs me.

I wanted to get those apps off of there and get it shut down. Just to sysprep it with the exe and boot to the LiteTouch file in my boot folder.
I could do that but it's futile if I can't get that Overlay GONE.

0 Votes 0 ·

There are a few programs that can't be silent unless rewritten.

It's not about the applications, it's about their installers. Have you tried scripting the installers or using a repackager?

Everything else you describe is exactly why manually creating images is (and always has been considered) something to avoid at all costs and why even if you are stuck on creating images they should be automated and built clean every time.

Why do you care about a built-in app that no one notices or cares about?

0 Votes 0 ·

There is one program, our main software program, that is the heart of our org.
While installing it, either on a pc, VM, whatever, even if for the first time, a popup comes along and says,

Be sure to close all apps before continuing. Of course there are none, because this is on a fresh image, but I cannot get past that notification. There are 5 components of this installer, and I have 4 of them silently installing, but the 3rd one has that warning in it. I don't know how to edit exe files to make this not ask that or I would.

Also, the main issue I had was trying to remove the XboxSpeechToTextOverlay apps because that is breaking my sysprep. I've used every dism and PS command found on the internet.
My next step is to try to remove them from the 20H2 ISO before I update my 1703VM.
But for that installer, that warning it written into the exe, so whether you wish to call it an application or an installer, it still prompts to click OK halfway through the installation.

0 Votes 0 ·
Show more comments

Well Jason, if we had someone who had time to figure out how to silent install almost 25 programs then great. Since everyone is getting this base image (others have more), they're content having the base stuff on the image.
It's all moot anyway since I upgraded an image from 1703 to 20H2 and can't sysprep it because of all the stupid apps. I removed them from these ISO wim with no internet and got them back.
So in this case it wouldn't matter if anything was on it or not.

0 Votes 0 ·
AllenLiu-MSFT avatar image
0 Votes"
AllenLiu-MSFT answered

Hi, @RickSomeone-1151
Thank you for posting in Microsoft Q&A forum.
I see you have attached the SCCM tag, are you also using SCCM?
Sometimes we need to create images of clients without making changes to the original systems for backup purpose. This can be the case when software is installed by hand, specialized equipment is attached or software is licensed based on specific characteristics (SID).
For this situation, we may refer to the article for more details:
https://www.configmgrpro.com/2019/02/13/create-a-computer-image-without-sysprep/



If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.