duckhead
asked on
Sysprep autologin
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.
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.
ASKER
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...
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...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
answered the question myslef....
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("WScr
SysVarReg.RegWrite "HKLM\Software\AppName\Val