A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Installation and Setup of Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Installation and Setup of Vista Installation problems and questions using Windows Vista. (microsoft.public.windows.vista.installation_setup)

User creation during Sysprep



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 19th 08, 06:48 AM posted to microsoft.public.windows.vista.installation_setup
MaST MaX
external usenet poster
 
Posts: 2
Default User creation during Sysprep

Dear All

We want to create image of Window Vista enterprise edition. we are
facing some problem in sysprep.

We want to remove new user creation during sysprep runs Or remove
newly created login ID after sysprep finish.

Note: we create answer file for auto logon to administrator but
still its asking to create new user with administrator privileges.

Thank You

  #2 (permalink)  
Old October 20th 08, 01:56 PM posted to microsoft.public.windows.vista.installation_setup
Zaphod Beeblebrox
external usenet poster
 
Posts: 260
Default User creation during Sysprep


"MaST MaX" wrote in message
...
Dear All

We want to create image of Window Vista enterprise edition. we are
facing some problem in sysprep.

We want to remove new user creation during sysprep runs Or remove
newly created login ID after sysprep finish.

Note: we create answer file for auto logon to administrator but
still its asking to create new user with administrator privileges.


Unlike XP, you have to create a new user in Vista. 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
ValueMyPassword/Value
PlainTexttrue/PlainText
/Password
DisplayNameMyUserName/DisplayName
NameMyUserName/Name
GroupUsers/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"
Pathnet user MyUserName /DELETE /Path
Order1/Order
DescriptionDelete 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/...721&SiteID=17).
They tend to be more focused on MDT, but there are some sysprep folks in
there as well.

Good luck!

--
Zaphod

No matter where you go, there you are!


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 05:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.