Jump to content

Problem with Autounattend.xml


Recommended Posts

I am trying to figure out how to get my autounattend.xml to work properly. I am very new to this never done it before and have it for a school project I have created the file and named it properly yet I can not understand how to get the windows boot disc to pick up my xml file from my usb drive. Here is my xml file is there something i am doing wrong within here or something I just havent done period? Thanks in advance

<?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>

<Disk wcm:action="add">

<CreatePartitions>

<CreatePartition wcm:action="add">

<Order>1</Order>

<Extend>true</Extend>

<Type>Primary</Type>

</CreatePartition>

</CreatePartitions>

<ModifyPartitions>

<ModifyPartition wcm:action="add">

<Active>true</Active>

<Format>NTFS</Format>

<Label>LocalWin7HDD</Label>

<Letter>C</Letter>

<Order>1</Order>

<PartitionID>1</PartitionID>

</ModifyPartition>

</ModifyPartitions>

<DiskID>0</DiskID>

<WillWipeDisk>true</WillWipeDisk>

</Disk>

<WillShowUI>OnError</WillShowUI>

</DiskConfiguration>

<ImageInstall>

<OSImage>

<InstallTo>

<DiskID>0</DiskID>

<PartitionID>1</PartitionID>

</InstallTo>

<WillShowUI>OnError</WillShowUI>

</OSImage>

</ImageInstall>

<UserData>

<AcceptEula>true</AcceptEula>

<Organization>Networknet</Organization>

<FullName>Networknet</FullName>

</UserData>

</component>

<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>

<InputLocale>en-US </InputLocale>

<SystemLocale>en-US </SystemLocale>

<UILanguage>en-US </UILanguage>

<UILanguageFallback>en-US </UILanguageFallback>

<UserLocale>en-US </UserLocale>

</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">

<TimeZone>W. Europe Standard Time</TimeZone>

<ComputerName></ComputerName>

</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">

<Description>Enable Administrator account</Description>

<Path>net user administrator /active:yes</Path>

<Order>1</Order>

</RunSynchronousCommand>

</RunSynchronous>

</component>

<component name="Microsoft-Windows-IE-InternetExplorer" 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">

<StartPages>

<StartPage wcm:action="modify">

<StartPageUrl>www.google.com</StartPageUrl>

<StartPageKey>www.google.com</StartPageKey>

</StartPage>

</StartPages>

<Home_Page>www.google.com</Home_Page>

</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">

<OOBE>

<ProtectYourPC>1</ProtectYourPC>

<NetworkLocation>Work</NetworkLocation>

<HideEULAPage>true</HideEULAPage>

<HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>

</OOBE>

<UserAccounts>

<LocalAccounts>

<LocalAccount wcm:action="add">

<Password>

<Value>cABhAHMAcwB3AG8AcgBkAFAAYQBzAHMAdwBvAHIAZAA=</Value>

<PlainText>false</PlainText>

</Password>

<Name>administrator</Name>

<Group>administrators</Group>

<DisplayName>administrator</DisplayName>

<Description>Default Administrator Account</Description>

</LocalAccount>

</LocalAccounts>

</UserAccounts>

</component>

</settings>

<cpi:offlineImage cpi:source="wim:c:/users/craig/downloads/craig%20school/windows%207%20professional%20with%20service%20pack%201%20(x64)%20-%20dvd%20(english)/en_windows_7_professional_with_sp1_x64_dvd_u_676939/sources/install.wim#Windows 7 PROFESSIONAL" xmlns:cpi="urn:schemas-microsoft-com:cpi" />

</unattend>

Link to comment
Share on other sites


Please don't take this as rude, as I don't mean it to be, but from the forum rules:

2.c Requesting help with academic material, such as assignments, is not permitted on MSFN. Receiving such help is often viewed as plagiarism in many schools, and therefore cannot be allowed. This is for your own protection in your academic career.
Link to comment
Share on other sites

  • 1 month later...

I don't know If I'm too late to answer to this topic. In my personal opinion, that rule is kind of dumb. Part of a good research is to ask questions to experts. I suppose that many people here consider themselves experts. Furthermore, the motto of this web site is "Where People Go To Know". Anyway, here's a link to some explanations about how the autounattended file is processed. Pay attention to #4 and #5 on the table.

Edited by Rumbo
Link to comment
Share on other sites

The reason for the rule is that we have no way of knowing what restrictions on getting help with a project/assignment that a teacher might have imposed. So rather than needing to trust the "No, really, the teacher said I could get all the help I wanted!" type of statement, the rule was made to try to be fair and yet not give inappropriate assistance and help someone cheat.

Cheers and Regards

Link to comment
Share on other sites

+1 - while we *want* to help everyone that comes across and asks questions, we also understand that most projects in an educational environment aren't necessarily about getting to the end, it's about the research and trial and error required to get there. It is also hard to know, as has been previously mentioned, what the instructor's intent was as part of the exercise - was it to simply do it? Was it to *learn* how to do it by trying? Was it some exercise as a combination of the two? We really have no way of knowing, so to protect the students who have asked here in the past from missing out on things they are supposed to learn (remember, education isn't all about the end result, it's also learning how to find answers for yourself by actually DOING the work) we simply have the rule in place and err on the side of caution. Call it dumb if you want, but we think it's important that students learn how to learn, not just get answers or where to find them.

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...