Solved

Sysprep autologin

Posted on 2011-02-11
4
923 Views
Last Modified: 2012-05-11
Well I'm almost done getting my butt kicked from sysprep :)

I have one issue remaining...  I run a script to autologon to my other admin account on a reboot because for some reason my PC's don't configure all the settings when sysprep logs into the root admin. (i.e. outlook, preferences, etc.)  So I figured I'd just put the cleartext password in there on the sysprep runonce.  I actually have the sysprep launch a .bat file that executes the registry file silently.  But when it restarts it doesn't work and the registry looks like it never was changed :(.  I know the .reg file works.... I tried it after it booted up and worked like a charm.

Anyone have any ideas?

I'm wondering if it's because I'm not executing sysprep from the root admin account that my preferences don't load on that one.
0
Comment
Question by:duckhead
  • 3
4 Comments
 
LVL 3

Expert Comment

by:Sleetish
ID: 34874103
Running a .reg file silently should work.  But never for me :)

I always write the .bat file to call a .vbs that directly writes your reg edits to the registry.

Option Explicit
Dim SysVarReg, Value
Value = "1234567890" <- Your info goes here.
Set SysVarReg = WScript.CreateObject("WScript.Shell")
SysVarReg.RegWrite "HKLM\Software\AppName\Valuename", Value

0
 

Author Comment

by:duckhead
ID: 34874220
Haha hey sleetish...

Yah I was so frustrated that I had the sysprep runonce call it, I had my batch file call it, andddddd I had my vbs call it.  And no dice :(

I'm thinking I need to be running sysprep from the root admin account.... I bet that will fix these issues I'm having... I'm making an image as we speak...
0
 

Accepted Solution

by:
duckhead earned 0 total points
ID: 34877116
yes ths was my issue.  sysprep must be ran in root admin
0
 

Author Closing Comment

by:duckhead
ID: 34904933
answered the question myslef....
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn how ViaSat reduced average response times for IT incidents from 10 minutes to 30 seconds.
IT certifications are a concrete representation of continual learning on the part of the candidate.  Continual learning is necessary for the long term success of an IT professional, but are IT certifications the right path for you?
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question