Jump to content


  • 0
Mike S

Using Custom.xml with SCCM 2007

Question

I have finally managed to create a working task sequence that will migrate an XP machine to Windows 7 that will also include only domain user profiles from the last 15 days. Unfortunately, some unwanted baggage is also restored. I have a custom.xml file that takes care of this I wish to incorporate into my task sequence. I know the custom.xml file works, because we can run it manually without any errors. When I add the custom.xml file to the list of files used during the load state task, I get an interesting error in the advertisement....

 

The task sequence execution engine failed executing the action (Restore User Files and Settings) in the group (Restore User Files and Settings) with the error code 2147942428

Action output: ing user defined params successful

Building USMT command successful

Securing store ..

Executing command line: "C:\_SMSTaskSequence\Packages\MAD0019C\amd64\loadstate.exe" "C:\UserState" /c /lae /lac:*** /v:5 /l:"C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\loadstate.log" /progress:"C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\loadstateprogress.log" /i:"C:\_SMSTaskSequence\Packages\MAD0019C\amd64\migapp.xml" /i:"C:\_SMSTaskSequence\Packages\MAD0019C\amd64\miguser.xml" /i:"C:\_SMSTaskSequence\Packages\MAD0019C\amd64\cstom.xml" /Hardlink /nocompress /ue:RVPC5762\*

Log messages are being sent to 'C:\Windows\SysWOW64\CCM\Logs\SMSTSLog\loadstate.log'

Script file is not present: 'C:\_SMSTaskSequence\Packages\MAD0019C\amd64\custom.xml'

Failed.

An error occurred processing the command line.

Unable to find a script file specified by /i

LoadState return code: 28

USMT returned exit code (0x0000001c). Look USMT log file loadstate.log for detail error message.

POSDMigrateUserState finished: 0x8007001c. The operating system reported error 2147942428: The printer is out of paper.

 

The loadstate.log shows the following error....

 

[0x000000] Script file is not present: 'C:\_SMSTaskSequence\Packages\MAD0019C\amd64\custom.xml'[gle=0x00000006]

 

I am trying to incorporate the custom.xml in the restore user step. When I remove the custom.xml file, the problem goes away.

How can I use the custom.xml file properly?

 

Thanks in advance,

Mike

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

I have resolved this problem. It turns out, there is truth to computers doing exactly what they are told. Once I updated my USMT package at the distribution point, the task sequence worked perfectly.

 

Which leads me to my next question...

 

How do I exclude the All Users profile from being migrated?

 

The Hard-link scan parameters are: /hardlink /nocompress /uel:15 (This excludes logins older than 15 days)

The Hard-link load parameters are: /Hardlink /nocompress /ue:%computername%\* (This excludes all local accounts)

 

The All Users profile was transferred, which doubled up many desktop icons among other things. I do not want this to happen.

Is it possible for me to insert a task sequence before the Restore which will delete the All Users folder from the Local State Location without disrupting the restore task sequence?

Is there a simpler method perhaps?

 

Thanks again for any insight to this problem.

 

Mike

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
Answer this question...

×   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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.