Jump to content

Adding user accounts and IP addresses to unattend


Recommended Posts

Hi guys :hello:

Thought I'd start a new thread to deal with my latest problems. OK I have a basic unattend which I took from FireGeier. This works fine, but I would like to add more settings....LOL

I am laughing but getting a bit strained now :wacko:

I thought I'd add the ammended.xml that I cannot get to work. I have removed rearm to see if that was causing problems...nada. I have removed computer name to see if that works...nada. I haven't removed anything else yet but have removed my key code and changed account names.

  <?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>sv-SE</UILanguage>
</SetupUILanguage>
<InputLocale>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>sv-SE</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">
- <UserData>
- <ProductKey>
<Key>*****-*****-*****-*****-*****</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
- <Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista BUSINESS</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
</component>
</settings>
- <settings pass="specialize">
- <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>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">
<ComputerName />
</component>
- <component name="Microsoft-Windows-TCPIP" 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">
- <Interfaces>
- <Interface wcm:action="add">
- <Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
</Ipv4Settings>
- <UnicastIpAddresses>
<IpAddress wcm:action="add" wcm:keyValue="192.168.0.200/24">1</IpAddress>
</UnicastIpAddresses>
- <Routes>
- <Route wcm:action="add">
<Identifier>0</Identifier>
<NextHopAddress>192.168.0.1</NextHopAddress>
<Prefix>0.0.0.0/0</Prefix>
<Metric>20</Metric>
</Route>
</Routes>
<Identifier>Local Area Connection</Identifier>
</Interface>
</Interfaces>
</component>
- <component name="Microsoft-Windows-DNS-Client" 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">
- <DNSSuffixSearchOrder>
<DomainName wcm:action="add" wcm:keyValue="2">195.54.122.204</DomainName>
<DomainName wcm:action="add" wcm:keyValue="1">!95.54.122.200</DomainName>
</DNSSuffixSearchOrder>
- <Interfaces>
- <Interface wcm:action="add">
<DisableDynamicUpdate>false</DisableDynamicUpdate>
<Identifier>Local Aerea Connection</Identifier>
</Interface>
</Interfaces>
</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>
- <Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
- <OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
- <UserAccounts>
- <AdministratorPassword>
<Value>NQA2ADcAMwA3ADgANwA5AG0AYQBBAGQAbQBpAG4AaQBzAHQAcgBhAHQAbwByAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
<Name>Girlfriend</Name>
<DisplayName>Girlfriend</DisplayName>
<Group>Administrators</Group>
</LocalAccount>
- <LocalAccount wcm:action="add">
<DisplayName>bookie32</DisplayName>
<Group>Administrators</Group>
<Name>bookie32</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</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>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>sv-SE</UserLocale>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:g:/vista_installation/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Can someone have a look at that and tell me where I am going wrong.

I have a firewall as a standard gateway 192.168.0.1

The computer's Static IP-addresss 192.168.0.200

Dns-server range 195.54.122.200

195.54.122.204

Thanks as always :rolleyes:

bookie32

Link to comment
Share on other sites


Hi guys, well, a step in the right direction....LOL I updated the xml file and removed the settings for dns and ip addresses and it works. I now have a basic unattend xml that creates my accounts as requested.

So, I now have to look at the network side of things. There is something there that doesn't add up Back to the drawing board on that one.

Please feel free to comment if anyone has anything to say. Feeling a bit lonely here...LOL

bookie32

Link to comment
Share on other sites

Hi guys, well, I am beginning to realize that this section of the forum hasn't much interest. We have so many members on line but hardly anyone visits here?

Well, don't see the point of posting if there isn't any interest in helping. Sorry if I am asking stupid questions all the time. This is new to me and I am reading just about every thread that has anything to say on these matters...but that isn't much. I have even based my updates regarding adding accounts and IP addresses on other threads but that isn't helping.

Please, please, don't take this the wrong way but I don't see the point of a section unless people are going to help others. I can't believe that there are so few that work with unattended?

My worst nightmare is having to reinstall the comuter after a crash. I even have a crash folder on another partition for that purpose but it still takes hours!!! I just want to save a bit of time like you could with XP and have an image with everything installed to reinstall when it is needed. I wont give up and will share my findings with the forum as I learn.

OK, sorry to be a pain and I am sure someone will come down on me as if I am some sort of an asehole but I wont waste my time asking for help if there is none.

There are other forums and the main reason for my coming here is because I heard such good things about MSFN. YES, I am aware that we all have private lives.....not saying otherwise ...just asking the members to help those in need. I am not lazy and read a hell of a lot every day to understand the process more but still need help.

As my mum usually says, if you don't ask you don't get.....So, please no sour grapes over my comments....not trying to offend anyone...just want the members that can to remember how it was for them before they learnt ....

bookie32

Link to comment
Share on other sites

Please be patient man sometimes these posts don't get attention for days..& we ain't all UA experts. The amount of variables in the wsim is endless & you can accomplish most you need to. Try going through the help files whilst verifying your xml in the wsim.

Good luck with it.

Link to comment
Share on other sites

Hi MAVERICKS CHOICE :hello:

Thanks for you comments. Sorry, not my intention to offend. I just feel like I am in limbo here...LOL. Got a computer that I want to set up so that my girlfriend can get going and I can't seem to solve these little problems.

I will keep reading and trying to understand what it is I am doing wrong.

The computer I am trying to get an image from is a newly built upgrade and that is why my attention is focused on getting that up and running and save my self future problems by dealing with them now....there is logic in my madness.

Thanks again for coming around.

bookie32

Link to comment
Share on other sites

Hi again, well, I haven't solved this problem but did find many errors on my unattend xml. I have since posting the xml - updated the info and still it doesn't work.

So, I think I will call it a day with static ip addresses ....not worth the trouble.

Thanks for the help

bookie32

Link to comment
Share on other sites

Hi guys this was my latest try and it didn't work either:

  <?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>sv-SE</UILanguage>
</SetupUILanguage>
<InputLocale>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>sv-SE</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">
- <UserData>
- <ProductKey>
<Key>MJKXB-JV3WQ-F8RVP-XDWY6-QGDYV</Key>
<WillShowUI>OnError</WillShowUI>
</ProductKey>
<AcceptEula>true</AcceptEula>
</UserData>
- <Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
- <ImageInstall>
- <OSImage>
- <InstallFrom>
- <MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows Vista BUSINESS</Value>
</MetaData>
</InstallFrom>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
</OSImage>
</ImageInstall>
</component>
</settings>
- <settings pass="specialize">
- <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>true</SkipAutoActivation>
</component>
- <component name="Microsoft-Windows-TCPIP" 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">
- <Interfaces>
- <Interface wcm:action="add">
- <Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
<RouterDiscoveryEnabled>false</RouterDiscoveryEnabled>
</Ipv4Settings>
- <UnicastIpAddresses>
<IpAddress wcm:action="add" wcm:keyValue="1">192.168.0.200/24</IpAddress>
</UnicastIpAddresses>
- <Routes>
- <Route wcm:action="add">
<Identifier>0</Identifier>
<Metric>20</Metric>
<NextHopAddress>192.168.0.1</NextHopAddress>
<Prefix>0.0.0.0/0</Prefix>
</Route>
</Routes>
<Identifier>00:1D:92:EC:69:47</Identifier>
</Interface>
</Interfaces>
</component>
- <component name="Microsoft-Windows-DNS-Client" 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">
- <Interfaces>
- <Interface wcm:action="add">
- <DNSServerSearchOrder>
<IpAddress wcm:action="add" wcm:keyValue="1">195.54.122.200</IpAddress>
<IpAddress wcm:action="add" wcm:keyValue="2">195.54.122.204</IpAddress>
</DNSServerSearchOrder>
<DisableDynamicUpdate>false</DisableDynamicUpdate>
<Identifier>00:1D:92:EC:69:47</Identifier>
</Interface>
</Interfaces>
</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">
- <Display>
<ColorDepth>32</ColorDepth>
<DPI>96</DPI>
<HorizontalResolution>1024</HorizontalResolution>
<VerticalResolution>768</VerticalResolution>
</Display>
- <OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<TimeZone>W. Europe Standard Time</TimeZone>
- <UserAccounts>
- <LocalAccounts>
- <LocalAccount wcm:action="add">
<DisplayName>Anna</DisplayName>
<Group>Administrators</Group>
<Name>Anna Nygard</Name>
</LocalAccount>
- <LocalAccount wcm:action="add">
<DisplayName>Martyn</DisplayName>
<Group>Administrators</Group>
<Name>Martyn Page</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
- <AutoLogon>
<Enabled>false</Enabled>
<Username>Administrator</Username>
<LogonCount>2</LogonCount>
</AutoLogon>
</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>041d:0000041d</InputLocale>
<SystemLocale>sv-SE</SystemLocale>
<UILanguage>sv-SE</UILanguage>
<UserLocale>sv-SE</UserLocale>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:g:/vista_installation/install.wim#Windows Vista BUSINESS" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I have no more desire to waist time on something that obvioulsly doesn't work.

I will stick with my accounts being added - unless someone knows why this isn't working.

bookie32

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