PDA

View Full Version : SFC /scannow


SmallBusGuy
March 21st 05, 01:15 PM
Does anyone know if when you run "SFC /scannow", whether it will replace a
corrrupt "kernal32.dll" file in the \windows\system32 directory? I have some
start-up restart issues and suspect that this file may be corrupt, and I
can't get the control consel to work with my Raid 1 system for some reason.
So, will SFC do it?
Thanks

Will Denny
March 21st 05, 01:21 PM
Hi

Have you seen any error messages regarding the kernel32.dll file?

sfc /scannow

will check system files to make sure that they are not corrupt and also that
the correct version is installed. If sfc finds any problems it will replace
the appropriate file(s).

--

Will Denny
MS-MVP Windows Shell/User
Please reply to the News Groups.


"SmallBusGuy" > wrote in message
...
> Does anyone know if when you run "SFC /scannow", whether it will replace a
> corrrupt "kernal32.dll" file in the \windows\system32 directory? I have
> some
> start-up restart issues and suspect that this file may be corrupt, and I
> can't get the control consel to work with my Raid 1 system for some
> reason.
> So, will SFC do it?
> Thanks

steve
March 21st 05, 01:23 PM
see this page all will become clear
http://support.microsoft.com/default.aspx?scid=kb;en-us;310747

good luck

"SmallBusGuy" wrote:

> Does anyone know if when you run "SFC /scannow", whether it will replace a
> corrrupt "kernal32.dll" file in the \windows\system32 directory? I have some
> start-up restart issues and suspect that this file may be corrupt, and I
> can't get the control consel to work with my Raid 1 system for some reason.
> So, will SFC do it?
> Thanks

SmallBusGuy
March 21st 05, 01:31 PM
Thanks for the info. No, I haven't actually seen an error referring to the
file, but I've read in one of the microsoft databases that a corrupt
kernel32.dll file could cause my random system re-starts during start-up.
Any other ideas? Thanks!

"Will Denny" wrote:

> Hi
>
> Have you seen any error messages regarding the kernel32.dll file?
>
> sfc /scannow
>
> will check system files to make sure that they are not corrupt and also that
> the correct version is installed. If sfc finds any problems it will replace
> the appropriate file(s).
>
> --
>
> Will Denny
> MS-MVP Windows Shell/User
> Please reply to the News Groups.
>
>
> "SmallBusGuy" > wrote in message
> ...
> > Does anyone know if when you run "SFC /scannow", whether it will replace a
> > corrrupt "kernal32.dll" file in the \windows\system32 directory? I have
> > some
> > start-up restart issues and suspect that this file may be corrupt, and I
> > can't get the control consel to work with my Raid 1 system for some
> > reason.
> > So, will SFC do it?
> > Thanks
>
>
>

SmallBusGuy
March 21st 05, 01:31 PM
Thanks for the info Steve. I'll take a look at it right now.

"steve" wrote:

> see this page all will become clear
> http://support.microsoft.com/default.aspx?scid=kb;en-us;310747
>
> good luck
>
> "SmallBusGuy" wrote:
>
> > Does anyone know if when you run "SFC /scannow", whether it will replace a
> > corrrupt "kernal32.dll" file in the \windows\system32 directory? I have some
> > start-up restart issues and suspect that this file may be corrupt, and I
> > can't get the control consel to work with my Raid 1 system for some reason.
> > So, will SFC do it?
> > Thanks

Wesley Vogel
March 21st 05, 01:36 PM
[]

[[/Scannow: Scans all protected system files immediately and replaces
incorrect versions with correct Microsoft versions.]]

Description of Windows XP and Windows Server 2003 System File Checker
(Sfc.exe)
http://support.microsoft.com/?kbid=310747

[[The second protection mechanism that is provided by the WFP feature is the
System File Checker (Sfc.exe) tool. At the end of GUI-mode Setup, the System
File Checker tool scans all the protected files to make sure that they are
not modified by programs that were installed by using an unattended
installation. The System File Checker tool also checks all the catalog files
that are used to track correct file versions. If any of the catalog files
are missing or damaged, WFP renames the affected catalog file and retrieves
a cached version of that file from the cache folder. If a cached copy of the
catalog file is not available in the cache folder, the WFP feature requests
the appropriate media to retrieve a new copy of the catalog file.]]

Description of the Windows File Protection Feature
http://support.microsoft.com/default.aspx?scid=kb;en-us;222193

What SFC does not do is register the replaced files.

You use the Regsvr32 tool (Regsvr32.exe) to register and unregister object
linking and embedding (OLE) controls such as dynamic-link library (DLL) or
ActiveX Controls (OCX) files that are self-registerable. Regsvr32 registers
..dll files as command components in the registry.

So you may need to register kernal32.dll after replacement.

To register kernal32.dll...

Start | Run | Type or paste this in the box:

regsvr32 kernal32.dll

Hit your Enter key.

You should see a message telling if it registered or not.
-----

You can also accomplish file replacement by dragging kernal32.dll from
windows\system32 to the desktop. kernal32.dll will be replaced immediately
from windows\System32\Dllcache. Look in the Event Viewer to see.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In ,
SmallBusGuy > hunted and pecked:[i]
> Does anyone know if when you run "SFC /scannow", whether it will
> replace a corrrupt "kernal32.dll" file in the \windows\system32
> directory? I have some start-up restart issues and suspect that this
> file may be corrupt, and I can't get the control consel to work with
> my Raid 1 system for some reason. So, will SFC do it?
> Thanks

SmallBusGuy
March 21st 05, 02:05 PM
Thanks for the new information. I will try this and post a reply to let
everyone know. Thanks again.

"Wesley Vogel" wrote:

> []
>
> [[/Scannow: Scans all protected system files immediately and replaces
> incorrect versions with correct Microsoft versions.]]
>
> Description of Windows XP and Windows Server 2003 System File Checker
> (Sfc.exe)
> http://support.microsoft.com/?kbid=310747
>
> [[The second protection mechanism that is provided by the WFP feature is the
> System File Checker (Sfc.exe) tool. At the end of GUI-mode Setup, the System
> File Checker tool scans all the protected files to make sure that they are
> not modified by programs that were installed by using an unattended
> installation. The System File Checker tool also checks all the catalog files
> that are used to track correct file versions. If any of the catalog files
> are missing or damaged, WFP renames the affected catalog file and retrieves
> a cached version of that file from the cache folder. If a cached copy of the
> catalog file is not available in the cache folder, the WFP feature requests
> the appropriate media to retrieve a new copy of the catalog file.]]
>
> Description of the Windows File Protection Feature
> http://support.microsoft.com/default.aspx?scid=kb;en-us;222193
>
> What SFC does not do is register the replaced files.
>
> You use the Regsvr32 tool (Regsvr32.exe) to register and unregister object
> linking and embedding (OLE) controls such as dynamic-link library (DLL) or
> ActiveX Controls (OCX) files that are self-registerable. Regsvr32 registers
> ..dll files as command components in the registry.
>
> So you may need to register kernal32.dll after replacement.
>
> To register kernal32.dll...
>
> Start | Run | Type or paste this in the box:
>
> regsvr32 kernal32.dll
>
> Hit your Enter key.
>
> You should see a message telling if it registered or not.
> -----
>
> You can also accomplish file replacement by dragging kernal32.dll from
> windows\system32 to the desktop. kernal32.dll will be replaced immediately
> from windows\System32\Dllcache. Look in the Event Viewer to see.
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In ,
> SmallBusGuy > hunted and pecked:[i]
> > Does anyone know if when you run "SFC /scannow", whether it will
> > replace a corrrupt "kernal32.dll" file in the \windows\system32
> > directory? I have some start-up restart issues and suspect that this
> > file may be corrupt, and I can't get the control consel to work with
> > my Raid 1 system for some reason. So, will SFC do it?
> > Thanks
>
>

Google