what does the error Defrag004 stands for.??

While defragmenting a error occurs which is called "error ID:- defrag004"
can anyone help what is it supposed to mean.....i tried my best to run scandisk in dos as well as windows but it was no good it keept coming again and again......i also closed all my TSR before i was defragmenting my disk...the only thing which was running was explorer...which i cant close.. :o)
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Patricia Siu-Lai HoCommented:

Before defragmentation, you have to take several preparation works (see the precautions listed below).
Afterwards, you may try to defrag either at safe mode or at the command mode.


1)  Clean all internet cache file, *.tmp files.
    Method :
    At control panal, internet options, General Tab, Temporary Internet Files,
    Click into [Delete Files] , it will clear all internet cache files.

2)  Do scandisk /fix.
    Method :
    At Start - Programs - Accessories - System Tools - ScanDisk, at drive letter,
    checked the box, [x] Automatically fix errors. Click [Start] to perform.

    Or go to the Command mode,
    at c:\ prompt type " scandisk /all /Autofix " without quotation.
    It will clear all *.tmp errors.

3)  Disable the screen-saver and/or any suspend mode in power management (turn the power scheme "always on" at the control panal-power management properties).

4)  Excessive disk activity by other programs can interfere with defragmentation, and may cause Disk Defragmenter to restart frequently and take an inordinate amount of time to complete. If this happens, close all programs while Disk Defragmenter is running.  eg. (antivirus protection programs - Norton, Mcafee, pc-cillin), turn off firewall type program (@guard 3.2).

5)  If you use CTRL-ALT-DEL to close all programs , while finding a program like "Wucrtupd"- is the WindowsUpdate notification.

    This resided program being opened has influenced the scandisk and defragmentation.

    One way is to open the task scheduler and stop the function of WindowsUpdate Notification before scandisk/defragmentation.

    If you think you do not need this, try to go to the Add/remove programs in control panel, Uninstall it.

    Or you can go to the WindowsUpdate site to download the most advanced version of WindowsUpdate notification version 3.0 . Then new patch will correct this.

Then carry out defragmentation in win98 normal mode as usual proper procedure....

-- OR --    

Boot the pc to safe mode, Use <CTRL-ALT-DEL> to end most of the tasks except the explorer and systray. Then do defragementation.

-- OR --


C:\Defrag <ENTER>    This command controls Windows 98 Disk Defragmenter.

Try to organise the free spaces of your harddisks by the scandisk as stated as above to eliminate defragmentation process calculating your free spaces wrongly.

ankkyAuthor Commented:
thankyou pslh,
  i have tried what all you had told me to do a long time back..but i am sorry to say it was of no use.......and i am basicly trying to find out what the error id : defrag004 stands for......because i thik it is basically a hardware problem...that's why i want to know what does it stands for.......
anyway thanx a ton for your effort......
Patricia Siu-Lai HoCommented:
ankky, defrag004 is related to Free spaces calculation wrongly by the defragmentation program when a system is in Fat32.  

Thus, go to clean up all your temp files as stated above.

Go to the command mode, do scandisk/fix.  This will amend your free space record and fix all those crosslinked files. This is very common in FAT32 win98.

After that, do the defrag in the command mode.

Absolutely will be solved.

Try again and let me know!     pslh

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Patricia Siu-Lai HoCommented:
ankky, in command mode, you can try to run defrag by using following switches.

C:\Defrag /F       Defragment files and free space.


C:\Defrag /U       Defragment files only.

See if any improvement.        pslh
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.