Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Sysprep autologin

Posted on 2011-02-11
4
Medium Priority
?
930 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

WatchGuard Case Study: Museum of Flight

“With limited money and limited staffing, we didn’t have a lot of choices in terms of what we could do to bring efficiency. WatchGuard played a central part in changing that.” To provide strong, secure Wi-Fi access within the museum, Hunter chose to deploy WatchGuard’s AP120 APs.

Question has a verified solution.

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

Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
Web hosting control panels were first developed to make it faster and easier for most users to set up and operate websites. The graphical user interface (GUI) allows users to perform tasks by pointing and clicking rather than typing highly specific…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses

927 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