Jump to content

Windows 8 automated - couple issues installing apps


Recommended Posts

I've used custom widows image CD's for several years now (XP and 7), I prefer them at work vs using prebuilt images for each model.

I've done this for Win8/8.1 as well, but have a couple of questions. I'll describe what I did and then whats not working:

 

-Started with Win 8.1 Pro ISO file

-added $OEM$\$1 folder and subfolders to the image for all the apps I want to install and any drivers needed

-Added autounattend.xml to the root of the ISO

 

My autounattend is attached.

 

Basically what I'm doing is:

-Installing Win8.1 pro using a placeholder key

-Installing several apps (office, java, adobe reader, and more) using the runsynchronous command during the oobe pass

-creating a user called "admin" with password and making it part of administrator group

-setting admin to autologin twice

-I have UAC disabled in autounattend

-I set the "ConsentPromptBehaviorAdmin" to 0 in registry using one of the runsynchronous commands above

-Script file extracts the OEM Win8/8.1 key from the BIOS and activates Windows with it.

-Drivers copy over to local disk during install and are installed

 

This is all mostly working, with a couple of issues:

 

-A few apps, like Java, Adobe Reader, and Chrome, prompt for permission to run, which is annoying. It's not an elevation request, but just permission to run. How can I prevent this?

-I exported "program defaults" from another machine which has all the horrid Metro apps bypassed for most uses. I import this file and it says successful but the users defaults don't update to take these settings

-Drivers aren't installing. They do copy to the hard drive, but nothing installs. I'm assuming it is recursive, but am I wrong? I've added this to 3 different passes as I don't know which is right. I've also added that driver path to the registry, and if i right click a device in device manager after install that is missing driver and hit update, it does find the driver in that path. So it's just not looking there during install.

 

Any thoughts?

 

EDIT - my attached failed with an SQL error, so posting code here:

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="specialize">        <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">            <OEMInformation>                <Manufacturer>myORG</Manufacturer>                <SupportHours>8-5</SupportHours>                <SupportPhone>x1234</SupportPhone>                <SupportURL>helpdesk@myorg.org</SupportURL>            </OEMInformation>            <ComputerName>*</ComputerName>            <RegisteredOrganization>myOrg</RegisteredOrganization>            <RegisteredOwner>myORG - IT</RegisteredOwner>            <TimeZone>Eastern Standard Time</TimeZone>        </component>    </settings>    <settings pass="windowsPE">        <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>en-US</UILanguage>            </SetupUILanguage>            <InputLocale>en-US</InputLocale>            <SystemLocale>en-US</SystemLocale>            <UILanguage>en-US</UILanguage>            <UserLocale>en-US</UserLocale>        </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">            <UserData>                <ProductKey>                    <WillShowUI>OnError</WillShowUI>                    <Key>REMOVED</Key>                </ProductKey>                <AcceptEula>true</AcceptEula>            </UserData>        </component>        <component name="Microsoft-Windows-PnpCustomizationsWinPE" 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">            <DriverPaths>                <PathAndCredentials wcm:keyValue="14aa9a2e" wcm:action="add">                    <Path>%SYSTEMDRIVE%\AppInstall\Drivers</Path>                </PathAndCredentials>            </DriverPaths>        </component>    </settings>    <settings pass="oobeSystem">        <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">            <AutoLogon>                <Password>                    <Value>REMOVED=</Value>                    <PlainText>false</PlainText>                </Password>                <Enabled>true</Enabled>                <LogonCount>2</LogonCount>                <Username>Admin</Username>            </AutoLogon>            <UserAccounts>                <LocalAccounts>                    <LocalAccount wcm:action="add">                        <Password>                            <Value>REMOVED=</Value>                            <PlainText>false</PlainText>                        </Password>                        <Description>Admin</Description>                        <DisplayName>Admin</DisplayName>                        <Group>Administrators</Group>                        <Name>Admin</Name>                    </LocalAccount>                </LocalAccounts>                <AdministratorPassword>                    <Value>REMOVED=</Value>                    <PlainText>false</PlainText>                </AdministratorPassword>            </UserAccounts>            <OOBE>                <HideEULAPage>true</HideEULAPage>                <HideLocalAccountScreen>true</HideLocalAccountScreen>                <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>                <HideOnlineAccountScreens>true</HideOnlineAccountScreens>                <HideWirelessSetupInOOBE>true</HideWirelessSetupInOOBE>                <NetworkLocation>Work</NetworkLocation>                <ProtectYourPC>1</ProtectYourPC>            </OOBE>            <RegisteredOwner>myORG - IT</RegisteredOwner>            <TimeZone>Eastern Standard Time</TimeZone>            <RegisteredOrganization>myORG</RegisteredOrganization>            <FirstLogonCommands>                <SynchronousCommand wcm:action="add">                    <Description>7ZIP</Description>                    <Order>2</Order>                    <CommandLine>msiexec -I %SYSTEMDRIVE%\Appinstall\7zip\7z920-x64.msi /q INSTALLDIR="%ProgramFiles%\7-Zip"</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>DefaultApps</Description>                    <Order>13</Order>                    <CommandLine>Dism /Online /Import-DefaultAppAssociations:%SYSTEMDRIVE%\Appinstall\Misc\DefaultAppAssociations.xml</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>DefaultApps</Description>                    <Order>14</Order>                    <CommandLine>%SYSTEMDRIVE%\AppInstall\Win8.1\ActivateOemWin8.bat</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>Office</Description>                    <Order>12</Order>                    <CommandLine>"%SYSTEMDRIVE%\Appinstall\Office\Setup.exe"</CommandLine>                    <RequiresUserInput>true</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>Icons</Description>                    <Order>11</Order>                    <CommandLine>Copy %SYSTEMDRIVE%\Appinstall\Misc\Icons\*.* "%systemdrive%\Users\Public\Desktop\"</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>RegFixes</Description>                    <Order>1</Order>                    <CommandLine>reg import %SYSTEMDRIVE%\Appinstall\Misc\RegFixes.reg</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>Shoretel</Description>                    <Order>9</Order>                    <CommandLine>%SYSTEMDRIVE%\Appinstall\Shoretel\ShoretelCommunicator14-2\ShoretelCommunicator14-2.exe /S /v"/qn REBOOT=reallysuppress"</CommandLine>                    <RequiresUserInput>true</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>.Net 3.5</Description>                    <Order>8</Order>                    <CommandLine>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:%SYSTEMDRIVE%\Appinstall\sxs /NoRestart</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>VLC</Description>                    <Order>7</Order>                    <CommandLine>%SYSTEMDRIVE%\Appinstall\VLC\vlc-2.0.1-win32.exe /L=1033 /S</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>ESET</Description>                    <Order>6</Order>                    <CommandLine>%SYSTEMDRIVE%\Appinstall\ESET\ESET-Win64.exe /quiet REBOOT="ReallySuppress"</CommandLine>                    <RequiresUserInput>true</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>Chrome</Description>                    <Order>5</Order>                    <CommandLine>%SYSTEMDRIVE%\Appinstall\Chrome\ChromeStandaloneSetup.exe /silent /install</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>Java</Description>                    <Order>4</Order>                    <CommandLine>%SYSTEMDRIVE%\Appinstall\Java\jre-7u67-windows-i586.exe /s /v "/qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1"</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Description>InfraRecorder</Description>                    <Order>3</Order>                    <CommandLine>msiexec -I %SYSTEMDRIVE%\Appinstall\Infra\ir053_x64.msi /quiet /qn</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>                <SynchronousCommand wcm:action="add">                    <Order>10</Order>                    <Description>Adobe Reader</Description>                    <CommandLine>%SYSTEMDRIVE%\Appinstall\AdobeReader\AdbeRdr11008_en_US.exe /sAll /msi /norestart ALLUSERS=1 EULA_ACCEPT=YES</CommandLine>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>            </FirstLogonCommands>        </component>    </settings>    <settings pass="offlineServicing">        <component name="Microsoft-Windows-LUA-Settings" 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">            <EnableLUA>false</EnableLUA>        </component>        <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">            <DriverPaths>                <PathAndCredentials wcm:action="add" wcm:keyValue="778">                    <Path>%SYSTEMDRIVE%\AppInstall\Drivers</Path>                </PathAndCredentials>            </DriverPaths>        </component>    </settings>    <settings pass="auditSystem">        <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" 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">            <DriverPaths>                <PathAndCredentials wcm:action="add" wcm:keyValue="777">                    <Path>%SYSTEMDRIVE%\AppInstall\Drivers</Path>                </PathAndCredentials>            </DriverPaths>        </component>    </settings>    <cpi:offlineImage cpi:source="wim:c:/unattended/windows8prox64/sources/install.wim#Windows 8 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
Edited by GreenEnvy
Link to comment
Share on other sites


1. Install your apps from a batch file (postinstall.cmd) listed in your autounattend with the silent switch for each one, that way there will be no prompt.
   ie:  AdobeXL silent that I use is "%~dp0\apps\AdobeReaderXL\setup.exe" /sAll /re /OWNERSHIP_STATE=1 /msi UPDATE_MODE=0 DISABLE_CACHE=1

 

2. For your drivers just use the built in utility PnPutil.exe to install all your drivers from the inf files.

@echo off&color a && Title, [ MULTI PnP INF INSTALLER - ~DosProbie ]::============================================+:: Put all Pnf, Infs, Cat, Sys files etc. together in same directory!:: Run Batch From Current Directory cd %~dp0:: Scan and Echo .inf files during installfor /f "delims=" %%a in ('dir/b *.inf') do (echo == Installing PnP Drivers == "%%a":: Install Delayping -n 4 localhost 1>nul:: Windows Plug & Play Installerstart "" %~dp0pnputil -i -a %%a)clsecho. * DONE *
Edited by DosProbie
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...

Hi GreenEvny,

 

First of all, thanks for posting such a great post, which somewhat helped me in my Windows 8.1 unattended installation. Though, I'm little bit confused over some parameters inside your unattended xm file regarding Apps installation from the network share.

 

At the bottom of your unattended xml file, you have the following:

 

<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.micro...nfig/2002/State" xmlns:xsi="http://www.w3.org/20...Schema-instance">
            <DriverPaths>
                <PathAndCredentials wcm:action="add" wcm:keyValue="3345678">
                    <Credentials>
                        <Domain>MyCompany</Domain>
                        <Password>banana</Password>
                        <Username>pxeuser</Username>
                    </Credentials>
                    <Path>\\10.2.0.30\Apps\Drivers</Path>
                </PathAndCredentials>
            </DriverPaths>
        </component>

 

What I'm confused about is the path? It's pointing to your server and then up to the drivers folder where I believe your have "InstallWin8apps.bat". Then in your Setupcomplete.cmd, you added the following:

 

net use z: \\srv-updates\apps /user:mycompany\pxeuser bannana
z:\InstallWin8apps.bat

 

My question is why your network drive is not mapped up to \\srv-updates\Apps\Drivers as opposed to net use z:\\srv-updates\apps due to the reason that you mentioned this in your path "<Path>\\10.2.0.30\Apps\Drivers</Path>". Isn't your mapped folder on the network suppose to be same as you mentioned in the Path location?

 

I've got a same setup as yours and I need to have my client pulled the apps from the network share during unattended installation like you did, but I'm confused about all that. Could you please shed some light on this particular settings in details for me to implement it. Just so you know, I myself was using Synchronouscommands settings one by one in my unattended file to execute the apps from the server which makes it little bit disorganized. I like the way you did, but please explain me little so I can understand these things before implementing myself.

 

Hope to hear from you.

 

Thanks

Link to comment
Share on other sites

Hi bito,

The section in the XML is there to try and inject drivers into the installation (NIC, video card, fingerprint reader, etc..).

Setupcomplete is calling InstallWin8Apps.bat, which in turn is installing apps.

 

My directory structure on the shared folder is something like this:

 

\\server\apps:

[office]

[chrome]

[firefox]

[Drivers]

[Adobe]

InstallWin8Apps.bat

 

So Drivers is a subfolder of the apps share.

I could reference Z:\drivers in the installwin8apps.bat if needed, since it's in that same location.

 

I never did get the drivers to work using the XML settings, which is why I wrote the script for finding unknown devices and adding drivers, and run it from the installwin8apps 

Link to comment
Share on other sites

Hi GreenEnvy,

 

Thanks for clarifying. Could u clarify further on something I didn't get in your xml?

 

Wouldn't u suppose to map your apps batch file by using some command paramets in your unattend XML file? How would XML file pull apps from the shared folder unless u mention it in XML?

 

Also, can you  share complete unattend XML file here so I can take a look to see if I could change anything in mine?

 

Thanks

Link to comment
Share on other sites

Hi,

 

I ran into an error when my script "SetupComplete.cmd" failed to run from network share right before the fist login. Script is on my WDS server. Attached is my error message during unattend install. Can someone please take a look at my unattend XML file and see why it didn't execute it?

<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend">    <settings pass="specialize">        <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">            <ComputerName>WIN-8-DEPL</ComputerName>            <ProductKey>MHF9N-XY6XB-WVXMC-BTDCT-MKKG7</ProductKey>            <RegisteredOrganization>Microsoft</RegisteredOrganization>            <RegisteredOwner>Microsoft</RegisteredOwner>            <ShowWindowsLive>false</ShowWindowsLive>            <TimeZone>eastern standard time</TimeZone>            <CopyProfile>true</CopyProfile>            <BluetoothTaskbarIconEnabled>false</BluetoothTaskbarIconEnabled>        </component>        <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>                    <Path>net user administrator /active:no</Path>                    <Description>Enabling Built in Administrator Account</Description>                    <WillReboot>Never</WillReboot>                </RunSynchronousCommand>                <RunSynchronousCommand wcm:action="add">                    <Description>DisableNetworkLocationPrompt</Description>                    <Order>2</Order>                    <Path>REG ADD "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\FirstNetwork" /v Category /t REG_DWORD /d 00000000 /f</Path>                    <WillReboot>Never</WillReboot>                </RunSynchronousCommand>                <RunSynchronousCommand wcm:action="add">                    <Path>REG ADD HKLM\System\CurrentControlSet\Services\Tcpip6\parameters /v DisabledComponents /t REG_DWORD /d 0xFF /f</Path>                    <Order>3</Order>                    <Description>Diasbling IPV6</Description>                    <WillReboot>Never</WillReboot>                </RunSynchronousCommand>                <RunSynchronousCommand wcm:action="add">                    <Credentials>                        <Domain>Mikasa.local</Domain>                        <Password>Ghtwhts2015</Password>                        <Username>Administrator</Username>                    </Credentials>                    <Path>\\WDS-DEP-SERV\E\Distribution\Drivers\setup64.exe /s /v "/qn REBOOT=ReallySuppress" /l C:\Windows\Temp\vmware_tools_install.log</Path>                    <Order>4</Order>                    <Description>Vmware Tools Installation</Description>                    <WillReboot>Always</WillReboot>                </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">            <DisableAccelerators>true</DisableAccelerators>            <DisableFirstRunWizard>true</DisableFirstRunWizard>            <Home_Page>www.marca.com</Home_Page>            <BlockPopups>yes</BlockPopups>        </component>        <component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">            <fDenyTSConnections>false</fDenyTSConnections>        </component>        <component name="Networking-MPSSVC-Svc" 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">            <FirewallGroups>                <FirewallGroup wcm:action="add" wcm:keyValue="Remote Desktop">                    <Active>true</Active>                    <Group>Remote Desktop</Group>                    <Profile>all</Profile>                </FirewallGroup>            </FirewallGroups>        </component>        <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" 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">            <UserAuthentication>0</UserAuthentication>            <SecurityLayer>1</SecurityLayer>        </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>    </settings>    <settings pass="oobeSystem">        <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">            <AutoLogon>                <Password>                    <Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>                    <PlainText>false</PlainText>                </Password>                <Enabled>true</Enabled>                <LogonCount>10</LogonCount>                <Username>DarkKnight</Username>                <Domain></Domain>            </AutoLogon>            <OOBE>                <HideEULAPage>true</HideEULAPage>                <NetworkLocation>Home</NetworkLocation>                <ProtectYourPC>1</ProtectYourPC>                <HideOEMRegistrationScreen>true</HideOEMRegistrationScreen>                <HideWirelessSetupInOOBE>false</HideWirelessSetupInOOBE>            </OOBE>            <UserAccounts>                <AdministratorPassword>                    <Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AEEAZABtAGkAbgBpAHMAdAByAGEAdABvAHIAUABhAHMAcwB3AG8AcgBkAA==</Value>                    <PlainText>false</PlainText>                </AdministratorPassword>                <LocalAccounts>                    <LocalAccount wcm:action="add">                        <Password>                            <Value>RwBoAHQAdwBoAHQAcwAyADAAMQA2AFAAYQBzAHMAdwBvAHIAZAA=</Value>                            <PlainText>false</PlainText>                        </Password>                        <Description>Admin User Account</Description>                        <DisplayName>DarkKnight</DisplayName>                        <Group>Administrators</Group>                        <Name>DarkKnight</Name>                    </LocalAccount>                </LocalAccounts>            </UserAccounts>            <RegisteredOrganization>Mikasa</RegisteredOrganization>            <RegisteredOwner>Mikasa</RegisteredOwner>            <ShowWindowsLive>false</ShowWindowsLive>            <TimeZone>eastern standard time</TimeZone>            <FirstLogonCommands>                <SynchronousCommand wcm:action="add">                    <CommandLine>cmd /C start /wait E:\RemoteInstall\Images\Windows8\install\$OEM$\$$\Setup\Scripts\SetupComplete.cmd</CommandLine>                    <Description>Various Apps Installation</Description>                    <Order>1</Order>                    <RequiresUserInput>false</RequiresUserInput>                </SynchronousCommand>            </FirstLogonCommands>        </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>en-US</InputLocale>            <SystemLocale>en-US</SystemLocale>            <UILanguage>en-US</UILanguage>            <UserLocale>en-US</UserLocale>            <UILanguageFallback></UILanguageFallback>        </component>    </settings>    <settings pass="generalize">        <component name="Microsoft-Windows-Security-SPP" 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">            <SkipRearm>1</SkipRearm>        </component>    </settings>    <settings pass="offlineServicing">        <component name="Microsoft-Windows-LUA-Settings" 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">            <EnableLUA>false</EnableLUA>        </component>    </settings>    <cpi:offlineImage cpi:source="wim:e:/windows-os-images/win8.1x86ent-wimfiles/install.wim#Windows 8.1 Enterprise" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>

post-398153-0-78718200-1412399355_thumb.

Link to comment
Share on other sites

Hi GreenEnvy,

 

Can you please help me out? I followed the same procedure as you have to have the apps installed during the unattended install. The only thing I did is added a FirstLogonCommands under OOBE pass and point the path to my network share where setupcompletec.cmd and Apps.batch script is located.

 

I tried this and it threw up error message as you can above. Then I changed the commandline from "cmd /C start /wait E:\RemoteInstall\Images\Windows8\install\$OEM$\$$\Setup\Scripts\SetupComplete.cmd" to this \\WDS-DEP-SERV\E\RemoteInstall\Images\Windows8\install\$OEM$\$$\Setup\Scripts\SetupComplete.cmd but it didn't not even run.

 

Do I have to pass any command parameters anywhere inside my unattend XML file, so the client can pull the script and run it from the network share during unattend install. I'm really having a hard time with this. Could you please shed some light? How do you have it in your unattend xml file?

 

Hope to hear from you soon!

 

 

<FirstLogonCommands>

  <SynchronousCommand wcm:action="add">

<CommandLine>cmd /C start /wait E:\RemoteInstall\Images\Windows8\install\$OEM$\$$\Setup\Scripts\SetupComplete.cmd</CommandLine>

<Description>Various Apps Installation</Description>

<Order>1</Order> <

RequiresUserInput>false</RequiresUserInput>

</SynchronousCommand>

</FirstLogonCommands

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