• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 8502
  • Last Modified:

Windows 7 Sysprep Skip User Creation Prompt

I have an unattend.xml file that I have created for Windows 7, I can get everything to function great, auto activation, etc.  The problem I am having is that I can't skip the user creation prompt.  I have tried adding a user to the <LocalAccounts> portion of the XML to add a user (I was told this would skip the user creation step).  I also tried adding a user to the LocalAccounts that already existed on the system pre-sysprep.  That did not work, and I am out of ideas.  What can I do in XML file to skip the user creation prompt?
1 Solution
Syed Mutahir AliTechnology ConsultantCommented:

The  two options you are looking for are specifically in the  x86_Microsoft-Windows-Shell-Setup__neutral  in the OOBE Section. You  need to set NetworkLocation  and SkipMachineOOBE and SkipUserOOBE .
 As a side note, the SkipMachineOOBE  and the SkipUserOOBE   are  "depreciated" but they still work beautifully.
  After you set  the SkipMachineOOBE  and the SkipUserOOBE  , the computer will skip the  user creation and will go directly to the  login screen, so make sure  you have at least once active account so you  are not locked out.


Skip  Creating A User
The final issue was getting setup to skip the whole  user creation  part, another clunky process that I can’t see fitting  into most  enterprise settings.  There are two ways around this that I  found:  Have  the answer file create a local user or add a domain  account to a local  group.  I chose the latter because we don’t want  extra local accounts  running around.
Here’s how I added my Domain  Admins to the local Administrators  group:
Components/x86_Microsoft-Windows-Shell-Setup_neutral/oobeSystem/UserAccounts/DomainAccounts/DomainAccountList=<YOUR   DOMAIN NAME>
Components/x86_Microsoft-Windows-Shell-Setup_neutral/oobeSystem/UserAccounts/DomainAccounts/DomainAccountList/DomainAccount/Group=<LOCAL   TARGET GROUP>
Components/x86_Microsoft-Windows-Shell-Setup_neutral/oobeSystem/UserAccounts/DomainAccounts/DomainAccountList/DomainAccount/Name=<GROUP   TO BE ADDED>

Hope this helps
PhillipsPlasticsAuthor Commented:
Thank you very much!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now