OSD Issue installing updates offline

Hi, I am trying to add some steps to install windows updates offline in a UDI MDT task sequence as per the instructions here. http://myitforum.com/cs2/blogs/jsandys/archive/2011/04/10/software-updates-and-osd-revisited.aspx

It looks like there is now an issue parsing the unattend.xml as I now get the error "Windows setup encounted an internal error while searching for an unattend". The problem is very similar to http://www.windows-noob.com/forums/index.php?/topic/5093-invalid-character-in-unattendxml-file-causing-windows-7-service-pack-1-offline-language-pack-installation-failure/ but with updates instread of lang packs.

If I remove the steps I don't get the issue. I checked the unattend.xml and it adds the updates to the servicing section and it does seem ok, guess something isnt though.

Appreciate any thoughts here ...

Errors in BDD_pkgmgr log

2013-09-17 17:27:51, Error                 DISM   DISM Unattend Manager: PID=1080 Failed to parse the unattended answer file. - CUnattendManager::Validate(hr:0x800705b9)
2013-09-17 17:27:51, Error                 DISM   DISM Unattend Manager: PID=1080 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:374 - CUnattendManager::Apply(hr:0x800705b9)
2013-09-17 17:27:51, Error                 DISM   DISM Unattend Manager: PID=1080 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:654 - CUnattendManager::InternalExecuteCmdLine(hr:0x800705b9)
2013-09-17 17:27:51, Error                 DISM   DISM Unattend Manager: PID=1080 d:\w7rtm\base\ntsetup\opktools\dism\providers\unattendprovider\dll\unattendmanager.cpp:603 - CUnattendManager::ExecuteCmdLine(hr:0x800705b9)

Errors in ZTIPatches log
About to run command: "C:\_SMSTaskSequence\Servicing\pkgmgr.exe"  /o:C:\;C:\windows /n:"C:\Windows\panther\unattend\unattend.xml" /l:C:\_SMSTaskSequence\SMSOSD\OSDLOGS\BDD_pkgmgr.log /s:C:\_SMSTaskSequence\Sandbox /quiet /norestart ZTIPatches 17/09/2013 17:27:49 0 (0x0000)
Return code from command = 1465 ZTIPatches 17/09/2013 17:27:51 0 (0x0000)
FAILURE: 1465: Run Command: "C:\_SMSTaskSequence\Servicing\pkgmgr.exe"  /o:C:\;C:\windows /n:"C:\Windows\panther\unattend\unattend.xml" /l:C:\_SMSTaskSequence\SMSOSD\OSDLOGS\BDD_pkgmgr.log /s:C:\_SMSTaskSequence\Sandbox /quiet /norestart ZTIPatches 17/09/2013 17:27:51 0 (0x0000)
Remove Folder: C:\_SMSTaskSequence\Sandbox ZTIPatches 17/09/2013 17:27:51 0 (0x0000)
FAILURE: 1465: Offline servicing using PKGMGR ZTIPatches 17/09/2013 17:27:51 0 (0x0000)
ZTIPatches processing completed successfully. ZTIPatches 17/09/2013 17:27:51 0 (0x0000)

  • Moved by Garth JonesMVP Sunday, December 28, 2014 4:45 PM OSD question
September 17th, 2013 11:07pm

I have found the issue after comparing unattend.xmls .. just not a resolution ...

It seems any & in the unattend.xml is changed e.g from & to &amp.

Anywhere there is an & it adds a amp;

As I use & in my password to join pcs to the domain this is a problem. The password is changed so its not valid in the unattend.xml.

I also use & in <ScopeUrl> to set google as the default search in IE.

E.g good ScopeURL 

<ScopeUrl>http://www.google.com/search?q={searchTerms}&amp;sourceid=ie7&amp;rls=com.microsoft:{language}:{referrer:source}&amp;ie={inputEncoding?}&amp;oe={outputEncoding?}</ScopeUrl>
 

Bad ScopeURL

<ScopeUrl>http://www.google.com/search?q={searchTerms}&amp;amp;sourceid=ie7&amp;amp;rls=com.microsoft:{language}:{referrer:source}&amp;amp;ie={inputEncoding?}&amp;amp;oe={outputEncoding?}</ScopeUrl>

Any ideas on how to fix this ?

Free Windows Admin Tool Kit Click here and download it now
September 18th, 2013 11:16am

Hi,

ScopeUrl specifies the URL for the search provider.

XML Example

The following XML output shows how to set search providers.

<SearchScopes>
   <Scope wcm:action="add">
      <ScopeDefault>true</ScopeDefault>
      <ScopeDisplayName>MyFirstSearchProvider</ScopeDisplayName>
      <ScopeKey>SearchProvider1</ScopeKey>
      <ScopeUrl>http://www.contoso.com/search?q={searchTerms}</ScopeUrl>
   </Scope>
   <Scope wcm:action="add">
      <ScopeDisplayName>MySecondSearchProvider</ScopeDisplayName>
      <ScopeKey>SearchProvider2</ScopeKey>
      <ScopeUrl>http://search.fabrikam.com/results.aspx?q=&quot;{searchTerms}&quot;</ScopeUrl>
   </Scope>

</SearchScopes>

For more information, please review the link below:

ScopeUrl

http://technet.microsoft.com/zh-cn/library/ff716301.aspx
September 18th, 2013 12:57pm

I have no problem setting search providers, just it seems the step to "install updates offline" changes the unattend.xml so that it becomes invalid due to insertions of amp; wherever there is a &.
Free Windows Admin Tool Kit Click here and download it now
September 18th, 2013 1:26pm

Yes, I know this is an old post, but Im trying to clean them up.

Did you solve this problem, if so what was the solution?

January 5th, 2015 1:53am

Since no one has answer this post, I recommend opening  a support case with CSS as they can work with you to solve this problem.

Free Windows Admin Tool Kit Click here and download it now
January 24th, 2015 7:54pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics