Trying to use sfc /scannow to replace corrupt windows files but can't find my OEM

Discussion in 'Windows XP / Older OS' started by drummin, Feb 4, 2013.

  1. drummin

    drummin MDL Novice

    Feb 4, 2013
    7
    0
    0
    Hi guys and gals - I built a this computer a while back but still need it to run certain audio software in my home studio that will only work with WinXP. Lately the OS has been giving me problems so I tried to use sfc /scannow to check for corrupted Windows files but the problem is I can't find the WinXP home edition OEM disk I bought from a computer store when I built this machine. What is currently on this computer is Windows XP home edition version 2002 service pack 3 (76477-OWEM-0060001-07324) and the motherboard is a GigaByte GA-700N Pro2.
    My question is which version of WinXp should I download to use with this system that will workm properly and allow files to be replaced with sfc /scannow? Thanks.
     
  2. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,552
    15,345
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. drummin

    drummin MDL Novice

    Feb 4, 2013
    7
    0
    0
    Thanks for your reply Tito. I am only using my XP machine for some audio plug ins that are no longer available (company out of business and they are 32bit) but I really like the job they do for my recordings so WinXP home is probably good enough for what I need but I will consider upgrading to WinXP Pro down the road if I can repair this current OS. Which torrent software would you suggest is best and the least chance to cause further corruption. Also - do I just burn the IOS file to disk and use that?
     
  4. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,707
    3,065
    300
    #4 urie, Feb 4, 2013
    Last edited by a moderator: Apr 20, 2017
    @ drummin, you bought Xp home and you are using OEM:NONE SLP key first thing you need to do is get your serial number off your working machine if you do not have the cd with reference to your serial number. copy text below and save it as key.vbs
    Code:
    '/-> Varibles 
     Dim Act, Dtop, Fso, KeyXP, Sif, strXPKey, Ts, VBS
    '/-> Objects
      Set Act = CreateObject("WScript.Shell")
      Set Fso = CreateObject("Scripting.FileSystemObject")
    '/-> Varibles As Objects
       strXPKey = Act.RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProductName")
       KeyXP = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DigitalProductId"
       Dtop = Act.SpecialFolders("Desktop")
       Sif = Dtop & "\ProductKey.txt"
       VBS =  Act.ExpandEnvironmentStrings("%Systemdrive%\Key_Sif.vbs")
    '/-> Get The Key 
       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
    '/-> Make The Sif With Ket Added
       Function MakeTheSif()
        Set Ts = Fso.CreateTextFile(Sif)
         Ts.WriteLine  Space(4) & "ProductKey=" & GetKey(Act.RegRead(KeyXP)) & vbCrLf
         Ts.Close 
          Act.Run("notepad.exe " & Sif)
       End Function
    '/-> Deletes the VBS File
       Function Cleanup()
        If Fso.FileExists(VBS) Then Fso.DeleteFile(VBS) End If 
       End Function 
    '/-> Start The Script Functions
       MakeTheSif : Cleanup
    run it and save your serial number to a safe place :) you may also try running OEMBIOS tool (v1.1) you may have gigabyte slp 1.0 string in DMI area :) then we can go from there.
     
  5. drummin

    drummin MDL Novice

    Feb 4, 2013
    7
    0
    0
    Hi urie - you lost me here - how do I save it as key.vbs? And how do I run it - from within a CMD prompt?
     
  6. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,552
    15,345
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. drummin

    drummin MDL Novice

    Feb 4, 2013
    7
    0
    0
    Thanks Tito - I now have the Prod. Key so now what? I still need some advice on which torrent client to use and whether or not I just burn the downloaded ISO to disk or?
     
  8. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,552
    15,345
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,707
    3,065
    300
    try searching for
    P.S. better to search for MD5: 0F707417150C0AEE4E91C9919D86B4A7 or SHA1: 7F395B9EC84CFFCC43C855BF89AB91EF3BFAD612 iso files can be renamed but file hashes are true :)
     
  10. drummin

    drummin MDL Novice

    Feb 4, 2013
    7
    0
    0
    thanks for the info - I will download from pirate bay and scan it with several virus scanners and then burn it and give it a try.
     
  11. drummin

    drummin MDL Novice

    Feb 4, 2013
    7
    0
    0
    Well I burned the DVD of WinXP home edition and tried sfc /scannow again and I still get - "the Cd you provided is the wrong CD" Please insert the Windows XP Home edition CD-ROM into your CD-ROM drive. Maybe it's looking for the OEM version not the retail edition?
     
  12. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,552
    15,345
    340
    #12 Tito, Feb 5, 2013
    Last edited by a moderator: Apr 20, 2017
    Small solution ;)

    Copy the contents of the ISO to a folder e.g Desktop\XP. Then open i386\setupp.ini & change it like the following:
    Code:
    [Pid]
    ExtraData=786F687170637175716954806365EF
    Pid=76477OEM
    
    Now save it. Next time point the SFC scanner to this folder path.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. drummin

    drummin MDL Novice

    Feb 4, 2013
    7
    0
    0
    OK Tito I'll give that a try but how exactly do I point SFC scanner to this folder path? - (I know there's a way to change something in the registry to point to whatever) or do I change the path in the command prompt? If I am scanning C: drive for corrupt files how do I get the SFC scanner to go to the desktop folder and not the optical drive for the correct files?
     
  14. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,552
    15,345
    340
    #14 Tito, Feb 6, 2013
    Last edited: Feb 6, 2013
    Go to Run and type in "regedit.exe" (without the quotes) and press enter.

    Naviagte to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup

    Look in the right hand pane and double click on the entry that says "SourcePath".

    Modify the value with the path of your extracted folder like "D:\XPSP3" (without the quotes).

    :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. urie

    urie Moderator
    Staff Member

    May 21, 2007
    8,707
    3,065
    300
    #15 urie, Feb 6, 2013
    Last edited by a moderator: Apr 20, 2017
    no need to edit the setupp.ini if drummin downloaded the one above.
     
  16. Mugsy

    Mugsy MDL Novice

    Aug 11, 2013
    1
    0
    0
    I know this is probably long-resolved by now, but I just had the same problem and the above information did not help. Here's what worked for me:

    Open Regedit and find the key Tito refers to above: "...\CurrentVersion\Setup". My "SourcePath" was already set to the root of my CDrom, but if yours isn't, change it (ex: "E:\").

    Search your PC for "Fp40ext.inf" and "Ims.inf". Update any references to "\i386" to include your root (ex: ; 34000 = "\i386" or "\") and delete any paths that don't apply to your CD.

    Then follow the (imprecise, but you can figure it out) directions found here on changing the Security Policy of your CD-ROM drive: support . microsoft . com/kb/263499
    (Be sure to save your changes when done or you can't go back and verify them later. Reload the change file after rebooting to verify.)

    Reboot.

    You should be able to run SFC now. (Sadly for me, it didn't fix my problem.) Good luck.