Jump to content

Vista Sysprep. skip new user creation


Recommended Posts

I have vista Business 32bit using the WAIK to create the unattended.xml file. i have everything figured out except on initial boot it asks me to create a new local user. i dont want any local users except the local admin account, everything else is handled by the domain. I searched the MSFN before posting and didnt find anything.

Edited by kurbycar32
Link to comment
Share on other sites

  • 2 weeks later...

It turns out my mistake was that I was trying to think for myself. The solution was to create the local admin account as part of sysprep. I thought this was redundant because the account already existed but I guess that’s just how it works. it appears that you must create a local account but you can make that account the local administrator, which you would have anyway

Link to comment
Share on other sites

  • 7 months later...

Interesting, I was creating a dummy acct, and having it deleted on first login. Your way seems much better.

I do have a question about accts created using the unattend.xml files though.

Say I run sysprep.exe /oobe /generalize /unattend=unattend.xml /shutdown

If I was to boot to a winpe cd, open up the unattend.xml file and change the settings for the account it creates, I was thinking this would change the acct that is actually created when it boot and comes out of sysprep. However what i've found is that it doesn't seem to matter i change in the xml file, it uses what wsa in the file when sysprep was originally run.

Does anyone know where the data is stored in the xml file when the machine shuts down? I would like to be able to edit the file before machines are booted to have a user acct created that I can set. Essentially using the same image on various machines, but have a different acct created when it boots based on who's computer it is.

tks for any help

Link to comment
Share on other sites

your right about the unattend.xml file not helping on start up. the settings for many of those features are queued to happen on start up as part of the sysprep process, meaning it executes those commands before shutdown and before you extract your image. your problem seems simple though. instead of using the sysprep process to create your accounts write a script to create them on first startup, that would be easy enough to edit and you could guarantee that it ran after the first boot. also depending on your environment you could manage accounts using group policy

Link to comment
Share on other sites

well my hope had been to have the acct created and the machine auto login to that acct.

The other option was to do something similar to what you mentioned, have it login to a default acct, force acct creation then log off the default acct. I'm sure I could get things working this way somehow, but had really hoped I could locate how to have the acct created and it login to the acct on first boot.

We reimage about 60 machines a day for various students, and use a scripted ghost install to obtain their acct info before imaging, then I am hoping to put something in place after the image is put down to have their acct recreated at boot.

Tks for the super fast reply.

Edited by tomatthe
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...