Login to Account Create an Account
Autologon to local admin account instead of domain
Posted 28 October 2009 - 09:02 AM
Obviously the Vista/7 methods of unattended installations are a lot different, and I'm still trying to piece it all together. Right now I have an unattended installation that seems to work fine - I can get it all the way to the Windows logon without any user input, and the machine is already joined to the domain. My question is; how can you use the Autologon setting to get it to log onto the local administrator account instead of the domain? I've tried leaving the 'Domain' field under Microsoft-Windows-Shell-Setup blank, but with that blank it tries to log into "." (.\Administrator). I am specifying the computername under Microsoft-Windows-Shell-Setup (4 specialize pass), and I suppose I could type the same computername into the Autologon-Domain field but it seems like there would be an easier way of doing this. This is also the same case for the RunSynchronous section. I'd like to specify that everything run under the local admin account. What am I supposed to type into the 'Domain' fields on the Autologon and RunSynchrounous-Credentials sections to get it to log onto the local accont rather than the domain?
Posted 28 October 2009 - 09:14 AM
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...fig/2002/State" xmlns:xsi="http://www.w3.org/20...hema-instance">
<TimeZone>Your Time Zone goes here</TimeZone>
<Description>Initial Script to run</Description>
<Description>Post Configuration Script</Description>
Note the above assumes x64 OS version, processorArchitecture="amd64", if installing 32-bit OS version change processorArchitecture="amd64" for processorArchitecture="x86" in the above.
Posted 28 October 2009 - 09:31 AM
Is the setting different for Windows 7 than from Vista? I would have posted this question in the 7 forum, but it seemed like that was mainly for newer features and not so much the basic stuff like this.
Posted 22 May 2014 - 06:18 PM
I spent hours upon hours trying to figure out how to fix this and finally came up with this solution.
Run this command to set the logon user to the local Administrator account. If you are using a different local account enter that name instead of Administrator.
REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /t REG_SZ /d ".\Administrator" /f
You can add this as a command in the answer file or any other method you want as long as you do it before joining the domain.
After everything is done I then run this to unset the logon user.
REG DELETE "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon" /v DefaultUserName /f
Edited by Jagster, 22 May 2014 - 06:20 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users