Extracting files from recovery partition

Discussion in 'Windows XP / Older OS' started by Waywyrd, Dec 18, 2011.

  1. Waywyrd

    Waywyrd MDL Novice

    Nov 6, 2011
    3
    0
    0
    Hi,

    Firstly if there is an answer to this question on the forum my apologies because I couldn't find it with the search option.

    Now the question is: can you 'extract' the files from a HP tower, circa 2005/6 recovery partition. I'd like to get 'Window' and the drivers 'out'. I've 'Googled' with no success so far. My gripe with the recovery partition is that it adds/installs unwanted software and it take longer than installing WinXP from scratch. The XP version is MCE edition.

    Regards,

    Waywyrd.
     
  2. ambidav

    ambidav MDL Guru

    May 14, 2008
    2,431
    5,510
    90
    Can you view the contents of recovery partition by showing hidden files and folders in folder options?
     
  3. stayboogy

    stayboogy MDL Addicted

    May 1, 2011
    709
    115
    30
    there's no need to do what you are wanting to do.

    just make your own OEM XP copy for your machine

    and windows update will find most of the correct drivers. and if not, all you have to do is go to HP's website and find your machine and you can download all the drivers you need straight from there...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,354
    631
    60
    #4 NICK@NUMBER11, Dec 19, 2011
    Last edited by a moderator: Apr 20, 2017
    Had the same issue with hp pavilion pc,s so this is what i did, ran this bat file obtain the files for activation = copy this code into notepad and save as getfiles.bat

    Code:
    attrib -s %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT
    makecab %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT
    attrib +s %SystemRoot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\OEMBIOS.CAT
    makecab %SystemRoot%\system32\OEMBIOS.BIN
    makecab %SystemRoot%\system32\OEMBIOS.DAT
    makecab %SystemRoot%\system32\OEMBIOS.SIG
    cscript //nologo getkey.vbs > winnt.sif
    
    pause
    then to get the key, copy this into notepad a save as getkey.vbs

    Code:
    Dim objFS, objShell
    Dim strXPKey
    
    Set objShell = CreateObject("WScript.Shell")
    
    strXPKey = objShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName")
    If Len(strXPKey) > 0 Then
      WScript.Echo "[UserData]"
      WScript.Echo "ProductKey=" & chr(34) & GetKey(objShell.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId")) & chr(34)
      WScript.Echo "[Data]"
      WScript.Echo "MSDosInitiated=0"
      WScript.Echo "UnattendedInstall=Yes"
    End If
    
    Function GetKey(rpk)
      Const rpkOffset=52:i=28
      szPossibleChars="BCDFGHJKMPQRTVWXY2346789"
      Do
        dwAccumulator=0 : j=14
        Do
          dwAccumulator=dwAccumulator*256
          dwAccumulator=rpk(j+rpkOffset)+dwAccumulator
          rpk(j+rpkOffset)=(dwAccumulator\24) and 255
          dwAccumulator=dwAccumulator Mod 24
          j=j-1
        Loop While j>=0
        i=i-1 : szProductKey=mid(szPossibleChars,dwAccumulator+1,1)&szProductKey
        if (((29-i) Mod 6)=0) and (i<>-1) then
          i=i-1 : szProductKey="-"&szProductKey
        End If
      Loop While i>=0
      GetKey=szProductKey
    End Function
    
    then copy these files obtained into your installation cd (you can get a copy within this forum)
    http://forums.mydigitallife.net/thr...untouched-Win-XP-MCE-2005?p=164403#post164403 and then see making oem xp installation

    go to HP webside and get the chipset, display ect drivers , dont reply on windows update to find them for you.
     
  5. Waywyrd

    Waywyrd MDL Novice

    Nov 6, 2011
    3
    0
    0
    Hi,

    Thanks guys for the help and advice. I've got a Hirem bootdisk which I've used before on the PC in question, so I'm going to see what format the files are in. And copy them if it's viable to extract them that way. I'm also going to have a go at making the OEM XP cd. It might be a few days before I get this done but I'll try and remember to let you guys know how I get on.

    Once again thanks for your advice.

    Waywyrd.
     
  6. 38956

    38956 MDL Member

    Jun 7, 2010
    128
    131
    10
    #6 38956, Dec 19, 2011
    Last edited by a moderator: Apr 20, 2017
    You don't need two scripts when you can use just one see OEMBIOS-winntsif.vbs

    or you can use OEMBIOS-Backup