MSFN Forum: Win 7 Embedded LocalAccount problem - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Win 7 Embedded LocalAccount problem

#1 User is offline   nebule 

  • Group: Members
  • Posts: 4
  • Joined: 29-October 10
  • OS:none specified
  • Country: Country Flag

Posted 29 October 2010 - 09:49 AM

I have created an unattend.xml for Windows Embedded 7 Standard 64bit product in the same way I did it before for Win 7 Pro. I want to add a new user automatically during setup, and this was working fine for Win 7 Pro. I used the same settings as before and my Image Configuration Editor (part of the embedded toolkit) verifies the file correctly. However, when I update the unattend.xml in Panther directory of my image and attempt sysprep, it fails at the line where LocalAccount is specified (see code). The code segment is given as:


<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add"> <- sysprep fails at this line
<Password>
<Value>dgBlAHYAbwBQAGEAcwBzAHcAbwByAGQA</Value>
<PlainText>false</PlainText>
</Password>
<Name>vs-user</Name>
<DisplayName>vs-user</DisplayName>
<Description>vs-user</Description>
<Group>Users</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>

If I remove LocalAccount segment and leave everything else, sysprep passes fine (although I don't get what I want :) )

Any help much appreciated.

Cheers

This post has been edited by nebule: 29 October 2010 - 09:53 AM



#2 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,676
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 29 October 2010 - 07:26 PM

Is this not documented in the help files that come with the trial?

The unattend is different for W7e. Unforunately I don't think you can get official help without getting in touch with an Embedded Partner. They are not always helpful in my experience.

#3 User is offline   nebule 

  • Group: Members
  • Posts: 4
  • Joined: 29-October 10
  • OS:none specified
  • Country: Country Flag

Posted 01 November 2010 - 07:16 AM

View PostTripredacus, on 29 October 2010 - 07:26 PM, said:

Is this not documented in the help files that come with the trial?

The unattend is different for W7e. Unforunately I don't think you can get official help without getting in touch with an Embedded Partner. They are not always helpful in my experience.


I'm not using a trial, this is the released stuff that we purchased a month ago. I'm not using the old unattend.xml. I created completely new one using w7e toolkit, and edited those points of interest as before using the toolkit. The new toolkit verified the file and reported no errors. Finally, as I said, when I run sysprep it fails verification. Looks like a bug to me, I have no other explanation.

#4 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,676
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 01 November 2010 - 10:15 AM

View Postnebule, on 01 November 2010 - 07:16 AM, said:

View PostTripredacus, on 29 October 2010 - 07:26 PM, said:

Is this not documented in the help files that come with the trial?

The unattend is different for W7e. Unforunately I don't think you can get official help without getting in touch with an Embedded Partner. They are not always helpful in my experience.


I'm not using a trial, this is the released stuff that we purchased a month ago. I'm not using the old unattend.xml. I created completely new one using w7e toolkit, and edited those points of interest as before using the toolkit. The new toolkit verified the file and reported no errors. Finally, as I said, when I run sysprep it fails verification. Looks like a bug to me, I have no other explanation.


You should be contacting your Embedded Partner. Usually your MS Rep or where you bought the Embedded kit from can tell you which Embedded Partner to contact. They have the best information on how to use the product.

#5 User is offline   nebule 

  • Group: Members
  • Posts: 4
  • Joined: 29-October 10
  • OS:none specified
  • Country: Country Flag

Posted 01 November 2010 - 11:12 AM

View PostTripredacus, on 01 November 2010 - 10:15 AM, said:


You should be contacting your Embedded Partner. Usually your MS Rep or where you bought the Embedded kit from can tell you which Embedded Partner to contact. They have the best information on how to use the product.


My contact was unavailable at the time, but just replied to me. I will post the solution should they help.

This post has been edited by nebule: 01 November 2010 - 11:12 AM


#6 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,676
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 01 November 2010 - 01:04 PM

View Postnebule, on 01 November 2010 - 11:12 AM, said:

View PostTripredacus, on 01 November 2010 - 10:15 AM, said:


You should be contacting your Embedded Partner. Usually your MS Rep or where you bought the Embedded kit from can tell you which Embedded Partner to contact. They have the best information on how to use the product.


My contact was unavailable at the time, but just replied to me. I will post the solution should they help.


Make sure you ask permission to post a solution! A lot of info from Embedded OSes are communicated under NDA.

#7 User is offline   nebule 

  • Group: Members
  • Posts: 4
  • Joined: 29-October 10
  • OS:none specified
  • Country: Country Flag

Posted 11 November 2010 - 10:54 AM

I figured it out. The problem is that wcm namespace was not correctly set. Have to make sure the line

xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"

is setup for the section.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy