Tripredacus Posted May 4, 2010 Share Posted May 4, 2010 This is my autounnatend.xml:@ maestrodellaves, remove your serial number from xml.If your not admin or so maybe you should remove it yourself from your quote ? I removed the product key from everyone's posts. They did not match any of the keys in Cluberti's links. In the future, if you see someone has mistakenly posted their product key, instead of making a (searchable) post like "remove your product key", use the Report button instead. Link to comment Share on other sites More sharing options...
maestrodellaves Posted May 4, 2010 Share Posted May 4, 2010 (edited) Sorry will not happen again ...Everything went well except that now runs all the time on the screen Finishing installation:Screenshot Edited May 4, 2010 by maestrodellaves Link to comment Share on other sites More sharing options...
Tripredacus Posted May 5, 2010 Share Posted May 5, 2010 Sorry will not happen again ...Everything went well except that now runs all the time on the screen Finishing installation:Screenshot If you can access the drive your setup is run on, you can see in Panther what step it stopped at. Actually I hope Panther saves your files if you reset it. Things like WinPE or NTFSDOS or NTFS4DOS can get you access to the log files. Since you made a screenshot, I imagine you used a VM. Link to comment Share on other sites More sharing options...
maestrodellaves Posted May 5, 2010 Share Posted May 5, 2010 (edited) The ruling was in a badly written command in the setupcomplete.cmd.Everything is solved.Thank you very much for everything, friends. Edited May 5, 2010 by maestrodellaves Link to comment Share on other sites More sharing options...
midiboy Posted May 5, 2010 Author Share Posted May 5, 2010 (edited) Hi Guys,sorry, I still don´t get it ...This is my unattend.xml:<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <settings pass="windowsPE"> <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"> <DiskConfiguration> <WillShowUI>Always</WillShowUI> </DiskConfiguration> <ImageInstall> <OSImage> <InstallToAvailablePartition>true</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> <UserData> <AcceptEula>true</AcceptEula> </UserData> </component> </settings> <settings pass="specialize"> <component name="Microsoft-Windows-UnattendedJoin" 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"> <Identification> <UnsecureJoin>true</UnsecureJoin> <JoinWorkgroup>ARBEITSGRUPPE</JoinWorkgroup> </Identification> </component> <component name="Security-Malware-Windows-Defender" 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"> <DisableAntiSpyware>true</DisableAntiSpyware> </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"> <ComputerName>*</ComputerName> <TimeZone>W. Europe Standard Time</TimeZone> <RegisteredOrganization>None</RegisteredOrganization> <RegisteredOwner>Privat</RegisteredOwner> </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 REG ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OOBE" /V "UnattendCreatedUser" /T "REG_DWORD" /D "1"</Path> <Description>Prevent Usercreation Dialog</Description> </RunSynchronousCommand> </RunSynchronous> </component> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>0000043a</InputLocale> <SystemLocale>de-AT</SystemLocale> <UserLocale>de-AT</UserLocale> <UILanguage>de-DE</UILanguage> <UILanguageFallback>de-DE</UILanguageFallback> </component> </settings> <settings pass="oobeSystem"> <component name="Microsoft-Windows-International-Core" 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"> <InputLocale>0000043a</InputLocale> <SystemLocale>de-AT</SystemLocale> <UILanguage>de-DE</UILanguage> <UserLocale>de-AT</UserLocale> <UILanguageFallback>de-DE</UILanguageFallback> </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>4</LogonCount> <Username>Administrator</Username> <Password> <Value>VALUE</Value> <PlainText>false</PlainText> </Password> </AutoLogon> <Display> <ColorDepth>32</ColorDepth> <DPI>96</DPI> <HorizontalResolution>1024</HorizontalResolution> <RefreshRate>60</RefreshRate> <VerticalResolution>768</VerticalResolution> </Display> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Home</NetworkLocation> <ProtectYourPC>1</ProtectYourPC> </OOBE> <TimeZone>W. Europe Standard Time</TimeZone> <RegisteredOrganization>None</RegisteredOrganization> <RegisteredOwner>Privat</RegisteredOwner> <UserAccounts> <AdministratorPassword> <Value>VALUE</Value> <PlainText>false</PlainText> </AdministratorPassword> </UserAccounts> </component> </settings> <cpi:offlineImage cpi:source="wim://ultimate_source/x64/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>Now I have tried it with and without this part:<component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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"> <SkipAutoActivation>true</SkipAutoActivation> </component>I can choose the Windows edition during WinPE phase but I will always get a popup at the end of the windows installation asking for a product key. This popup will always stop the unattended installation.How do I get rid of this popup ? (see picture)Windows should just install the edition the user chooses without the need to enter a key at the end of the setup process.Any ideas ?Bye,Alex Edited May 5, 2010 by midiboy Link to comment Share on other sites More sharing options...
urie Posted May 6, 2010 Share Posted May 6, 2010 It is not possible you can add windows 7 default keys as cluberti, pointed out on earlier post that will stop it asking for a key but you don't know if user will select that version of windows to install. Link to comment Share on other sites More sharing options...
MrJinje Posted May 6, 2010 Share Posted May 6, 2010 Oh no!, I don't what version they installed. My guess is it will be one of these five versions, so here is a script that installs all five keys.Try running this from SetupComplete.cmd, see if that don't fix it.REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "EditionID" | FINDSTR /I "Starter"IF NOT ERRORLEVEL 1 SET PIDKEY=7Q28W-FT9PC-CMMYT-WHMY2-89M6GREG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "EditionID" | FINDSTR /I "HomeBasic"IF NOT ERRORLEVEL 1 SET PIDKEY=YGFVB-QTFXQ-3H233-PTWTJ-YRYRVREG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "EditionID" | FINDSTR /I "HomePremium"IF NOT ERRORLEVEL 1 SET PIDKEY=RHPQ2-RMFJH-74XYM-BH4JX-XM76FREG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "EditionID" | FINDSTR /I "Professional"IF NOT ERRORLEVEL 1 SET PIDKEY=HYF8J-CVRMY-CM74G-RPHKF-PW487REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v "EditionID" | FINDSTR /I "Ultimate"IF NOT ERRORLEVEL 1 SET PIDKEY=D4F6K-QK3RD-TMVMJ-BBMRX-3MBMVIf this doesn't work, next step is to use DISM Set-ProductKey on each image in your WIM, hard-coding the default key into the images. Link to comment Share on other sites More sharing options...
urie Posted May 6, 2010 Share Posted May 6, 2010 @ MrJinje, i knew about the scripts from MDL but i still don't get the point user will still need to enter their own key to activate eventually same as they need to select what version so it will never be totally unattended install. Link to comment Share on other sites More sharing options...
MrJinje Posted May 6, 2010 Share Posted May 6, 2010 (edited) @ MrJinje, i knew about the scripts from MDL but i still don't get the point user will still need to enter their own key to activate eventually same as they need to select what version so it will never be totally unattended install.I'm sure he has his reasons, likely it is about saving time. I can definitely tell that his installation is freezing halfway through and wasting his end-users time. Instead of booting directly to the desktop, his users are getting a pop-up to enter their product key, then being forced to wait another 4-5 minutes while the installation completes. It could be even longer if he is installing Office or other apps during first login. _______________________________________________________@OP, Yet another method might be to run this VBS script using your XML. With a little editing you can simply kill the annoying window. Call this VBS 'asynchronously' from your "oobeSystem" pass in your autounattend.xml Set WshShell = Wscript.CreateObject("WScript.Shell")Do While Not Wshshell.AppActivate ("TitleOfPopUpWindowGoesHere")Wscript.sleep 1000LoopWshshell.AppActivate "TitleOfPopUpWindowGoesHere"Wshshell.SendKeys "%{F4}"Original script and background info here.. Edited May 6, 2010 by MrJinje Link to comment Share on other sites More sharing options...
maestrodellaves Posted May 8, 2010 Share Posted May 8, 2010 (edited) midiboy, this is my autounattend.xml <OOBE>:<OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Other</NetworkLocation> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>false</SkipUserOOBE> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> </OOBE>In your xml, paste <SkipMachineOOBE>true</SkipMachineOOBE> and not erase <SkipAutoActivation>true</SkipAutoActivation> My complete xml:<?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="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"> <SetupUILanguage> <UILanguage>es-ES</UILanguage> </SetupUILanguage> <InputLocale>040a:0000040a</InputLocale> <UserLocale>es-AR</UserLocale> <UILanguage>es-ES</UILanguage> <SystemLocale>es-AR</SystemLocale> </component> <component name="Microsoft-Windows-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"> <UserData> <Organization>x7aUe2010o1x64</Organization> <FullName>x7aUe2010o1x64</FullName> <AcceptEula>true</AcceptEula> </UserData> <ImageInstall> <OSImage> <InstallToAvailablePartition>false</InstallToAvailablePartition> <WillShowUI>OnError</WillShowUI> </OSImage> </ImageInstall> </component> </settings> <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"> <AutoLogon> <Password> <Value> </Value> </Password> <Enabled>true</Enabled> <LogonCount>1</LogonCount> <Username>Administrator</Username> </AutoLogon> <OOBE> <HideEULAPage>true</HideEULAPage> <NetworkLocation>Other</NetworkLocation> <SkipMachineOOBE>true</SkipMachineOOBE> <SkipUserOOBE>false</SkipUserOOBE> <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE> </OOBE> <UserAccounts> <AdministratorPassword> <Value /> </AdministratorPassword> </UserAccounts> </component> </settings> <settings pass="specialize"> <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"> <ComputerName>x7aUe2010o1x64</ComputerName> </component> <component name="Microsoft-Windows-Security-Licensing-SLC-UX" 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"> <SkipAutoActivation>true</SkipAutoActivation> </component> </settings> <cpi:offlineImage cpi:source="wim:F:/Users/Carlos/Desktop/DVD/sources/install.wim#Windows 7 ULTIMATE" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend> Edited May 8, 2010 by maestrodellaves Link to comment Share on other sites More sharing options...
midiboy Posted May 9, 2010 Author Share Posted May 9, 2010 Hi maestrodellaves!Thanks, that worked. But I thought that<SkipMachineOOBE>true</SkipMachineOOBE>is deprecated ?It still works though ...@MrJinje:I have tried your script. Unfortunately it does not work, at least not from setupcomplete.cmd. Maybe it works when the script is called from specialice phase but since the above works I will go with that for the time being !To all guys:Thanks for your help in solving this problem !Bye,Alex Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now