I've got a small, niggling issue... What happens is when my installation gets up to the FirstLogonCommands they run, however the systems has a blank 'command line' screen, and the installation stops until the user manually CLOSES this window. See the attached pic...
What am i doing wrong?
My first logon commands in my autounattended.xml look like this:
<FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>cmd %systemdrive%\Install\firstlogon.cmd</CommandLine> <RequiresUserInput>true</RequiresUserInput> <Description>SetupUser</Description> </SynchronousCommand> </FirstLogonCommands>
My firstlogon.cmd looks like this:
@echo off start /wait REGEDIT /S %systemdrive%\Install\UserRegTweaks1.Reg start /wait "%PROGRAMFILES%\Internet Explorer\iexplore.exe" %systemdrive%\Install\IESetup.html start /wait REGEDIT /S %systemdrive%\Install\UserRegTweaks2.Reg cmd copy %systemdrive%\Install\Configure_IE.lnk %userprofile%\Desktop\ start /sleep 60 REGEDIT /S %systemdrive%\Install\Install\UserRegTweaks2.Reg exit



Help
Back to top










