Jump to content

Unattended not working


RicaNeaga

Recommended Posts

Ok guys no matter what i do it asks me to create a user/password, even with administrator set to autologon (with password and logon count defined as 9999)...

But when i create a new user, it logs me straight into windows with the administrator account and keeps logging me in, so the problem itself is with SkipUserOOBE settings but i don't know what.

Edited by Legolash2o
Link to comment
Share on other sites

If we use only::


<AutoLogon>
<Password>
<Value></Value>
</Password>
<Enabled>true</Enabled>
<LogonCount>9999999</LogonCount>
<Username>Administrator</Username>
</AutoLogon>

If a password is specified in AdministratorPassword, then use the same password in Autologon.

We can enable the built-in Administrator without creating a User account!

But I think it's not a good silent installation!

Silent installation can fails on WMware virtual Machine using only AutoLogon like shown above!

*Edit:

New test made with (Test4) and I see if I select: Skip User Creation, some values are set!


<UserAccounts>
<AdministratorPassword>
<Value>qwertzuiop</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
</UserAccounts>

Edited by myselfidem
Link to comment
Share on other sites

Found some infos:

http://www.msfn.org/...810#entry891810

I think it's not recommended to: Skip User Creation for Windows 7!

Regards

Using AutoLogon like this works:


<AutoLogon>
<Password>
<Value></Value>
</Password>
<Enabled>true</Enabled>
<LogonCount>2</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value></Value>
<PlainText>true</PlainText>
</Password>
<DisplayName>Administrator</DisplayName>
<Name>Administrator</Name>
<Group>Administrators</Group>
</LocalAccount>
</LocalAccounts>
</UserAccounts>

Edited by myselfidem
Link to comment
Share on other sites

yeah i've just discovered that maybe i should make Skip User Creation add that entry in the users list if one isn't entered?

EDIT: Surely their is a big security risk of using the administrator account, i can't imagine there being any benefits?

Edited by Legolash2o
Link to comment
Share on other sites

My advice is to not use: Skip User Creation, but to associate the AutoLogon's User name with the User account who have privileges to start automatically as administrator!

Don't use: Skip User Creation for Windows 7

I hope my english is understandable!

Regards

Edited by myselfidem
Link to comment
Share on other sites

I have focused on fully silent installation for my AIO win7 DVD nowadays but I couldn't succeed :(

I don't want to bother Myselfidem and Legolash too much. just waiting for new releases.

I created a user in users tab. Then create attached autounattend.xml. Everything is perfect for x86

amd64 installations ask security and network options :( plus amd64 win7s become 3 day trial :( instead 30 days trial.

My win7 DVD is Myselfidem's setproductkey.cmd applied DVD. It is 30 day trial without any Autounattend.xml file.

Regards

Autounattend_hornet12.xml

Link to comment
Share on other sites

Why you don't use the Autounattend.xml file I gave you and working fine?

Remember, you have only ONE VALID key matching the Windows 7 you bought!!!

If you have saved your activated files you will see 3 days and after you must validate your windows 7 version...Using on a virtual machine...!!

The default keys are useful to install silently any Windows 7 version...But you need to buy a different VALID KEY for each version!

And I see an error inside your Autounattend.xml file:

<Value /> ??????

Remember Legolash2o is working to improve XML Creator!!

Regards

Edited by myselfidem
Link to comment
Share on other sites

I attach my Autounattend.xml file for x86 and x64... I found on internet and adapted to my needs, it works perfectly...

Regards... ;-)


<?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>es-ES</UILanguage>
</SetupUILanguage>
<InputLocale>040a:0000040a</InputLocale>
<SystemLocale>es-ES</SystemLocale>
<UILanguage>es-ES</UILanguage>
<UserLocale>es-ES</UserLocale>
</component>
<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>
<SystemLocale>es-ES</SystemLocale>
<UILanguage>es-ES</UILanguage>
<UserLocale>es-ES</UserLocale>
</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">
<ImageInstall>
<OSImage>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key />
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
</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">
<ImageInstall>
<OSImage>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
<UserData>
<ProductKey>
<Key />
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-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>true</SkipAutoActivation>
</component>
<component name="Microsoft-Windows-Security-SPP-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>
<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>Romance Standard Time</TimeZone>
</component>
<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">
<TimeZone>Romance Standard Time</TimeZone>
</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>040a:0000040a</InputLocale>
<UserLocale>es-ES</UserLocale>
<UILanguage>es-ES</UILanguage>
</component>
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>040a:0000040a</InputLocale>
<UserLocale>es-ES</UserLocale>
<UILanguage>es-ES</UILanguage>
</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">
<UserAccounts>
<LocalAccounts />
<AdministratorPassword>
<Value />
</AdministratorPassword>
</UserAccounts>
<AutoLogon>
<Password>
<Value />
</Password>
<Enabled>true</Enabled>
<LogonCount>9999</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<OOBE>
<NetworkLocation>Home</NetworkLocation>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>1</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<TimeZone>Romance Standard Time</TimeZone>
<OEMInformation>
<Manufacturer />
<SupportHours />
<SupportPhone />
<SupportURL />
<Model />
</OEMInformation>
</component>
<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">
<UserAccounts>
<LocalAccounts />
<AdministratorPassword>
<Value />
</AdministratorPassword>
</UserAccounts>
<AutoLogon>
<Password>
<Value />
</Password>
<Enabled>true</Enabled>
<LogonCount>9999</LogonCount>
<Username>Administrator</Username>
</AutoLogon>
<OOBE>
<NetworkLocation>Home</NetworkLocation>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>1</ProtectYourPC>
<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<DisableAutoDaylightTimeSet>false</DisableAutoDaylightTimeSet>
<TimeZone>Romance Standard Time</TimeZone>
<OEMInformation>
<Manufacturer />
<SupportHours />
<SupportPhone />
<SupportURL />
<Model />
</OEMInformation>
</component>
</settings>
</unattend>

Autounattend.xml

Link to comment
Share on other sites

Remember, always check your Autounattend.xml file with WSIM to see if there is errors !!!!!!!!


<OEMInformation>
<Manufacturer /> ???????
<SupportHours /> ??????
<SupportPhone /> ??????
<SupportURL />????????
<Model /> ????????
</OEMInformation>

etc...

unnecessary....

Edited by myselfidem
Link to comment
Share on other sites

Remember, always check your Autounattend.xml file with WSIM to see if there is errors !!!!!!!!


<OEMInformation>
<Manufacturer /> ???????
<SupportHours /> ??????
<SupportPhone /> ??????
<SupportURL />????????
<Model /> ????????
</OEMInformation>

unnecessary....

Ok, i delete it... thank you... ;-)

Link to comment
Share on other sites

@myselfidem

The first Autounattend.xml file you gave me here http://www.wincert.net/forum/index.php?/topic/9101-unattanded-creator-serial-keys/ in post #19 was working fine but had no user. I couldn't add user into it. The second file in post #31 has a user in it. But it made the installation stop. Your original or my customized files had the same result. And WSIM said to me that there were 16 missing items. I don't know how to solve missing items.

I think Microsoft offers 30 days trial, doesn't it? not 3 days. When I install win7 amd64 without any Autounattend.xml, I see 30 days.

I don't want to have any win7 crack. Customers have to enter their valid keys in 30 days.

Thanks anyway.

Link to comment
Share on other sites

Your are using an Autounattend.xml file AIO x86/x64 right?

You can't validate this file with WSIM, but only see if there is some errors!

Give me your Autounattend.xml file and I will try to add the users you want!

Attach this one.

Thanks

*Edit: If the integrated keys aren't the good ones you may have errors!!

SetProductKey.cmd is useful if you don't want enter a key during the silent installation!!

Please read carefully my posts here:

http://www.msfn.org/...nd-aio-x86-x64/

Edited by myselfidem
Link to comment
Share on other sites

First I must say I do not know much about Autounattend.xml, I found this online, I've adapted to my needs and I work for what I need in x86 and x64 ... I really need is to be installed unattended, asking only the partition you are installing, by default the Spanish language and location of Spain, and finally he does not believe any user, only the Administrator...

Sorry for the translation of Google... X-D

Regards... ;-)

p.d.: Don't install the serial through Autounattend.xml...

Edited by alfreire
Link to comment
Share on other sites

Your are using an Autounattend.xml file AIO x86/x64 right?

Yes, I use an Autounattend.xml file AIO x86/x64.

If the integrated keys aren't the good ones you may have errors!!

SetProductKey.cmd is useful if you don't want enter a key during the silent installation!!

SetProductKey.cmd is really useful. I used it and tested my all 9 images. It works fine.

Please read carefully my posts here: http://www.msfn.org/...nd-aio-x86-x64/

I didn't want to be an autounattend.xml expert but I think I should be LOL

just gigling :)

This attached file has one user and woks fine with x32 images.

please, have look at that

Autounattend.xml

Link to comment
Share on other sites

Remember XML Creator needs to be improved...Use the Autounattend.xml file I gave you!

Check first your Autounattend.xml file for Windows x86 and after duplicate the values for x64 and merge the files, and check with WSIM...You will see ONLY ONE error: missing the last line...But this is not needed!

Example, two Accounts:


<LocalAccounts>
<LocalAccount wcm:action="add">
<Name>Antoine</Name>
<Group>Administrators</Group>
<Password>
<Value>xxxxxxx</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>Antoine</DisplayName>
<Description>Antoine</Description>
</LocalAccount>
<LocalAccount wcm:action="add">
<Name>Josiane</Name>
<Group>Users</Group>
<Password>
<Value>xxxxxxxxx</Value>
<PlainText>false</PlainText>
</Password>
<DisplayName>Josiane</DisplayName>
<Description>Josiane</Description>
</LocalAccount>
</LocalAccounts>

Link to comment
Share on other sites

Remember XML Creator needs to be improved...Use the Autounattend.xml file I gave you!

Check first your Autounattend.xml file for Windows x86 and after duplicate the values for x64 and merge the files, and check with WSIM...You will see ONLY ONE error: missing the last line...But this is not needed!

I see. I will try to add users to the first Autounattend.xml you gave me. Thank you.

By the way, Legolash asked a question about setproductkey. Setproductkey.cmd injects microsoft's suitable trial productkeys to win7 images. so product keys never asked during installation.

Regards.

Link to comment
Share on other sites

Seems like Unattended is definately broken, now it asks even EULA, and every single OOBE question.

Made new one with last version, same problem... :g:

EDIT: Actually found out, that xml didnt get copied into DVD root again... :blink:

Edited by Etz
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...