Would this work as well if I put it the hard drive back into the previous comp and do this?
Working on PC Tech service i found a Compaq with Vista Preinstalled PC that shows the “Code Purple” Error.
The Solution that worked fine is the following:
1.- Do a complete recovery using recovery partition or the Recovery DVD’s/CD’s
2.- At the first restart after copy process is done, use a MiniPe CD or enter a BootCD to Load Dos or some Environment with ntfs Support, and some app to edit textfiles.
3.- Get into C:\hp\bin\CheckDMI folder
4.- Open CheckDMI.cmd File with a textfile editing app
5.- Look for this Commented Green Lineslines:
if ERRORLEVEL 1 goto mismatch
goto cleanup
This code is the end of DMI Compare routine, if DMIdata is not correct then tou get purple code error, triggering “mismatch” routine; if data is correct, then trigger “cleanup” routine that is needed to avoid purple Code error Code
REM ——————————————————————
REM Found discrepancy in the DMI. Notify the user with the localize
REM message via lg.ini, then shut down the system immediately.
REM ——————————————————————
:mismatch
echo – Mismatched DMI – >c:\hp\support\CodePurple.log
echo DMI from Master UUT: >>c:\hp\support\CodePurple.log
type DMIinfo.ini >>c:\hp\support\CodePurple.log
echo ———————————————- >>c:\hp\support\CodePurple.log
echo DMI from This UUT: >>c:\hp\support\CodePurple.log
type DMIofUUT.ini >>c:\hp\support\CodePurple.log
echo ———————————————- >>c:\hp\support\CodePurple.log
del DMIinfo.ini DMIofUUT.ini
start /w c:\hp\bin\MsgAction.exe “%title%: %message%”
shutdown.exe /s /t 0
goto end
REM —————————————————————–
REM Found all matching DMI flags. Clean up before exiting.
REM —————————————————————–
:cleanup
cd..
if exist c:\hp\support\CodePurple.log del c:\hp\support\CodePurple.log /q
if exist c:\hp\bin\CheckDMI rd c:\hp\bin\CheckDMI /s /q
6.- Solution is cheating code and invoking Cleanup even if DMI is not correct.
if ERRORLEVEL 1 goto cleanup
goto cleanup
7.- Save and reboot.
The code in CheckDMI.cmd file is commented from hp/compact, and is insteresting cause u can get new forms to avoid Purple Code using this information.
I found this on
http://www.billoblog.com/billoblog/?p=152#comments