Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sysprep autologin

Posted on 2011-02-11
4
Medium Priority
?
928 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Protect Your Retail Business and Reputation

Wi-Fi access doesn't just impact your business & customer experience, it can also affect your security.  Join us for an informative webinar to learn more about the top threats and trends impacting retail today, and the key solutions to protecting retail networks and reputations.

Question has a verified solution.

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

Multi-threading long-running processes can have a significant increase in overall performance and drastically decrease over time it takes for a process to complete. Unfortunately, not all applications support native multi-threading, some by design a…
We take a look at some of the most common obstacles that IT teams run into as they work relentlessly to keep all the alarms and sirens from going off at once.
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…

670 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