jaclaz:
Yes, the Recovery partition was there before using PM and HP tool. Thanks for the Link.
DigeratiPrime, on Mar 28 2009, 12:52 PM, said:
I would be helpful to see the contents of HPRM-BCDFix.cmd, just open it with notepad and paste the contents here .
There is also a GetKeyboardLayout.exe.LOG file that would help, there appear to be other logs but not as relevant.
It sounds like you have an entry in BCD called "HP Recovery Manager" which you might be able to access by holding F8 as Windows is about to boot through the <B>Advanced Boot Options</B> menu.
The F11 option was probably removed from the MBR.
HPRM-BCDFix.cmd code:
@ECHO OFF</P> <P>REM 14/08/2008 - REV7 - Removed call of SetWinReLanguage.exe (same EXE as GetKeyboardLayout.exe)
REM 07/08/2008 - REV6 - Change path for GetKeyboardLayout.exe
REM 23/05/2007 - REV5 - Add language detection to WinRE during OOBE by running C:\Windows\Sminst\SetWinReLanguage.exe which will set the Language value in RP:\Master.log
REM 14/05/2007 - REV4 - Add keyboard locale detection by running C:\Windows\Sminst\GetKeyboardLayout.exe which will store the keyboard LCID in RP:\Master.log
REM 29/09/2006 - REV3 - Ramdisk option 'ramdisksdidevice' now points to the BOOT.SDI in WinRE:\Boot folder. No need for this file in the Vista partition anymore.
REM 28/09/2006 - REV2 - Improved logging, different WINLOAD.EXE location and changed /STORE for ramdisk options.
REM 27/09/2006 - REV1 - Initial version.</P> <P>
REM -----------------------------------------------------------------------------
REM Start the LOG file
REM -----------------------------------------------------------------------------
SET LOG=HPRM_BCD_FIX.LOG
ECHO. %DATE%-%TIME%-[%~nx0]: START>> %LOG%
ECHO. >> %LOG%</P> <P> </P> <P>REM -----------------------------------------------------------------------------
REM Determining if we have a SoftThinks Recovery Partition.
REM -----------------------------------------------------------------------------
ECHO Determining if we have a SoftThinks Recovery Partition ... >> %LOG%
ECHO Determining if we have a SoftThinks Recovery Partition ...
ECHO. >> %LOG%
ECHO.
FOR %%a IN ( C D E F G H I J K L M N O P Q R S T U V W X Y Z ) DO (
IF EXIST %%a:\SOURCES\RP IF EXIST %%a:\MASTER.LOG (
ECHO %%a: Contains SOURCES\RP and MASTER.LOG, will assume this is the WinRE ... >> %LOG%
ECHO %%a: Contains SOURCES\RP and MASTER.LOG, will assume this is the WinRE ...
ECHO. >> %LOG%
ECHO.
SET WINRE_VOLUME=%%a
GOTO ADD_AUTOFAILOVER_ENTRIES</P> <P> )
)
)
IF "%WINRE_VOLUME%"=="" GOTO END
REM -----------------------------------------------------------------------------</P> <P> </P> <P>:ADD_AUTOFAILOVER_ENTRIES
REM -----------------------------------------------------------------------------
REM Set the WINRE boot configuration
REM -----------------------------------------------------------------------------
ECHO Set the WINRE boot configuration ... >> %LOG%
ECHO Set the WINRE boot configuration ...
ECHO. >> %LOG%
ECHO.</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /CREATE {ramdiskoptions} /d "RAM Disk Settings" >> %LOG
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /CREATE {ramdiskoptions} /d "RAM Disk Settings" >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {ramdiskoptions} ramdisksdidevice partition=%WINRE_VOLUME%: >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {ramdiskoptions} ramdisksdidevice partition=%WINRE_VOLUME%: >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {ramdiskoptions} ramdisksdipath \boot\boot.sdi >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {ramdiskoptions} ramdisksdipath \boot\boot.sdi >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /CREATE {572bcd55-ffa7-11d9-aae2-0007e994107d} -d "HP Recovery Manager" /application OSLOADER >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /CREATE {572bcd55-ffa7-11d9-aae2-0007e994107d} -d "HP Recovery Manager" /application OSLOADER >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} device ramdisk=[%WINRE_VOLUME%:]\sources\boot.wim,{ramdiskoptions} >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} device ramdisk=[%WINRE_VOLUME%:]\sources\boot.wim,{ramdiskoptions} >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} path \windows\system32\boot\winload.exe >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} path \windows\system32\boot\winload.exe >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} osdevice ramdisk=[%WINRE_VOLUME%:]\sources\boot.wim,{ramdiskoptions} >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} osdevice ramdisk=[%WINRE_VOLUME%:]\sources\boot.wim,{ramdiskoptions} >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} systemroot \windows >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} systemroot \windows >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} detecthal yes >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} detecthal yes >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} nx optin >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} nx optin >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} winpe yes >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} winpe yes >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} custom:46000010 yes >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /SET {572bcd55-ffa7-11d9-aae2-0007e994107d} custom:46000010 yes >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /set {default} recoverysequence {572bcd55-ffa7-11d9-aae2-0007e994107d} >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /set {default} recoverysequence {572bcd55-ffa7-11d9-aae2-0007e994107d} >> %LOG%
ECHO. >> %LOG%</P> <P>ECHO BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /set {default} recoveryenabled yes >> %LOG%
BCDEDIT.EXE /STORE %SystemDrive%\BOOT\BCD /set {default} recoveryenabled yes >> %LOG%
ECHO. >> %LOG%
REM -----------------------------------------------------------------------------</P> <P> </P> <P>REM -----------------------------------------------------------------------------
REM Get the keyboard locale and Set the language detected during OOBE
REM -----------------------------------------------------------------------------
ECHO Get the keyboard locale ... >> %LOG%
ECHO Get the keyboard locale ...
ECHO. >> %LOG%
ECHO.</P> <P>ECHO GetKeyboardLayout.exe >> %LOG%
ECHO GetKeyboardLayout.exe
GetKeyboardLayout.exe</P> <P>ECHO GetKeyboardLayout.exe returned %ERRORLEVEL% >> %LOG%
ECHO GetKeyboardLayout.exe returned %ERRORLEVEL%</P> <P>ECHO. >> %LOG%
REM -----------------------------------------------------------------------------</P> <P> </P> <P>GOTO END</P> <P> </P> <P>:END</P> <P>ECHO. >> %LOG%
ECHO. %DATE%-%TIME%-[%~nx0]: END >> %LOG%
The GetKeyboardLayout.exe.LOG file is empty!!!!
There are other files that might be useful. I'll list the contents of some and attach the others in a doc file :
BI.LOG:
Path of BaseImg.dll : C:\Program Files\SMINST\BaseImg.dll
Version of STODD.DLL : 1.0.0.10
Entering FindISOPartitionRP SearchEntering IsISOPartition
Testing Drive C:\
End of IsISOPartion : 0Entering IsISOPartition
Testing Drive D:\
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0Entering IsISOPartition
End of IsISOPartion : 0RP not found. Trying to mount it.
Error Execute : 3
End of FindRP : 0
SetWinREL.LOG:
GetKeyboardLayout.EXE - 1, 0, 91, 3 - Compiled on Aug 18 2008 10:49:35 - Executed on Mar 28 2009 07:21:34
CDisk::GetDiskNumber : ENTER CDisk::GetDiskNumber(LPCTSTR pszDrive=C:\))
CDisk::GetDiskNumber : CreateFile succeeded on
\\.\C:
CDisk::GetDiskNumber : dwRetVal after IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS: 0
CDisk::GetDiskNumber : RETURNED 0
CDisk::OpenDiskInformation : ENTER CDisk::OpenDiskInformation() - m_dwDisk=0
CDisk::OpenDiskInformation : Free volume found: Z:\
CDisk::OpenDiskInformation : Mount partition 1 on Disk 0 as Z:\
CDisk::OpenDiskInformation : RETURNED
\\?\Volume{6105b98d-fea9-11dd-844d-806e6f6e6963}\
Free volume found: Z:\
Mount partition 2 on Disk 0 as Z:\
RETURNED
\\?\Volume{6105b98e-fea9-11dd-844d-806e6f6e6963}\
RETURNED 1
CDisk::CloseDiskInformation : ENTER CDisk::CloseDiskInformation()
CDisk::CloseDiskInformation : EXIT
CDisk::CloseDiskInformation : ENTER CDisk::CloseDiskInformation()
CDisk::CloseDiskInformation : EXIT
No recovery partition detected...
RP is .\
Active Keyboard layout code is 00000409
Current language is English
Put in .\Master.log
Wimfltr 32
CGen::CreateDir: Directory created
CGen::CreateDir: Directory created
CGen::DelDir : ENTER CGen::DelDir(CString strDir=C:\Program Files\SMINST\Tmp_Mount)
CGen::DelFiles : ENTER CGen::DelFiles(CString strDir=C:\Program Files\SMINST\Tmp_Mount)
CGen::DelFiles : EXIT
CGen::DelDir : EXIT
CGen::DelDir : ENTER CGen::DelDir(CString strDir=C:\Program Files\SMINST\Temp_ST)
CGen::DelFiles : ENTER CGen::DelFiles(CString strDir=C:\Program Files\SMINST\Temp_ST)
CGen::DelFiles : EXIT
CGen::DelDir : EXIT
-> 28/03/2009 - 07:21:39
In INSTALL_APP.exe.LOG there is aline that says :
void CSmInstApp::GetAppDrvDirectory : ERROR : No D:\I386\ or D:\HP\ found
: The data area passed to a system call is too small.
!!!!!!!!!!!!!!!!!!!!!!!!
The F8 idea is briliant ,I don't know why didn't I think about it before. When the advanced boot option page opened I choosed "Repair your computer", then "recovery manager".This opened the same recovery manager window that used to open in the WINDOWS OS. The error message didn't show up...(but it still shows up in the OS).What does all of this mean??
Recovery.doc (185.5K)
Number of downloads: 45
This post has been edited by ahmad2080: 28 March 2009 - 03:26 PM