Jump to content

Recommended Posts

Posted

I build a virtuelt reference image, with all windows 7 updates installed on it.

But when I capture the Image via MDT (BDD_autorun.wsf) and deploy the image again, there are no windows updates, and the newly deployed Image needs to spend another 3 hours updating.

 

What i'm I missing here, do I do something wrong.?

Posted
When you capture do you use the capture task sequence? Basically MDT is geared to do the os,updates and capture as one task sequence. However you can do it manually and use a capture only TS.
  • Thanks 1
Posted (edited)

Basically as free780 said... you should let your task sequence run as a whole. So let it install your OS + Updates + Any Custom Scripts + Applications + Updates + Any Custom Scripts and finally capture it (see attached screenshot of one of my TS's). When testing out my TS's I'll disable the updates as they take a long time and throw in a pause so I can manually check out what the scripts and application installs have done. What I'll also do is create my VM and point its OS build to the "\\DeploymentShare\Boot\LiteTouchPE_x86.iso" so it'll then boot straight to MDT's TS selection menu.

 

Once you have it how you like run it one last time with all the updates and you should be able to let it build your reference image without touching it at all (fully automated).

MDT Image 1.jpg

Edited by jaminben
  • Thanks 1
Posted (edited)

In short, I'm capture it this way.

But I'm in a workgroup, so I don't get the same error.

 

https://www.youtube.com/watch?v=8grZMM1byWg

 

I will return later with screen dumb of my TS. :)

 

Thanks for your help. :)

 

@jaminben

Is your "regfix for browser choice" a fix to delete the icon on the desktop?

@snagrat

Yes, the Image I capture is the same I deploy. So all the updates should be on that Image when I deploy it, unless I'm doing something really wrong. I have only being doing mdt for a couple of months, so I'm still a newbie.

 

 

This is my deploy TS

deploy_TS.jpg

 

My capture TS

capture_TS.jpg

Edited by denmyos
Posted (edited)

 

@jaminben

Is your "regfix for browser choice" a fix to delete the icon on the desktop?

 

Yes... the EU browser choice. I use the regex fix just incase that update gets deployed at a later date and I also tell MDT to ignore the update in my 'Rules' (see screenshot).

 

reg.exe add HKLM\Software\BrowserChoice /v Enable /t REG_DWORD /d 0 /f

 

;Exclude EU Browser Choice
WUMU_ExcludeKB1=976002

 

EDIT

 

I've very quickly skipped through that video and although it will work it looks like its going the long way round. I would personally create my own reference images by letting MDT automatically run through from start to finish without any user interaction required to capture it. Try searching for Johan Arwidmark tutorials, I think I found some awhile ago where he shows how to set it up... if not that try http://deploymentresearch.com/

 

EDIT 2

 

The path for the capture image is set in my 'Rules' as seen in the screenshot (ComputerBackupLocation=).

EU Browser Choice.jpg

Edited by jaminben
Posted (edited)

At this very minut I'm trying to capture a new way (possible the right way...:p)

Where I use a deploy TS and in the deploy wizard I tell to capture and give it a path for the capture.wim.

Before, I would just deploy and in the deploy wizard I would ignore the capture part, and only deploy.

 

Have to wait to see how it goes. :)

@jaminben

I can see that you have a OSDcomputername=REFERENCE

How does that work.?

I rename my computers each at a time after they are deployed.

 

 

Thanks for all the help. :)

 

 

 

edit: My new way of capture didt'n work. It's just deployed, but did not capture anything. :(

 

But change the "rules" to SkipCapture=NO DoCapture=YES

Trying again now, and see how it goes.

Edited by denmyos
Posted

I can see that you have a OSDcomputername=REFERENCE

How does that work.?

 

You have to name it something but when you come to actually deploying the reference image you should be prompted to name the machine again so it shouldn't be a problem.

 

But change the "rules" to SkipCapture=NO DoCapture=YES

Trying again now, and see how it goes.

 

That should work.

Posted

capture error.PNG

 

Still not working.

 

The "add user" is my bad.

 

But it still won't capture from a deploy TS.

 

I have to look at it again tomorrow. :(

Posted
Finally I ended up with a capture.wim but this error turned up at the ended.?

 

Not seen that error before but just check through your customsettings.ini and make sure you've got no typos etc.

Posted

Sorry but i'm still struggling with this.

Is there a log fil where i can see if MDT actually capture my updates, when it captured my image.?

Posted (edited)

This is my customsettins.ini

 

[settings]

Priority=CSettings, CPackages, CApps, CAdmins, CRoles, Locations, LSettings, LPackages, LApps, LAdmins, LRoles, MMSettings, MMPackages, MMApps, MMAdmins, MMRoles, RSettings, RPackages, RApps, RAdmins, Default

Properties=MyCustomProperty

 

[Default]

OSInstall=Y

_SMSTSORGNAME=Naestved Hovedbibliotek

SkipCapture=NO

DoCapture=YES

;ComputerBackupLocation=\\DeploymentShare$\Captures

BackupFile=#year(now) & Right(String(2, "0") & month(now), 2) & Right(String(2, "0") & day(now), 2) & "-" & Right(String(2, "0") & hour(now), 2) & Right(String(2, "0") & minute(now), 2)#.wim

 

 

 

 

SkipBDDWelcome=YES

SkipAppsOnUpgrade=YES

SkipUserData=YES

SkipAdminPassword=YES

SkipProductKey=YES

SkipBitLocker=YES

SkipBitLockerDetails=YES

SkipSummary=YES

SkipFinalSummary=NO

 

SkipComputername=YES

OSDComputerName=PC-001

JoinWorkgroup=HB_BIB

SkipDomainMembership=YES

ApplyGPOPack = NO

 

 

UserLocaleAndLang = da-DK,da-DK

KeyboardLocale = 0406:00000406

UserLocale = da-DK

UILanguage = da-DK

KeyboardLocale=da-DK

SkipLocaleSelection=YES

TimeZone=105

SkipTimeZone=YES

TimeZoneName=Romance Standard Time

SkipPackageDisplay=YES

LanguagePacks001={d626d423-f370-4764-9e69-48049b62635e}

 

 

 

SLShareDynamicLogging=\\mdtserver\deploymentshare$\%OSDComputerName%\

 

Exlude Browser Choice

WUMU_ExcludeKB1=976002

 

TS.PNG

Edited by denmyos
Posted (edited)

I don't get this!!!

When I capture a reference computer that has all windows updates installed, shouldn't it also capture the updates.??

When i deploy the captured image i have disable all windows updates in my TS, because its already installed on the reference/captures computer/image.

But when I deploy my captured Image there are no updates on it, and I have to do the updates all over again.??!!

 

This can't be right.??

 

 

Can anyone please direct me to a wetsite/tutorial that people know works and is using them selfs.

 

apparently I'm to stupid to getting this to work my self.!!

Edited by denmyos
Posted

Ok, finally i got it to work.

 

It turned out that it was my own fault (what a surprise!! :S)

 

When I made the TS I used my captured image, BUT to save time I copied the TS (-control->TS.xml) from a already working TS and thus copying a another image (without the updates) into the new TS, and thus replacing the correct captured image, to a image without updates.

Yes, stupid! I know. :S

 

So what is best pratice to copy old TS into new TS. It surely can't be copy+paste each sequence.?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...