IPB

Google Frontpage Forums Unattended CD/DVD Guide
 
Reply to this topicStart new topic
> Autologon to local admin account instead of domain
david09
post Oct 28 2009, 09:02 AM
Post #1





Group: Members
Posts: 2
Joined: 28-October 09
Member No.: 265252
OS: Windows 7 x86
Country Flag


I'm sorry if this has been covered, but I've been looking for a couple days without finding a solution. I have been using RIS to deploy XP images, skipped over Vista and am working on creating deployment packages for Windows 7. With our XP images, once setup was complete the system logged on automatically using the local administrator account (even though the machine joined the network as part of the unattended install routine). It ran a script specified in the [GuiRunOnce] section of the answer file that mapped drives to our local network to install additional application and to do a few other things. Very simple and worked very well.

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?

Thanks!
Go to the top of the page
 
+Quote Post
leen2
post Oct 28 2009, 09:14 AM
Post #2


Newbie


Group: Members
Posts: 29
Joined: 17-June 08
Member No.: 197105
OS: Vista Ultimate x64
Country Flag


You need to specify the Autologon section of Microsoft-Windows-Shell-Setup in the oobeSystem setup pass. Basic answer file settings would be:

<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Other</NetworkLocation>
<ProtectYourPC>3</ProtectYourPC>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<ShowWindowsLive>false</ShowWindowsLive>
<StartPanelOff>false</StartPanelOff>
<TimeZone>Your Time Zone goes here</TimeZone>
<UserAccounts>
<AdministratorPassword>*SENSITIVE*DATA*DELETED*</AdministratorPassword>
</UserAccounts>
<RegisteredOrganization>*SENSITIVE*DATA*DELETED*</RegisteredOrganization>
<RegisteredOwner>*SENSITIVE*DATA*DELETED*</RegisteredOwner>
<AutoLogon>
<Password>*SENSITIVE*DATA*DELETED*</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>administrator</Username>
</AutoLogon>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>c:\yourcmd-script-here.cmd</CommandLine>
<Description>Initial Script to run</Description>
<Order>1</Order>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<CommandLine>c:\yourcmd-script-#2-here.cmd</CommandLine>
<Description>Post Configuration Script</Description>
<Order>2</Order>
</SynchronousCommand>
</FirstLogonCommands>
</component>

Note the above assumes x64 OS version, processorArchitecture="amd64", if installing 32-bit OS version change processorArchitecture="amd64" for processorArchitecture="x86" in the above.
Go to the top of the page
 
+Quote Post
david09
post Oct 28 2009, 09:31 AM
Post #3





Group: Members
Posts: 2
Joined: 28-October 09
Member No.: 265252
OS: Windows 7 x86
Country Flag


Thanks for your reply. I have specified the Autologon in the oobeSystem setup pass. Using WSIM, there is a setting for Domain, and this is what seems to be throwing it off. If I leave it blank, it assumes "." as the domain when it tries to log in, which of course is not successful. The only way I've been able to get it to work is to type the computername into the Domain field but I'm really trying to get away from having to doctor the unattended file for each install. If I manually edit the answer file to remove the Domain line, I get the same result as if I leave the field blank in WSIM.

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.

Thanks again.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 22nd November 2009 - 09:36 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy