Solved

Sysprep autologin

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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
OWA and AppPool problem 20 134
Will This Course prepare me to get the SAP Business One cert? 1 124
hardware/software to control comcast router? 1 75
MDT 2013 Sysprep and Capture 1 56
Both MMF (multi-mode fiber) and SMF (single-mode fiber) are types of optical fiber that can aid in communication applications. These thin strands of silica or glass will allow communication to occur between devices. The transmission of light between…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.
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…

813 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

12 Experts available now in Live!

Get 1:1 Help Now