blue4603 Posted October 30, 2009 Posted October 30, 2009 HiI have been trying to get windows 7 to auto logon with the administrator account after finishing the installation but it is still not working.here is my autounattend.xml file<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"><settings pass="windowsPE"><component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><SetupUILanguage><UILanguage>en-US</UILanguage></SetupUILanguage><UILanguage>en-US</UILanguage><UserLocale>ar-SA</UserLocale><InputLocale>0401:00000401</InputLocale></component><component name="Microsoft-Windows-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><UserData><ProductKey><Key>D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV</Key><WillShowUI>OnError</WillShowUI></ProductKey><AcceptEula>true</AcceptEula></UserData></component></settings><settings pass="oobeSystem"><component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><AutoLogon><Enabled>true</Enabled><Password><Value /></Password><LogonCount>9999999</LogonCount><Username>Administrator</Username></AutoLogon><OOBE><HideEULAPage>true</HideEULAPage><NetworkLocation>Home</NetworkLocation><ProtectYourPC>3</ProtectYourPC><HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE></OOBE></component></settings><settings pass="specialize"><component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><ComputerName>pcname</ComputerName></component></settings><cpi:offlineImage cpi:source="wim:E:/sources/install.wim#Windows 7 Ultimate" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>Regards
MAVERICKS CHOICE Posted October 30, 2009 Posted October 30, 2009 See the relevant section of my xml auto logon, admin group.BTW don't post your product key...</component> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <AutoLogon> <Enabled>true</Enabled> <LogonCount>99</LogonCount> <Username>****</Username> <Password> <PlainText>false</PlainText> <Value>dAB5AHMAbwBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> </Password> </AutoLogon> <RegisteredOrganization>****</RegisteredOrganization> <RegisteredOwner>****</RegisteredOwner> <TimeZone>AUS Eastern Standard Time</TimeZone> <StartPanelOff>false</StartPanelOff> <ComputerName>****</ComputerName> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> </component> <component name="Microsoft-Windows-Security-Licensing-SLC-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SkipAutoActivation>false</SkipAutoActivation> </component> <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <RunSynchronous> <RunSynchronousCommand wcm:action="add"> <Order>1</Order> <Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i:\ -m"</Path> <Description>Path</Description> </RunSynchronousCommand> <RunSynchronousCommand wcm:action="add"> <Order>2</Order> <Path>reg add "HKLM\Software\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 00000001 /f</Path> <Description>Network Setup Tweak</Description> </RunSynchronousCommand> </RunSynchronous> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <TimeZone>AUS Eastern Standard Time</TimeZone> <VisualEffects> <FontSmoothing>ClearType</FontSmoothing> </VisualEffects> <RegisteredOwner>****</RegisteredOwner> <RegisteredOrganization>****</RegisteredOrganization> <StartPanelOff>false</StartPanelOff> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Work</NetworkLocation> <ProtectYourPC>3</ProtectYourPC> <SkipUserOOBE>true</SkipUserOOBE> <SkipMachineOOBE>true</SkipMachineOOBE> </OOBE> <UserAccounts> <LocalAccounts> <LocalAccount wcm:action="add"> <DisplayName>****</DisplayName> <Name>****</Name> <Group>Administrators</Group> <Password> <PlainText>false</PlainText> <Value>dAB5AHMAbwBuAFAAYQBzAHMAdwBvAHIAZAA=</Value> </Password> </LocalAccount> </LocalAccounts> </UserAccounts> <Display> <HorizontalResolution>1024</HorizontalResolution> <VerticalResolution>768</VerticalResolution> <ColorDepth>32</ColorDepth> <DPI>96</DPI> </Display> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <ShowWindowsLive>true</ShowWindowsLive> </component> <component name="Microsoft-Windows-Sidebar" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <SidebarOnByDefault>false</SidebarOnByDefault> <Gadget1>%PROGRAMFILES%\windows sidebar\gadgets\SlideShow.gadget,true</Gadget1> <Gadget3>%PROGRAMFILES%\windows sidebar\gadgets\RSS.Gadget,false</Gadget3> <Gadget2>%PROGRAMFILES%\windows sidebar\gadgets\Clock.Gadget,true</Gadget2> </component> </settings> <settings pass="auditSystem"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet> <TimeZone>AUS Eastern Standard Time</TimeZone> <StartPanelOff>false</StartPanelOff> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> </component> </settings> <settings pass="offlineServicing"> <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <Description>Running FirstLog.cmd</Description> <CommandLine>cmd /C start /wait %systemdrive%\Install\FirstLog.cmd</CommandLine> </SynchronousCommand> </FirstLogonCommands> <OEMInformation> <Logo>c:\windows\System32\oemlogo.bmp</Logo> <Manufacturer>Seven UA</Manufacturer> <Model>001</Model> <SupportHours>All</SupportHours> <SupportPhone>1000</SupportPhone> </OEMInformation> <DoNotCleanTaskBar>true</DoNotCleanTaskBar> <StartPanelOff>false</StartPanelOff> </component> </settings> <cpi:offlineImage cpi:source="wim:c:/se7en_ua/uadvd/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Hope that helps.
blue4603 Posted October 30, 2009 Author Posted October 30, 2009 See the relevant section of my xml auto logon, admin group.BTW don't post your product key...OK. Thanks for the helpby the way that is not my product key. That is the default key installed if you do not provide a key to the installation process.I will test it and give you my feedbackRegards
MAVERICKS CHOICE Posted October 31, 2009 Posted October 31, 2009 No worries, the Autologon sections are identical to the Vista UA values which are covered in depth on this board.
blue4603 Posted October 31, 2009 Author Posted October 31, 2009 hi,It worked finally. Thanks man.Now I have one slight problem. how about if I want it to auto logon to the built in administrator account?Regards
MAVERICKS CHOICE Posted October 31, 2009 Posted October 31, 2009 Not sure if it can be done, would like this myself. Same as XP.
MrJinje Posted November 5, 2009 Posted November 5, 2009 (edited) how about if I want it to auto logon to the built in administrator account?I was thinking, why not use SetupComplete.cmd to enable the Administrator account and force Auto Login. I think it can be done, M$ only disabled the account, is very simple to re-enable. Maybe I would try something like this.SetupComplete.cmdNet user administrator /active:yesRegedit /s %~dp0AUTOLOGIN.REGNET USER MrJinje /DELETEAUTOLOGIN.REGWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Administrator""DefaultPassword"="""AutoAdminLogon"="1""ForceAutoLogon"="1"Just add an AutoUnattend.xml and change the Net User Delete Script with whatever account name your use. In theory, this should avoid ever having to login with that account, thus preventing a folder from being created in the users directory. Edited November 6, 2009 by MrJinje
Rudi1 Posted November 6, 2009 Posted November 6, 2009 I am try your instruction and I must say that works!I am look for instruction like this one for a long time!I must say that you must still write your name,computer name and then when windows boot it boot at administrator account.Then I am go to the control panel-user accounts and there is also my typing user account.So,we now we only need another script or something to delete my user account.
Rudi1 Posted November 6, 2009 Posted November 6, 2009 (edited) Can you maybe add some small info where I must put the AutoUnattend.xml ?So far I am not try AutoUnattend.xml o.k,I am find where Edited November 6, 2009 by Rudi1
Rudi1 Posted November 6, 2009 Posted November 6, 2009 (edited) Hmm,maybe I do something wrong with AutoUnattend.xml because I still must type user info and the another user is still in user accounts.Can you give us some small info how we can do this setup correct? Edited November 6, 2009 by Rudi1
MrJinje Posted November 6, 2009 Posted November 6, 2009 (edited) Try this one, is basically my working AutoUnattend.xml. It's pretty lackluster, but the only prompt you should get is Which partition to format. It is set to install Ultimate, but you can change it if you like. Search your WAIK folder for Unattend.chm, I use the OPK, so I not sure the exact link, but that file has all the syntax for AutoUnattend.xmlAutoUnattend_MSFN.xml Edited November 6, 2009 by MrJinje
biatche Posted November 7, 2009 Posted November 7, 2009 May I ask if you people use autounattend.xml directly for unattended setups, meaning doing so without the use of MDT or WAIK or whatever 3rd party means?
Rudi1 Posted November 7, 2009 Posted November 7, 2009 Big hug for MrJinje because this guide really works!I am try with this commands in SetupComplete.cmdSetupComplete.cmdNet user administrator /active:yesRegedit /s %~dp0AUTOLOGIN.REGNET USER MrJinje /DELETEworking like a sharm.The only one user account in control panel is administrator and guest.
MAVERICKS CHOICE Posted November 7, 2009 Posted November 7, 2009 May I ask if you people use autounattend.xml directly for unattended setups, meaning doing so without the use of MDT or WAIK or whatever 3rd party means?I sometimes use my sound xml without going through the wsim found in waik. Should I use someone's else xml or making a new one I will then use the wsim.
MAVERICKS CHOICE Posted November 7, 2009 Posted November 7, 2009 Big hug for MrJinje because this guide really works!I am try with this commands in SetupComplete.cmdSetupComplete.cmdNet user administrator /active:yesRegedit /s %~dp0AUTOLOGIN.REGNET USER MrJinje /DELETEworking like a sharm.The only one user account in control panel is administrator and guest. That's good news, you may need to ensure your machine is secure as poss to prevent an attack though.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now