Re: Domain logon after sysprep
- From: Pieter Smit <PieterSmit@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 8 Sep 2009 07:39:01 -0700
I found an acceptable workaround for this problem.
Auto domain logon after sysprep seems to be not possible. The work around is
as follows: In your sysprep.inf file you can tell how many auto, (local)
logons you wish. Choose for example 3 times, (for 3 install scripts each
needing a reboot). During the local logon you can execute a script with the
"net use" command using the passwoord and user:domain\user parameter. Now you
can automatically attach to network, (installscripts and programms) storage
using local logons. The disadvantage is that a domain account and password is
visible in the first script. But only to service personal. Offcourse is the
latest executed script a cleanupscript and is the used account an account
with minimal rights.
"Zaphod Beeblebrox" wrote:
.
"Pieter Smit" <PieterSmit@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FBB7D3F4-FCC2-434F-AE84-798DF2136172@xxxxxxxxxxxxxxxx
"Zaphod Beeblebrox" wrote:
"Pieter Smit" <PieterSmit@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
message
news:985F7E3D-E964-4CC1-86EB-45A4AAB22017@xxxxxxxxxxxxxxxx
I want to start install scripts after a sysprep.I've set up auto logon on a number of platforms through the
I need to autologon using a domain account, (instead of a local
account)
I tried a lot, (autologon, autologon via script executed by the
local logon,
domainname\username in registry, etc.). A share with rights for
everyone is
not a real solution.
It would be nice to turn on a prepped pc and automaticaly run all
te
scripts.
Does someone know how to do this?
registry,
but never with a Domain account. I don't know if it
will help but it is simple enough to try if you haven't already.
Use
the following registry keys / values:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon]
"DefaultUserName"="MyUsername"
"DefaultPassword"="MyPassword"
"DefaultDomainName"="MyDomain"
"AutoAdminLogon"="1"
Good luck, and let me know if it helped or not.
Hi Zaphod,
Thanks for your response.
This was one off the first things I tried.
Sysprep is changing all these registry settings.
True, I didn't think to mention that.
I allso tried:
Autologin 1 time, (via sysprep.inf which means local logon) and then
executing a script setting the correct registry settings en than
auto reboot.
This is unfortunattely not working. Allso changing the MyUsername in
domainname\username, which normally works does not work this time.
Which is how we do it (although not with a script, we actually run an
app that sets up the autologin among other things). However, I've
never attempted it in a Domain environment. If you do find out how to
make it work, be sure to post back with the solution.
--
Zaphod
Pan-Galactic Gargle Blaster: A cocktail based on Janx Spirit.
The effect of one is like having your brain smashed out
by a slice of lemon wrapped round a large gold brick.
- References:
- Domain logon after sysprep
- From: Pieter Smit
- Re: Domain logon after sysprep
- From: Zaphod Beeblebrox
- Re: Domain logon after sysprep
- From: Pieter Smit
- Re: Domain logon after sysprep
- From: Zaphod Beeblebrox
- Domain logon after sysprep
- Prev by Date: Re: XP Best Practices for Standalone (New Dell XPS 630)
- Next by Date: Hyper-v and SCVMM issue
- Previous by thread: Re: Domain logon after sysprep
- Next by thread: general setup
- Index(es):
Loading