Windows Vista problem with local user account after sysprep Image

P

PW

Hello,

I have an problem with Windows Vista after sysprep. We have an Vista Image
created with unattend file and lokal user account (sysprep). After installing
a new PC at the end of installation there will be an prompt for define a
local user account an his password. Can everybody help me where I can
prohibit this point in unattend file with System Image Manager?

Thank you for your answers!

Greetings
PW
 
Z

Zaphod Beeblebrox

PW said:
Hello,

I have an problem with Windows Vista after sysprep. We have an Vista
Image
created with unattend file and lokal user account (sysprep). After
installing
a new PC at the end of installation there will be an prompt for define
a
local user account an his password. Can everybody help me where I can
prohibit this point in unattend file with System Image Manager?

Unlike XP, you have to create a new user in Vista, either with sysprep
or during the mini-setup. As I recall, what we initially did was go
ahead and create one using the sysprep answer file so we don't get
prompted during deployment, like this:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup"
processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>MyPassword</Value>
<PlainText>true</PlainText>
</Password>
<DisplayName>MyUserName</DisplayName>
<Name>MyUserName</Name>
<Group>Users</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>

Then later, delete the user with a RunSynchronousCommand, like this:

<settings pass="specialize">
<component name="Microsoft-Windows-Deployment"
processorArchitecture="x86" publicKeyToken="31bf3856ad364e35"
language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Path>net user MyUserName /DELETE </Path>
<Order>1</Order>
<Description>Delete MyUserName Account</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>

We do something different now (we always need a user with a particular
name and password, so we just create it in sysprep). I can't find the
actual sysprep files we used, so I hope these are correct. If not,
hopefully someone else can help. You might also try at Microsoft's
Vista Deployment and Imaging Technet Forum
(http://forums.microsoft.com/TechNet/ShowForum.aspx?ForumID=721&SiteID=17).
They tend to be more focused on MDT, but there are some sysprep folks in
there as well.

Good luck!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top