Results 1 to 5 of 5

Thread: How to Repair your Windows XP using SFC Command without Windows CD

  1. #1
    coolcool1227's Avatar
    coolcool1227 is offline Advance Member
    Last Online
    4th March 2022 @ 12:29 AM
    Join Date
    23 May 2009
    Location
    Sialkot
    Gender
    Male
    Posts
    2,219
    Threads
    62
    Credits
    1,575
    Thanked
    139

    Default How to Repair your Windows XP using SFC Command without Windows CD

    What is SFC

    Scans and verifies the versions of all protected system files after you restart your computer.

    Syntax

    sfc [/scannow] [/scanonce] [/scanboot] [/revert] [/purgecache] [/cachesize=x]
    Top of page
    Parameters

    /scannow : Scans all protected system files immediately.

    /scanonce : Scans all protected system files once.

    /scanboot : Scans all protected system files every time the computer is restarted.

    /revert : Returns the scan to its default operation.

    /purgecache : Purges the Windows File Protection file cache and scans all protected system files immediately.

    /cachesize=x : Sets the size, in MB, of the Windows File Protection file cache.

    /? : Displays help at the command prompt.


    Procedure

    Usually SFC requires Windows CD from which you installed the Windows. This is how to implement the procedure how to use SFC command without Windows CD, but for this you will need the Windows XP CD for once.

    1. For safe side, make a backup of your registry either by creating a System Restore Point or by use of the freeware application e.g. ERUNT.

    2. Copy the folder \i386\ with all its contents and subfolders Windows XP SP3' CD onto your C: drive e.g. on C:\i386\

    3. Go to

    Start > Run > type RegEdit and hit OK.

    Then navigate to this registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Setup

    In the right-hand panel's "Name" column find the value named SourcePath. The data shown for that value will probably be the drive letter of your CD or DVD drive (e.g. D:\ ).

    In the "Name" column, double-click SourcePath and change the data for that value to 'C: \ ‘ (Without the quotes and DO NOT type in C:\i386\

    Hit OK.

    4. See if there is a folder named C:\WINDOWS\ServicePackFiles\ on your PC. If this folder does not exist, go to step 5. If the folder DOES exist then do this:

    4.1 In your registry editor, navigate to this registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Setup

    4.2 See if there is a value named ServicePackSourcePath in the “Name" column.

    4.3 If there is a ServicePackSourcePath value then:

    Ensure that the data for the value is set to or is changed to ‘C:\WINDOWS\ServicePackFiles' (without the quotes). To change, right-click on the value name, then make the necessary changes.

    Go to step 6

    4.4 If there is NOT a ServicePackSourcePath value then:

    In the right-hand panel then create such a value with its data set to ‘C:\WINDOWS\ServicePackFiles' (without the quotes). To create the value, right-click in the right-hand panel, click New / String value, type in 'ServicePackSourcePath' (without the quotes), hit Enter twice, type in 'C:\WINDOWS\ServicePackFiles' (without the quotes and without a trailing backslash) as the Value data and hit OK. Note: in some cases this does not seem to work and if that happens to you, try changing the data for the value to 'C:\' (Without the quotes).

    Go to step 6.

    5. If the folder C:\WINDOWS\ServicePackFiles\ does not exist, do this:

    5.1 In your registry editor, navigate to this registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Curr entVersion\Setup

    5.2 See if there is a value named ServicePackSourcePath in the “Name" column.

    5.3 If there IS a ServicePackSourcePath value then:

    Ensure that the data for that value is set to or is changed to 'C:\' (Without the quotes). To change, right-click on the value name, then make the necessary changes.

    Go to Step 6

    5.4 If there is not a ServicePackSourcePath value then go to Step 6.

    6. Find this registry key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

    6.1 In the right-hand panel if there is no value named SourcePath then go to step 7.

    6.2 If there is a value named SourcePath then:

    Ensure that the data for the value is set to or is changed to 'C:\' (Without the quotes). To change, right-click on the value name, then make the necessary changes.

    Go to Step 7

    7. Exit your registry editor and reboot the PC.


    Running the SFC Command

    To run SFC after rebooting or at any time in the future:

    Go to

    Start > Run > type sfc /scannow and hit OK

    The SFC utility should now run without requiring inserting any original or updating CD and it will run much faster than it would if it had to access files from a \i386\ folder on a CD.

    When the SFC complete the checking, its window automatically closes and you have to restart your system.

  2. #2
    Haseeb Alamgir's Avatar
    Haseeb Alamgir is offline Super Moderator
    Last Online
    Yesterday @ 08:58 PM
    Join Date
    09 Apr 2009
    Location
    KARACHI&
    Gender
    Male
    Posts
    19,376
    Threads
    419
    Credits
    39,847
    Thanked
    1813

    Default

    Thank you dear , very nice information and tips.

  3. #3
    subhanjaan's Avatar
    subhanjaan is offline Advance Member
    Last Online
    9th March 2022 @ 11:23 PM
    Join Date
    02 Jul 2011
    Location
    karachi
    Gender
    Male
    Posts
    2,002
    Threads
    59
    Credits
    3,027
    Thanked
    102

    Default


  4. #4
    JAGUARS is offline Senior Member+
    Last Online
    8th October 2012 @ 02:10 PM
    Join Date
    28 Apr 2012
    Gender
    Male
    Posts
    73
    Threads
    5
    Credits
    0
    Thanked
    0

    Default

    great

  5. #5
    *KHAN*JEE*'s Avatar
    *KHAN*JEE* is offline Advance Member+
    Last Online
    14th January 2021 @ 05:22 PM
    Join Date
    09 Apr 2009
    Location
    .*'""*JaNNaT*""
    Gender
    Male
    Posts
    23,576
    Threads
    649
    Credits
    91
    Thanked
    1618

    Default

    ..
    Last edited by Afridi; 2nd October 2012 at 01:40 PM.

Similar Threads

  1. Replies: 4
    Last Post: 20th January 2014, 07:56 PM
  2. 25 Key Features Of Windows 7
    By Net-Rider in forum English IT Zone
    Replies: 43
    Last Post: 13th November 2012, 05:17 AM
  3. Expired Windows 8 Professional Edition [Leaked Version]
    By Haider_dude in forum English IT Zone
    Replies: 23
    Last Post: 3rd February 2011, 07:51 AM
  4. XP Repair Pro FUll - Fix 53,000 common Windows Errors
    By Sinbad in forum General Discussion
    Replies: 12
    Last Post: 22nd May 2009, 10:00 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •