Hi all Strange thins hapening when trying to run this cmd file... Code: @echo off CLS TITLE Admin Installation for Windows 7 - build 09.06.2012 echo. echo Getting Installation Files Ready... echo Done! echo. echo Getting Ready Malicious software removal tool echo Installing Malicious Software Removal Tool... start /wait windows-kb890830-v4.8.exe /q echo Done! echo. echo Getting Ready Misc apps echo Installing Silverlight... start /wait Silverlight.exe /q echo Done! echo. echo Getting Ready Defender Definitions echo Installing Windows Defender Definition updates... start /wait mpas-fe.exe /Q echo Done! echo. echo Getting Ready NET Framework 4 echo Installing .NET 4 Framework Client and Extended packages... start /wait dotNetFx40_Full_x86_x64_SlimSetup.exe /y echo Done! echo. echo Getting Ready Internet Explorer Teakes echo Applying Internet Explorer Registry Tweaks... start /w regedit /s IE_Tweaks.reg >nul echo Done! echo. echo Getting Ready Windows Update echo Installing Windows Updates... SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION FOR /R "%~dp0" %%A IN (*.MSU) DO ( ECHO= Installing %%~nA >NUL TIMEOUT /t 3 WUSA "%%A" /quiet /norestart) echo Done! ECHO Press any key to restart any ideas, also happens when running under virtual pc too... SORTED NOW IT WAS A CORRUPT FILE....
It always is. If you ever see Program too big to fit in memory these days, it's a corrupt file. Specifically, the MS-DOS header of the file is corrupt, and Windows' file loader can't figure out that it's a PE (Portable Executable - the format Windows uses for EXEs, DLLs, etc). So it tries to load it as a DOS program... and all hell breaks loose.