Much better.
Now what you want to do is save that key first. Basically you have already
done that. You can return the file extension to reg and when you
double-click on that it will set the key back to what you originaaly had.
So here we go.
Everything off the main key is fine. We need to look at the key off it
called BootOptimizeFunction. Let's make it look like this:
value: LcnStartLocation
type: REG_SZ
data: 1190484
value: LcnEndLocation
type: REG_SZ
data: 1273083
value: OptimizeComplete
type: REG_SZ
data: Yes
value: OptimizeError
type: REG_SZ
data: (put a space in here)
Now close regedit and reboot. Go back to that location and make sure you
still have the same values. If not let me know. In the meantime I will
check the Knowledge Base for anything to do with defrag in Windows XP.
If you do have the same values try defrag again. I hope you are trying to
defrag your C drive or some other IDE drive.
http://support.microsoft.com/default.aspx?scid=kb;en-us;314848
http://support.microsoft.com/kb/283080/EN-US/
--
George Hester
_______________________________
worried said:
Not sure if I know how to do this,but here is one try...
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg]
"FreeSpaceErrorLevel"="15"
"PathName"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,0
0,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,00,00
"ResourceDllName"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,
00,\ 6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,\ 00,44,00,66,00,72,00,67,00,52,00,65,00,73,00,2e,00,64,00,6c,00,6c,00,00,00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction]
"Enable"="Y"
"LcnStartLocation"="0"
"LcnEndLocation"="0"
"OptimizeComplete"="No"
"OptimizeError"="Missing Registry Entries"
:
Actually that is not what I need. I can tell it is not the entire location
of the key for you because you are missing a lot of information.
Try to
do
it the way I've asked you. That is you Export that key Drfg to a
reg
file.
You then change the file extention to txt. You have to make sure
you
can
see extensions. That is turned off by default in Microsoft Windows.
Assuming you can change the extension change it to txt. Then you
can
open
the file in Notepad just by double-clicking on it. Then you can
select
all
| Copy | Paste in your response. If you do not do that I really
cannot
go
down this road any longer. Another idea will have to be suggested.
--
George Hester
_______________________________
Sorry, but it should have read this way..
FreeSpaceErrorL...REG_SZ 15
PathName REG_EXPAND_SZ %systemroot%\system32
ResourceDLLName REG_EXPAND_SZ %systemroot%\system32\DfrgRes.dll
:
This is what it says in the defrag key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg
FreeSpaceErrorL...REG_SZ 15
PathName REG_EXPAND_SZ %systemroot%
ResourceDLLName REG_EXPAND_SZ %systemroot%\system32\DfrgRes.dll
Thank you.
:
Maybe. Just export the Drfg key like you have been doing
before
and
paste
the conetents in your reply. There is something not right
with
what
you
have but these values may have been written to the registry
when
the
defrag
operation was invoked and failed.
--
George Hester
_______________________________
I found it under this key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg and then,
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction
and your right it probably has nothing to do with sfc,I just looked
in the
registry to see what was there,and saw the above keys and
whats
in
it ,
and wondered if that was the
reason why my defrag doesn't work. Thank you for all your help.
:
Where exactly does it say this:
OptimizeComplete Reg_SZ NO
OptimizeError Reg_SZ Missing Registry Entries.
using regedit? I need to know the key location. Select
the
key
where
you
see this and right-click say Copy Key Name and paste the result
here.
sfc has no efferct on the registry; s(ystem)f(ile)c(hecker).
--
George Hester
_______________________________
Right on the sfc.exe...
No I put the windows -cd into the drive after the sfc command.
Ok ,I take it I do not need a third party defragger.
Actually I'm not sure if this is the way it should
be,but in
the
registry
under Microsoft-- dfrg it said :
OptimizeComplete Reg_SZ NO
OptimizeError Reg_SZ Missing Registry Entries.
That's why I asked if there could be missing files in the
registry,and
how
do I replace them. If that is possible.
Running the sfc scannow didn't do anything to help..
Thanks you all..
:
Change "to" the directory holding sfc. Don't do
anything
with
sfc.exe.
But
shouldn't be necessary as system32 is in your path.
You have more than enough free space. I really do not
understand
your
sfc
message. But maybe that's right. You had the Windows
XP
in
the
CD-ROM
drive before you did the sfc command?
No do not look into a 3rd party defragger at this
point.
That
will
likely
just compound the issue.
the
way
through,
at one time I think it said all files need to be
copied
to
someplace,
and to retry,yet the scan went through,and after it
was
done
I
tried
the
defrager again,but nothing happened...Oh and btw.
The filesystem is NTFS
Capacity=37.27 GB
Free Space=33.01 GB
% Free Space=90%
Not sure if this is needed,but that's what it
says,you
think
I
should
try
a
good
thirdparty defrager ? But that still wouldn't fix my problem
with
the
one
I
have.
Oh and I do not know how to change the directory
holding
sfc
,and
now
I
wonder
if that may have been a vital part I missed !
:
Win XP SP2 with all updates,and clean machine.
My defrager does not work,there seem to be some
registry
files
missing,
how can this problem be remedied ? (So I think)
Or is it possible that the defrager does not start
because
there
is
not
enough
(90% freespace) to defrag ?
Thanks for any help...
worried<
It should tell you if there's not enough space
left
to
derfag-
I've
seen
the message once on a disk that had 10% free
space.
You
say
you
have
90%
freespace so it's unlikely if that is what you mean.
Also run the system file checker:
Start/Run
Type "cmd" ENTER
Type "sfc /scannow" ENTER
Have Windows XP CD ready in case it's needed.