smasso
asked on
Defragging in DOS
I am having a problem defragging one of my logical drives in Windows, but when I go to DOS to try--it tells me I must use Windows. Is there a DOS command I can use? Thanks for any help. Sally
Are you booting to Dos or going to the dos prompt from Windows?
Be careful what version of Defrag you use. If you use the old dos one it will chop off the long names if you get it to run.
What you are trying to run now is the Windows base Defrag so it will not run in DOS mode.
If you are trying to run it without nothing else running, the best you can do is to boot into Safe mode and run it from there. To get into Safe Mode press <F8> after the memory post several times until the boot menu appears, then select Safe Mode.
What you are trying to run now is the Windows base Defrag so it will not run in DOS mode.
If you are trying to run it without nothing else running, the best you can do is to boot into Safe mode and run it from there. To get into Safe Mode press <F8> after the memory post several times until the boot menu appears, then select Safe Mode.
Win98 comes with a defrag that runs before any TRS are loaded just goto X:\tools\mtsutil (given X is the CD-ROM drive) and RIGHT CLICK on Defrag.inf & choose install. Then reboot your machine. This only works once so if you want to do it again you need to install the inf again.
Run "scandisk" in windows and run the defrag again in windows and that may work.
Easy way of getting the "dos" version to run...shut off the pc without shuting down, 98 will think there is a problem and run scandisk on boot.
ASKER
Thanks all--I ran in safe mode and it would not defrag, saying it "encountered a problem--do scandisk first and then retry". Did a thorough scan on my D drive(in safe mode)and it said "no bad sectors" and apparently no problems for the scan. So tried the defrag again (in safe) and it stopped again on about 15% saying same encounter of problem. How can this happen to a logical drive? My primary C: drive is OK. I also tried Norton first, and it did the same thing. So shut it down and went this route.
This really puzzles me.
Sally
This really puzzles me.
Sally
Forgot to ask the obvious. What the problem with the defrag
opps, sorry I miss read, though you said scandisk.
ASKER
Adjusted points to 400
ASKER
Ajnin--did what you said with the defrag.inf and came up with same--"enounter a problem--Defrag00205".Thin k I've got an extraordinary problem, so am upping the points. Thanks--Sally
smasso
You may want to reject the proposed answer, alot of experts will not look at or comment on locked questions. If that proposed answer was no help then reject it to open the question back up.
You may want to reject the proposed answer, alot of experts will not look at or comment on locked questions. If that proposed answer was no help then reject it to open the question back up.
ASKER
apparently can't keep it open unless i reject
do a search for applog. then delete the file. apparantly this is a known issue
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Have you tried booting from the norton utilities CD and running the version on the CD ? This may help pinpoint whether it is a hardware or software problem since it is in DOS mode. I hope this helps.
Defrag Error Message: ID No:DEFRAG00205
The information in this article applies to:
Microsoft Windows 98
Microsoft Windows 98 Second Edition
SYMPTOMS
When you run the Disk Defragmenter tool in Windows 98, you may receive the following error message:
Error Defragmenting Drive C
Windows cannot finish defragmenting this drive because it has encountered a
problem. Click Help and carry out the instructions for running Scan Disk, and then
try defragmenting again.
ID No:DEFRAG00205
CAUSE
This issue can occur if the Applog file in the hidden C:\Windows\Applog folder is damaged.
RESOLUTION
To resolve this issue, follow these steps:
1.Right-click an empty area on the desktop, and then click Properties.
2.On the Web tab, click Folder Options.
3.Click Yes.
4.On the View tab under Hidden files, click Show all files, and then click OK.
5.Click Start, point to Find, and then click Files or Folders.
6.In the Named box, type applog, click C: in the Look in box, click to select the Include subfolders
check box, and then click Find Now.
7.Double-click the Applog folder to open it.
8.On the Edit menu, click Select all.
9.On the File menu, click Delete, and then click Yes when you are prompted to confirm the deletion.
Additional query words:
Keywords : kbenv kberrmsg defrag win98 win98se
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: November 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.
The information in this article applies to:
Microsoft Windows 98
Microsoft Windows 98 Second Edition
SYMPTOMS
When you run the Disk Defragmenter tool in Windows 98, you may receive the following error message:
Error Defragmenting Drive C
Windows cannot finish defragmenting this drive because it has encountered a
problem. Click Help and carry out the instructions for running Scan Disk, and then
try defragmenting again.
ID No:DEFRAG00205
CAUSE
This issue can occur if the Applog file in the hidden C:\Windows\Applog folder is damaged.
RESOLUTION
To resolve this issue, follow these steps:
1.Right-click an empty area on the desktop, and then click Properties.
2.On the Web tab, click Folder Options.
3.Click Yes.
4.On the View tab under Hidden files, click Show all files, and then click OK.
5.Click Start, point to Find, and then click Files or Folders.
6.In the Named box, type applog, click C: in the Look in box, click to select the Include subfolders
check box, and then click Find Now.
7.Double-click the Applog folder to open it.
8.On the Edit menu, click Select all.
9.On the File menu, click Delete, and then click Yes when you are prompted to confirm the deletion.
Additional query words:
Keywords : kbenv kberrmsg defrag win98 win98se
Version : WINDOWS:
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: November 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.
Link for the above article.
This should resolve your problem.
Dos defrag does not work in Win98,
and you'll encounter same error in safe mode, as mentioned above.
Ajnin was on the right track. Not a problem if you wish to accept his answers.
Good luck.
http://support.microsoft.com/support/kb/articles/Q238/1/65.ASP
This should resolve your problem.
Dos defrag does not work in Win98,
and you'll encounter same error in safe mode, as mentioned above.
Ajnin was on the right track. Not a problem if you wish to accept his answers.
Good luck.
http://support.microsoft.com/support/kb/articles/Q238/1/65.ASP
If the above doesn't work, this wasn't asked so here goes, How much free space is on the drive?
ASKER
Ajnin was the first one to give the applog answer--but I don't know how to award it to him. Someone please explain
Sally
Sally
Restart the computer, press <CTRL> or <F8> key before win98 logo appears, At the boot menu, go to the command mode.
At the C:\ prompt, type "scandisk /all /autofix /nosave /nosummary /surface" without the quotation mark and press enter. It will scandisk and fix errors and a detail surface scan.
It looks like this: -
C:\>
C:\>scandisk /all /autofix /nosave /nosummary /surface
After finished, it will return to C:\> prompt. The bad sector will be marked out.
Regards,
Bud
http://www.geocities.com/~budallen/
Bud's Win95 Win98 Tips and Troubleshooter
At the C:\ prompt, type "scandisk /all /autofix /nosave /nosummary /surface" without the quotation mark and press enter. It will scandisk and fix errors and a detail surface scan.
It looks like this: -
C:\>
C:\>scandisk /all /autofix /nosave /nosummary /surface
After finished, it will return to C:\> prompt. The bad sector will be marked out.
Regards,
Bud
http://www.geocities.com/~budallen/
Bud's Win95 Win98 Tips and Troubleshooter
If the answer worked for you, just accept his
comment as the correct answer.
Good luck.
comment as the correct answer.
Good luck.
It's only a comment....
ok 2 things to try...
1. in dos mode (enter windows and shut-down in ms-dos mode)
Goto d:\
type regscan
do the regscan
reboot the systeme an try defrag again...
2. Move all your files on an other HD (virtual or not)
Then format d:\
replace your files
do the defrag
If it works fine GREAT
Remember the last comment is ONLY A "WAR" methode for the system
ok 2 things to try...
1. in dos mode (enter windows and shut-down in ms-dos mode)
Goto d:\
type regscan
do the regscan
reboot the systeme an try defrag again...
2. Move all your files on an other HD (virtual or not)
Then format d:\
replace your files
do the defrag
If it works fine GREAT
Remember the last comment is ONLY A "WAR" methode for the system
Have you tried doing a normal scandisk on all your drives? (except the floppy and cdrom) I am not talking about through but standard.
Try making a boot disk (control panel, add/remove programs, startup disk) then restart and type scandisk c: at the a:\> prompt.
Try making a boot disk (control panel, add/remove programs, startup disk) then restart and type scandisk c: at the a:\> prompt.
Do you have warranty left ..I think you hd is damaged..Some REaly bad sectors..Most of disks comes with 3 year warranty.Call your hd vendor..if you have warranty left..
You can see who reads the whole of a questions thread through before they post comments :-)
I thought this problem was resolved.
I thought this problem was resolved.
I readed the first and last one..I have to admit...Didn't see the ...aargh...
there is no defrag in dos because it is a windows only program. I would make sure nothing is running in the background, like a virus scan utility or any other programs that may be running besides what is supposed to running:explorer
rnaapp
systray
then go to scan disk do a normal scan then retry defrag. if none of this works im at a loss.
morbiusX
rnaapp
systray
then go to scan disk do a normal scan then retry defrag. if none of this works im at a loss.
morbiusX
From the comments I have seen from smasso this problem has been resolved by Ajnin. So unless smasso states otherwise :
Ajnin,
Please post your comment on Applog as an answer so we can close this question.
- or -
smasso,
Please accept Ajnin comment as an answer, you have that option.
Ajnin,
Please post your comment on Applog as an answer so we can close this question.
- or -
smasso,
Please accept Ajnin comment as an answer, you have that option.
ASKER
Thanks Ajnin--Worked great! Sally
Did read the comments, must have missed that one...
ASKER
Yes, I did accept Ajnin's answer
Have you tried defrag in safe mode?
Glenn