Jump to content

Autounattend.xml for installing applications post-os install

Recommended Posts


I have to install Windows 2008 R2 using DVD. I can use a USB stick to place Autounattend.xml. I need to install some applications (needs Admin access) post-os install. What are the options do I have?

I found one option that is working quite well.

- Create a password for Administrator

- Use it to Autologon.

- Execute applications as first logon on.

My question is, if possible, I would like to install these applications without having to create Administrator password. Is there any option? I read about SetupComplete.cmd, but looks I cannot use it as I am installing using DVD that I got from Microsoft.

Thanks in advance.

Link to comment
Share on other sites

  • 1 month later...


How do I get the post install commands into setupcomplete.cmd? If I create a setupcomplete.cmd on USB drive and put all these commands into it, how do I get the file to %windir%? Is it possible to copy this file from USB to %windir% directory in some other phase?

Thanks again.

Link to comment
Share on other sites

To find paths, you can use things similar to this:

I don't use the particular method you are for doing app installs (I don't use DVDs) but you can set up Distribution Share which can copy files from one place to the OS drive.

Link to comment
Share on other sites

I just mount my particular install.wim and drop all the installation files in same folder as setupcomplete.cmd.

@echo off

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Applicaties & Updates" /F

REG ADD %KEY%\1/VE /D "Register-instellingen" /f

REG ADD %KEY%\1 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\RegisterSettings.exe" /f

REG ADD %KEY%\2/VE /D "DirectX Redist April 2011" /f

REG ADD %KEY%\2 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\DirectX9.29.1974April2011.exe" /f

REG ADD %KEY%\3/VE /D "MSE v2.0.657.0" /f

REG ADD %KEY%\3 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\MSE-2.0.657.0-NL-Win7-X64.exe" /f

REG ADD %KEY%\4/VE /D "Windows 7 Instellingen" /f

REG ADD %KEY%\4 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\Install.CMD" /f

REG ADD %KEY%\5/VE /D "Windows 7 Gadgets" /f

REG ADD %KEY%\5 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\Gadgets.exe" /f

REG ADD %KEY%\6/VE /D "WinRAR v4.00" /f

REG ADD %KEY%\6 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\WinRAR_4.00_Final.exe" /f

REG ADD %KEY%\7/VE /D "7Zip v9.22" /f

REG ADD %KEY%\7 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\7z922-x64.exe" /f

REG ADD %KEY%\8/VE /D "Java v1.6.0.25" /f


REG ADD %KEY%\9/VE /D "VLC v1.1.9" /f

REG ADD %KEY%\9 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\vlcmp119_silent.exe" /f

REG ADD %KEY%\10/VE /D "Adobe Plug-Ins" /f

REG ADD %KEY%\10 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\flashshock.exe" /f

REG ADD %KEY%\11/VE /D "Adobe Reader X" /f

REG ADD %KEY%\11 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\AcroRdrX_NL.exe" /f


Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...