Solved

Sysprep autologin

Posted on 2011-02-11
4
919 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

How can you create a game plan that lets you focus on special projects instead of running from cubicle to cubicle every day and feeling like you’ve accomplished nothing? Try these strategies for prioritizing your tasks, offloading what you can, and …
As a long-time IT Professional, the most important skill I have developed and consider to be my most valuable tool is Effective Troubleshooting. Step through my problem-solving procedure in this 10-step guide adapted from The Universal Troubleshooti…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

757 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now