Jump to content


Recommended Posts

Hi guys, a real noob here when it comes to this, my boss in the last couple of days has asked me to look into and get working a valid deployment solution for Windows 7 onto our existing Windows XP infrastructure. Now, I have already setup so that I can boot to PXE and install the .wim file thus creating a new Windows 7 PC, however, I need to use USMT 4.0 also. What I would like to be able to do is the following:

 

Boot Client PC to Windows PE (which I can do)

Capture User Data (No Idea)

Install Windows 7 image (working)

Restore Data.

 

Is this even possible, or do I have to do it some other way, I have no idea how to create a task like this in my Deployment Workbench. Any help would be greatly appreciated. I've been reading about this for 2 days now and my head is spinning!

Share this post


Link to post
Share on other sites

You can do this, however, you wouldn't do it in the way you detail.

Make sure the Customsettings.ini has the line:

SkipCapture=NO

 

First: you'll need to boot into the PC as an administrator.

Second: you'll need to get to the LiteTouch.vbs script from the server

Third: If you're doing a hardlink, select "Automatically determine. If not, select the capture and put it somewhere you'd remember (If you're going to put it on the network).

Watch it run.

 

Test that out. Hope it works.

post-6175-0-05915500-1307628137_thumb.png

Share this post


Link to post
Share on other sites

OK I've run through this job and the following error come up:

 

ZTI Error - Unhandled error returned by ZTIUserstate: Object Required (424)

 

Here is a copy of my rules file

 

[settings]

Priority=Default

Properties=MyCustomProperty

 

[Default]

OSInstall=Y

SkipAppsOnUpgrade=YES

SkipCapture=NO

SkipAdminPassword=YES

SkipProductKey=YES

SkipDomainMembership=YES

JoinDomain=DOMAIN

DomainAdmin=account

DomainAdminDomain=domain

DomainAdminPassword=password

SkipLocaleSelection=YES

KeyboardLocale=en-gb

UserLocale=en-gb

UILanguage=en-gb

SkipTimeZone=YES

TimeZoneName=85

 

UserDataLocation=AUTO

UDShare=\\lonbackup\deploymentshare$

UDDir=%computername%

 

USMTMigFiles1=migapp.xml

USMTMigFiles2=miguser.xml

 

Anything you can see from the above that may cause this? Thanks for the help.

Share this post


Link to post
Share on other sites

I assume you have installed USMT through the Information Center/Components (if you're going from XP to 7, i think you need USMT 3.0.1 but i'm probably wrong. It wouldn't hurt to have it anyway)

I also don't see this line in your CustomSettings.ini (put them in)

 

 

USMT4=YES

Share this post


Link to post
Share on other sites

I installed USMT 4.01 but it doesnt install through the Information Centre you have to use it through the Windows AIK install. It is in the USMT folder of the deployment share though. I haven't made an changes to any of the xml files i just want to get it to a basic stage that it will work and then I can start getting slightly more advanced with the xml files, do I have the CS.ini setup correctly? This is what it looks like now:

 

[settings]

Priority=Default

Properties=MyCustomProperty

 

[Default]

OSInstall=Y

SkipAppsOnUpgrade=YES

SkipCapture=NO

SkipAdminPassword=YES

SkipProductKey=YES

SkipDomainMembership=YES

JoinDomain=DOAMIN

DomainAdmin=username

DomainAdminDomain=Domain

DomainAdminPassword=password

SkipLocaleSelection=YES

KeyboardLocale=en-gb

UserLocale=en-gb

UILanguage=en-gb

SkipTimeZone=YES

TimeZoneName=85

USMT4=YES

WIPEDISK=TRUE

 

UserDataLocation=Network

UDShare=\\lonbackup\profiles

UDDir=%computername%

USMTMigFiles1=migapp.xml

USMTMigFiles2=miguser.xml

 

Do I need the USMT files above if they havent been edited?

 

Anyway...I am still getting the error:

ZTI ERROR - Unhandled error returned by ZTIUserState: Object required (424)

 

Thanks for your help with this.

Share this post


Link to post
Share on other sites

You should download the USMT 3.0.1 from the information center. I believe the zti error youre getting it from not having a migapp or miguser file that the met is looking for.

It looks like your cs.ini setting is correct, but I will have to check further when I get back to work.

Check out Johann's site. http://www.deploymentresearch.com/

It's got a lot of great stuff on there. That will also help a lot.

I understand what youre trying to do, but also know that winxp to win7 hard inking is probably the easiest way to accomplish it. The upgrade to win 7 through that process saves the user state on the local drive, and therefore uses no network space.

In our organization, we do both, because we have an SCCM 2007 and we do a lot of pc reacements.

But on the occasion that we upgrade a machine, we will capture offline and then upgrade and then restore.

.

Share this post


Link to post
Share on other sites

I just looked at my rules file and it doesn't specify the server location of backup data and we don't have WIPEDISK at all. But everything else that you have, i have.

Share this post


Link to post
Share on other sites

I am now trying an offline PE capture and install using this guide:

 

http://social.technet.microsoft.com/Forums/en-US/mdt/thread/37f9b92b-181d-4629-a424-a3a6b2b08e9c/#31e210ca-4be6-4603-a9d4-f4851c403038

 

I have run the task as in the link above, I am now receiving 7 errors, but the error listed is:

 

Litetouch deployment failed = return code = -2147467259 0x80004005

 

An attempt was made to load a program with an incorrect format (Error:0000000B; Source: Windows)

 

Any thoughts on this?

 

Thanks again.

  • Like 1

Share this post


Link to post
Share on other sites

X86 vs x64 maybe?

disable everything from your task except the capture, the install and the restore. Let's see what happens.

Share this post


Link to post
Share on other sites

You need to make sure you have your USMT4 files in your tools folder, or it will error on -2147467259 0x80004005

(network path not found)

 

c:\deployment share ools\USMT4

 

with all the extracted files.

 

Extract USMT4 msi, from a command prompt..

 

msiexec /a (and the drag the usmt4_x64.msi or whatever the exact filename is to the command prompt window) then press Enter.

 

The msiexec install wizard will ask you to enter a path to extract the files too.

 

Specify c:\deployment share ools\USMT4 (or d:\ if thats where your deployment share is)

 

Now the USMT files are there it will work.

 

USMT=4 is not needed, MDT 2010/12 assumes USMT4.

 

No need to rebuild boot media, as its expecting it there already, hence the -2147467259 0x80004005 error.

 

The other big tip, is to install configmgr toolkit and run SMSTRACE.EXE and set it as your default text reader.

This will format your BDD.Log's into a much more readable format.

 

 

Hope that helps.

Aaron

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...