Jump to content

Ask your Seven xml ? here


Recommended Posts

I called answer file as AutoUnattend and put it in root of win 7 iso

I want to know if there are any errors in following xml file

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">              <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">                       <RegisteredOrganization>Se7en_UA</RegisteredOrganization>            <RegisteredOwner>maxXPsoft</RegisteredOwner>            <TimeZone>Central Standard Time</TimeZone>	    <OOBE>                <HideEULAPage>true</HideEULAPage>                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>                <NetworkLocation>Home</NetworkLocation>                <ProtectYourPC>1</ProtectYourPC>            </OOBE>                         <AutoLogon> <Password> <Value></Value> </Password> <Enabled>true</Enabled> <LogonCount>1</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>                                     <WindowsFeatures>                <ShowInternetExplorer>true</ShowInternetExplorer>            </WindowsFeatures>        </component>    </settings>    </unattend>
Link to comment
Share on other sites


First problem, you specify AutoLogon but no password. Do not use empty objects. Also, you can only use that answer file on an Enterprise or Server OS and you need to specify a password for the Administrator account.

Second, your answer file doesn't have any objects that hide OOBE pages.

Link to comment
Share on other sites

First problem, you specify AutoLogon but no password. Do not use empty objects. Also, you can only use that answer file on an Enterprise or Server OS and you need to specify a password for the Administrator account.

Second, your answer file doesn't have any objects that hide OOBE pages.

I want Administrator account had blank password.( to let user had option to choice administrator password)

I think last xml file hide oobe pages... please what are objects that is existing in answer file hide oobe pages?

Link to comment
Share on other sites

I do not want to specify color depth, resulation, system&input language and oem information.

Only I want hide user account,password,updates ,time zone and skip wireless network.

You don't have to use all of it, he said look

To logon with Admin you need to add this to <settings pass="specialize"> so it will be set active for oobepass

<settings pass="specialize">        <component name="Microsoft-Windows-Deployment" 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">            <RunSynchronous>                <RunSynchronousCommand wcm:action="add">                    <Order>1</Order>                    <Description>Enable Admin Account</Description>                    <Path>net user administrator /active:yes</Path>                </RunSynchronousCommand>            </RunSynchronous>        </component></settings>

then

<AutoLogon>

<Enabled>true</Enabled>

<LogonCount>2</LogonCount>

<Username>Administrator</Username>

</AutoLogon>

<UserAccounts>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Password>

<Value></Value>

<PlainText>true</PlainText>

</Password>

<Group>Administrators</Group>

<Name>Administrator</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

Edited by maxXPsoft
Link to comment
Share on other sites

I do not want to specify color depth, resulation, system&input language and oem information.

Only I want hide user account,password,updates ,time zone and skip wireless network.

You don't have to use all of it, he said look

To logon with Admin you need to add this to <settings pass="specialize"> so it will be set active for oobepass

<settings pass="specialize">        <component name="Microsoft-Windows-Deployment" 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">            <RunSynchronous>                <RunSynchronousCommand wcm:action="add">                    <Order>1</Order>                    <Description>Enable Admin Account</Description>                    <Path>net user administrator /active:yes</Path>                </RunSynchronousCommand>            </RunSynchronous>        </component></settings>

then

<AutoLogon>

<Enabled>true</Enabled>

<LogonCount>2</LogonCount>

<Username>Administrator</Username>

</AutoLogon>

<UserAccounts>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Password>

<Value></Value>

<PlainText>true</PlainText>

</Password>

<Group>Administrators</Group>

<Name>Administrator</Name>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

thanks my sir,, I will test your xml file

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"><settings pass="specialize">        <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>                    <Description>Enable Admin Account</Description>                    <Path>net user administrator /active:yes</Path>                </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">                      	 <RegisteredOrganization>MSFN Forum</RegisteredOrganization>           	 <RegisteredOwner>begginer</RegisteredOwner>           	 <TimeZone>Central Standard Time</TimeZone>	  	  <OOBE>                <HideEULAPage>true</HideEULAPage>                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>                <NetworkLocation>Home</NetworkLocation>                <ProtectYourPC>1</ProtectYourPC>           	 </OOBE>                         <AutoLogon>                 <Enabled>true</Enabled>                 <LogonCount>2</LogonCount>                 <Username>Administrator</Username>             </AutoLogon>             <UserAccounts>                 <LocalAccounts>                     <LocalAccount wcm:action="add">                         <Password>                             <Value></Value>                             <PlainText>true</PlainText>                         </Password>                         <Group>Administrators</Group>                         <Name>Administrator</Name>                     </LocalAccount>                 </LocalAccounts>             </UserAccounts>        </component>    </settings>    </unattend>
Link to comment
Share on other sites

Ok here it is Autologon with Administrator and nothing else Windows 7 SP1 and this is X86.

I add so many things so I don't have to add them later or answer but this is the basic needed.

EDIT: You may not need the settings pass="specialize" but it worked this way so I don't think it hurts to have it in there.

I watched it running setupcomplete.cmd and then went to desktop after personalizing settings

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="specialize">        <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>                    <Description>Enable Admin Account</Description>                    <Path>net user administrator /active:yes</Path>                </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">            <AutoLogon>                <Enabled>true</Enabled>                <LogonCount>2</LogonCount>                <Username>Administrator</Username>            </AutoLogon>            <UserAccounts>                <LocalAccounts>                    <LocalAccount wcm:action="add">                        <Password>                            <Value></Value>                        <PlainText>true</PlainText>                        </Password>                        <Group>Administrators</Group>                        <Name>Administrator</Name>                    </LocalAccount>                </LocalAccounts>            </UserAccounts>        </component>    </settings></unattend>
Edited by maxXPsoft
Link to comment
Share on other sites

I am sad because of oobe pages were not hidden by using xml file:

account name, password, protect windows(update) and time zone.

I didn't add that and it was only a xml to enable Administrator autologon. You have to add all them things yourself

Look at <settings pass="oobeSystem"> in first post. It is updated

I add as much as possible to block them.

Perhaps you need to add language and the OOBE, never done it with minimal stuff.

Link to comment
Share on other sites

  • 3 weeks later...

Hope this saves someone some grief, when I intergrated Windows6.1-KB2841134-x86.cab (This is IE 11) http://go.microsoft.com/fwlink/?LinkID=299198 installation halted with an error in settings pass="specialize" darned if I could see it so I install the Win 7 AIK, still no errors, so I deleted these lines:

<DisableFirstRunWizard>true</DisableFirstRunWizard><FavoritesDelete>true</FavoritesDelete><FavoritesOnTop>true</FavoritesOnTop> 

works great and there is peace in all the land...

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...