Jump to content

RunSynchronous woes


Recommended Posts

Hi all,

I've spent a lot of time searching and haven't been able to find anything, but I keep getting the same error with my unattended whenever I try and put a RunSynchronous.

Other then that it has been working fine and even my FirstLogonCommands are working great.

Here is a dumb-ed down basic version of my file, I can't even get this working! And attached is the error I get.... An error occurred while querying for pending operations

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing></servicing>
<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">
<ShowWindowsLive>false</ShowWindowsLive>
<RegisteredOrganization>Fred Health Pty. Ltd.</RegisteredOrganization>
<RegisteredOwner>Fred Health Pty. Ltd.</RegisteredOwner>
<TimeZone>AUS Eastern Standard Time</TimeZone>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<Order>1</Order>
<Description>RegTweak</Description>
<CommandLine>cmd /c REGEDIT /S c:\Misc\Regtweaks.Reg</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
</component>
</settings>
<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>2</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>300</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Label>System Reserved</Label>
<PartitionID>1</PartitionID>
<Order>1</Order>
<Format>NTFS</Format>
<TypeID>0x27</TypeID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ENTERPRISE</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<EnableNetwork>true</EnableNetwork>
<UseConfigurationSet>true</UseConfigurationSet>
</component>
</settings>
<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>2</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /audit</Path>
<WillReboot>OnRequest</WillReboot>
<Description>reboot to audit</Description>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>cmd /c "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path>
<Description>Set up apppath</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="auditUser">
<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>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot </Path>
<WillReboot>OnRequest</WillReboot>
<Description>get out of audit</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="auditSystem">
<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>
<Username>Administrator</Username>
<LogonCount>5</LogonCount>
<Enabled>true</Enabled>
</AutoLogon>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/aik/windows_7_enterprise_x86/dvd/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

post-257111-1253520941_thumb.jpg

Link to comment
Share on other sites


Ok I feel like I'm talking to myself here :P

Anways I've got it working, with a few issues...

When I boot INTO audit mode, I get:

* A message about sysprep is already running.

* Select your network location screen

Thankfully if I leave it, the installation continues correctly and then reboots correctly...

When we reboot AFTER audit mode, I get:

* Select your location, currency, etc.

* Set your computer name and create an admin (This is GOOD I want this screen)

* Accept the ULA screen

* Protection Level screen

* Timezone screen

* Computer location screen

After the computer boots up:

* The 'RunOnFirstLogin' commands don't work :(

* The 'Adminstrator' account seems to be disabled

Autounattended:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure" permanence="permanent">
<assemblyIdentity name="Microsoft-Windows-LocalPack-AU-Package" version="6.1.7600.16385" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="LocalPack-AU" state="true" />
</package>
</servicing>
<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>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>1</ProtectYourPC>
<NetworkLocation>Work</NetworkLocation>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<ShowWindowsLive>false</ShowWindowsLive>
<RegisteredOrganization>Fred Health Pty. Ltd.</RegisteredOrganization>
<RegisteredOwner>Fred Health Pty. Ltd.</RegisteredOwner>
<TimeZone>AUS Eastern Standard Time</TimeZone>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
<WindowsFeatures>
<ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
<ShowMediaCenter>true</ShowMediaCenter>
<ShowInternetExplorer>true</ShowInternetExplorer>
</WindowsFeatures>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>"%PROGRAMFILES%\Internet Explorer\iexplore.exe" http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</CommandLine>
<Order>3</Order>
<RequiresUserInput>true</RequiresUserInput>
<Description>Welcome</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<RequiresUserInput>true</RequiresUserInput>
<CommandLine>cmd /c REGEDIT /S %AppsRoot%\Install\Regtweaks.Reg</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<TaskbarLinks>
<Link2>http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</Link2>
<Link1>%PROGRAMFILES%\Internet Explorer\iexplore.exe http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</Link1>
<Link0>%windir%\system32\msra.exe</Link0>
</TaskbarLinks>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<UserAccounts>
<AdministratorPassword>
<Value>QgB1AGQAdwBpAHMAZQByAGkAcwByAHUAYgBiAGkAJABoAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8A
cgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</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">
<UserLocale>en-AU</UserLocale>
<UILanguage>en-AU</UILanguage>
<SystemLocale>en-AU</SystemLocale>
<InputLocale>en-US</InputLocale>
<UILanguageFallback>en-US</UILanguageFallback>
</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">
<Reseal>
<Mode>Audit</Mode>
</Reseal>
</component>
</settings>
<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>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>en-US</InputLocale>
<SystemLocale>en-AU</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-AU</UserLocale>
<UILanguageFallback></UILanguageFallback>
</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">
<DiskConfiguration>
<Disk wcm:action="add">
<CreatePartitions>
<CreatePartition wcm:action="add">
<Order>2</Order>
<Type>Primary</Type>
<Extend>true</Extend>
</CreatePartition>
<CreatePartition wcm:action="add">
<Order>1</Order>
<Size>300</Size>
<Type>Primary</Type>
</CreatePartition>
</CreatePartitions>
<ModifyPartitions>
<ModifyPartition wcm:action="add">
<Active>true</Active>
<Format>NTFS</Format>
<Label>Windows</Label>
<Letter>C</Letter>
<Order>2</Order>
<PartitionID>2</PartitionID>
</ModifyPartition>
<ModifyPartition wcm:action="add">
<Active>false</Active>
<Label>System Reserved</Label>
<PartitionID>1</PartitionID>
<Order>1</Order>
<Format>NTFS</Format>
<TypeID>0x27</TypeID>
</ModifyPartition>
</ModifyPartitions>
<DiskID>0</DiskID>
<WillWipeDisk>true</WillWipeDisk>
</Disk>
<WillShowUI>OnError</WillShowUI>
</DiskConfiguration>
<ImageInstall>
<OSImage>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>2</PartitionID>
</InstallTo>
<InstallToAvailablePartition>false</InstallToAvailablePartition>
<WillShowUI>OnError</WillShowUI>
<InstallFrom>
<MetaData wcm:action="add">
<Key>/IMAGE/NAME</Key>
<Value>Windows 7 ENTERPRISE</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<UserData>
<AcceptEula>true</AcceptEula>
<Organization>Fred Health Pty. Ltd.</Organization>
<FullName>Fred</FullName>
</UserData>
<Diagnostics>
<OptIn>true</OptIn>
</Diagnostics>
<EnableNetwork>true</EnableNetwork>
<UseConfigurationSet>true</UseConfigurationSet>
<LogPath>C:\Log</LogPath>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Networking-MPSSVC-Svc" 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">
<FirewallGroups>
<FirewallGroup wcm:action="add" wcm:keyValue="Remote Desktop">
<Active>true</Active>
<Group>Remote Desktop</Group>
</FirewallGroup>
<FirewallGroup wcm:action="add" wcm:keyValue="Remote Assistance">
<Group>Remote Assistance</Group>
<Active>true</Active>
</FirewallGroup>
</FirewallGroups>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<FeedList>
<FeedItem wcm:action="add">
<FeedURL>http://share.pcanu.com.au/officesystems/_layouts/listfeed.aspx?List={11758C37-467F-463E-8C28-3D2BE9D31B1A}</FeedURL>
<FeedTitle>Office Systems</FeedTitle>
<FeedKey>1</FeedKey>
</FeedItem>
</FeedList>
<BlockPopups>yes</BlockPopups>
<FavoritesDelete>true</FavoritesDelete>
<Home_Page>http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</Home_Page>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<TrustedSites>*.fred.com.au;*.fredhealth.com.au;*.pcanu.com.au;*.nunet.com.au;*.erx.com.au;*.appcat.com.au</TrustedSites>
<CompanyName>Fred Health Pty Ltd</CompanyName>
<QuickLinkList>
<QuickLinkItem wcm:action="add">
<QLID>4</QLID>
<QuickLinkName>Support</QuickLinkName>
<QuickLinkUrl>http://support.pcanu.com.au/</QuickLinkUrl>
</QuickLinkItem>
<QuickLinkItem wcm:action="add">
<QLID>1</QLID>
<QuickLinkUrl>https://mail.pcanu.com.au/</QuickLinkUrl>
<QuickLinkName>Webmail</QuickLinkName>
</QuickLinkItem>
<QuickLinkItem wcm:action="add">
<QLID>2</QLID>
<QuickLinkName>LogMeIn</QuickLinkName>
<QuickLinkUrl>https://secure.logmeinrescue.com/HelpDesk/Login.aspx</QuickLinkUrl>
</QuickLinkItem>
<QuickLinkItem wcm:action="add">
<QLID>3</QLID>
<QuickLinkName>SharePoint</QuickLinkName>
<QuickLinkUrl>http://share.pcanu.com.au/default.aspx</QuickLinkUrl>
</QuickLinkItem>
<QuickLinkItem wcm:action="add">
<QLID>5</QLID>
<QuickLinkName>Win7 Getting Started</QuickLinkName>
<QuickLinkUrl>http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</QuickLinkUrl>
</QuickLinkItem>
</QuickLinkList>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<DisableWelcomePage>true</DisableWelcomePage>
</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">
<CopyProfile>true</CopyProfile>
<RegisteredOrganization>Fred Health Pty. Ltd.</RegisteredOrganization>
<RegisteredOwner>Fred Health Pty. Ltd.</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>AUS Eastern Standard Time</TimeZone>
<ProductKey>zzzzzzzzzzzzzzzzzzz</ProductKey>
</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>en-US</InputLocale>
<SystemLocale>en-AU</SystemLocale>
<UILanguage>en-AU</UILanguage>
<UserLocale>en-AU</UserLocale>
</component>
<component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
<MaxTicketExpiry>3</MaxTicketExpiry>
<CreateEncryptedOnlyTickets>false</CreateEncryptedOnlyTickets>
<fAllowFullControl>true</fAllowFullControl>
<fAllowToGetHelp>true</fAllowToGetHelp>
</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 "FOR %i IN (C D E F G H I J K L N M O P Q R S T U V W X Y Z) DO IF EXIST %i:\AppsRoot.txt SETX AppsRoot %i: -m"</Path>
<Description>Set up apppath</Description>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" 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">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
<DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
</component>
</settings>
<settings pass="auditSystem">
<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>
<Username>Administrator</Username>
<LogonCount>3</LogonCount>
<Enabled>true</Enabled>
<Password>
<Value>QgB1AGQAdwBpAHMAZQByAGkAcwByAHUAYgBiAGkAJABoAFAAYQBzAHMAdwBvAHIAZAA=</Value>
<PlainText>false</PlainText>
</Password>
</AutoLogon>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>AUS Eastern Standard Time</TimeZone>
<WindowsFeatures>
<ShowInternetExplorer>true</ShowInternetExplorer>
<ShowMediaCenter>true</ShowMediaCenter>
<ShowWindowsMail>false</ShowWindowsMail>
<ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
</WindowsFeatures>
<UserAccounts>
<AdministratorPassword>
<Value>QgB1AGQAdwBpAHMAZQByAGkAcwByAHUAYgBiAGkAJABoAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8A
cgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
</component>
</settings>
<settings pass="auditUser">
<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">
<RunAsynchronous>
<RunAsynchronousCommand wcm:action="add">
<Description>Machine RegTweaks</Description>
<Path>cmd /c REGEDIT /S %AppsRoot%\Install\MachineRegTweaks.Reg</Path>
<Order>1</Order>
</RunAsynchronousCommand>
<RunAsynchronousCommand wcm:action="add">
<Order>3</Order>
<Path>msiexec /i %AppsRoot%\Install\Foxit\FoxitReader234015_enu.msi /qn /l* c:\Foxit23.log ALLUSERS=1 TARGETDIR="c:\Program Files\Foxit Reader"</Path>
<Description>Foxit</Description>
</RunAsynchronousCommand>
<RunAsynchronousCommand wcm:action="add">
<Order>2</Order>
<Path>%AppsRoot%\Install\OFFICE12\setup.exe /config %AppsRoot%\Install\OFFICE12\config.xml</Path>
<Description>Office</Description>
</RunAsynchronousCommand>
<RunAsynchronousCommand wcm:action="add">
<Order>100</Order>
<Path>%WINDIR%\system32\sysprep\sysprep.exe /quiet /oobe /reboot /unattend:%AppsRoot%\Install\Unattend.xml</Path>
<Description>Reboot and continue</Description>
</RunAsynchronousCommand>
<RunAsynchronousCommand wcm:action="add">
<Order>99</Order>
<Description>Enable Admin</Description>
<Path>net user administrator /active:yes</Path>
</RunAsynchronousCommand>
</RunAsynchronous>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/aik/windows_7_enterprise_x86/dvd/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Unattended:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<servicing>
<package action="configure" permanence="permanent">
<assemblyIdentity name="Microsoft-Windows-LocalPack-AU-Package" version="6.1.7600.16385" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="" />
<selection name="LocalPack-AU" state="true" />
</package>
</servicing>
<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>
<HideEULAPage>true</HideEULAPage>
<ProtectYourPC>1</ProtectYourPC>
<NetworkLocation>Work</NetworkLocation>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<ShowWindowsLive>false</ShowWindowsLive>
<RegisteredOrganization>Fred Health Pty. Ltd.</RegisteredOrganization>
<RegisteredOwner>Fred Health Pty. Ltd.</RegisteredOwner>
<TimeZone>AUS Eastern Standard Time</TimeZone>
<VisualEffects>
<FontSmoothing>ClearType</FontSmoothing>
</VisualEffects>
<WindowsFeatures>
<ShowWindowsMediaPlayer>true</ShowWindowsMediaPlayer>
<ShowMediaCenter>true</ShowMediaCenter>
<ShowInternetExplorer>true</ShowInternetExplorer>
</WindowsFeatures>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>"%PROGRAMFILES%\Internet Explorer\iexplore.exe" http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</CommandLine>
<Order>3</Order>
<RequiresUserInput>true</RequiresUserInput>
<Description>Welcome</Description>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<RequiresUserInput>true</RequiresUserInput>
<CommandLine>cmd /c REGEDIT /S %AppsRoot%\Install\Regtweaks.Reg</CommandLine>
</SynchronousCommand>
</FirstLogonCommands>
<TaskbarLinks>
<Link2>http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</Link2>
<Link1>%PROGRAMFILES%\Internet Explorer\iexplore.exe http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</Link1>
<Link0>%windir%\system32\msra.exe</Link0>
</TaskbarLinks>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<UserAccounts>
<AdministratorPassword>
<Value>QgB1AGQAdwBpAHMAZQByAGkAcwByAHUAYgBiAGkAJABoAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8A
cgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</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">
<UserLocale>en-AU</UserLocale>
<UILanguage>en-AU</UILanguage>
<SystemLocale>en-AU</SystemLocale>
<InputLocale>en-US</InputLocale>
<UILanguageFallback>en-US</UILanguageFallback>
</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">
<Reseal>
<Mode>OOBE</Mode>
</Reseal>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">
<fDenyTSConnections>false</fDenyTSConnections>
</component>
<component name="Networking-MPSSVC-Svc" 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">
<FirewallGroups>
<FirewallGroup wcm:action="add" wcm:keyValue="Remote Desktop">
<Active>true</Active>
<Group>Remote Desktop</Group>
</FirewallGroup>
<FirewallGroup wcm:action="add" wcm:keyValue="Remote Assistance">
<Group>Remote Assistance</Group>
<Active>true</Active>
</FirewallGroup>
</FirewallGroups>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" 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">
<FeedList>
<FeedItem wcm:action="add">
<FeedURL>http://share.pcanu.com.au/officesystems/_layouts/listfeed.aspx?List={11758C37-467F-463E-8C28-3D2BE9D31B1A}</FeedURL>
<FeedTitle>Office Systems</FeedTitle>
<FeedKey>1</FeedKey>
</FeedItem>
</FeedList>
<BlockPopups>yes</BlockPopups>
<FavoritesDelete>true</FavoritesDelete>
<Home_Page>http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</Home_Page>
<SuggestedSitesEnabled>false</SuggestedSitesEnabled>
<TrustedSites>*.fred.com.au;*.fredhealth.com.au;*.pcanu.com.au;*.nunet.com.au;*.erx.com.au;*.appcat.com.au</TrustedSites>
<CompanyName>Fred Health Pty Ltd</CompanyName>
<QuickLinkList>
<QuickLinkItem wcm:action="add">
<QLID>4</QLID>
<QuickLinkName>Support</QuickLinkName>
<QuickLinkUrl>http://support.pcanu.com.au/</QuickLinkUrl>
</QuickLinkItem>
<QuickLinkItem wcm:action="add">
<QLID>1</QLID>
<QuickLinkUrl>https://mail.pcanu.com.au/</QuickLinkUrl>
<QuickLinkName>Webmail</QuickLinkName>
</QuickLinkItem>
<QuickLinkItem wcm:action="add">
<QLID>2</QLID>
<QuickLinkName>LogMeIn</QuickLinkName>
<QuickLinkUrl>https://secure.logmeinrescue.com/HelpDesk/Login.aspx</QuickLinkUrl>
</QuickLinkItem>
<QuickLinkItem wcm:action="add">
<QLID>3</QLID>
<QuickLinkName>SharePoint</QuickLinkName>
<QuickLinkUrl>http://share.pcanu.com.au/default.aspx</QuickLinkUrl>
</QuickLinkItem>
<QuickLinkItem wcm:action="add">
<QLID>5</QLID>
<QuickLinkName>Win7 Getting Started</QuickLinkName>
<QuickLinkUrl>http://share.pcanu.com.au/Getting%20Started/Getting%20started%20with%20Windows%207.aspx</QuickLinkUrl>
</QuickLinkItem>
</QuickLinkList>
<DisableFirstRunWizard>true</DisableFirstRunWizard>
<DisableOOBAccelerators>true</DisableOOBAccelerators>
<DisableWelcomePage>true</DisableWelcomePage>
</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">
<CopyProfile>true</CopyProfile>
<RegisteredOrganization>Fred Health Pty. Ltd.</RegisteredOrganization>
<RegisteredOwner>Fred Health Pty. Ltd.</RegisteredOwner>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>AUS Eastern Standard Time</TimeZone>
<ProductKey>xxxxxxxxxxxxxxxxxxxxxxxx</ProductKey>
</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>en-US</InputLocale>
<SystemLocale>en-AU</SystemLocale>
<UILanguage>en-AU</UILanguage>
<UserLocale>en-AU</UserLocale>
</component>
<component name="Microsoft-Windows-RemoteAssistance-Exe" 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">
<MaxTicketExpiry>3</MaxTicketExpiry>
<CreateEncryptedOnlyTickets>false</CreateEncryptedOnlyTickets>
<fAllowFullControl>true</fAllowFullControl>
<fAllowToGetHelp>true</fAllowToGetHelp>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-PnpSysprep" 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">
<PersistAllDeviceInstalls>true</PersistAllDeviceInstalls>
<DoNotCleanUpNonPresentDevices>true</DoNotCleanUpNonPresentDevices>
</component>
</settings>
<settings pass="auditSystem">
<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>
<AdministratorPassword>
<Value>QgB1AGQAdwBpAHMAZQByAGkAcwByAHUAYgBiAGkAJABoAEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8A
cgBkAA==</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
</UserAccounts>
</component>
</settings>
<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>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>en-US</InputLocale>
<UILanguage>en-US</UILanguage>
<SystemLocale>en-AU</SystemLocale>
<UserLocale>en-AU</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">
<Diagnostics>
<OptIn>true</OptIn>
</Diagnostics>
<UserData>
<FullName>Fred</FullName>
<Organization>Fred Health Pty. Ltd.</Organization>
<AcceptEula>true</AcceptEula>
</UserData>
<EnableNetwork>true</EnableNetwork>
<UseConfigurationSet>true</UseConfigurationSet>
<LogPath>C:\Log</LogPath>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:d:/aik/windows_7_enterprise_x86/dvd/sources/install.wim#Windows 7 ENTERPRISE" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

Hopefully somebody can help :(

Link to comment
Share on other sites

Ok I found this post by outkast134 last night:

http://www.msfn.org/board/vista-unattended...p;view=findpost

And after having chased my own tail around for nearly a week his solution is VERY simple and works SO EASILY!

My setup now is so easy and my autounattended so small, simple and works well!

Thanks for listening

*crickets and tumble weeds*

Edited by MrEs
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...