Solved

can't perform defregmentation

Posted on 2002-07-13
18
331 Views
Last Modified: 2013-12-28
Every time I try to defregment or scandisk, it keeps on geting re-started. Why is this happening?
0
Comment
Question by:aussie_guy_nik
  • 5
  • 3
  • 2
  • +7
18 Comments
 

Author Comment

by:aussie_guy_nik
Comment Utility
by the way, there are no other programs while scandisk or defrag is running, unless there is some background process which I am unaware of.
0
 
LVL 15

Accepted Solution

by:
hewittg earned 100 total points
Comment Utility
aussie,
Have you tried running this in safe mode?  If it completes, it is a process that is running in the backround.  Hit ctrl alt del and close everything but explorer and systray to run it

Glenn
0
 
LVL 15

Expert Comment

by:hewittg
Comment Utility
0
 
LVL 1

Expert Comment

by:harrlow
Comment Utility
sometiems, it's the screensaver. (in case you forget that it's running) or power management facilities
0
 
LVL 4

Expert Comment

by:EricWestbo
Comment Utility
Aussie...
  This can occur if another app is writing to your drive while your are running your system tool (scandisk or defratg).  Can be an antivirus app or even an app in your Quick Launch toolbar.
  For more info on this & directions to work around the issue, check out http://support.microsoft.com/default.aspx?scid=kb;EN-US;q222469 from TechNet.

Hope this helps

/ew
0
 
LVL 3

Expert Comment

by:pleasenospam
Comment Utility
The advice above is on target, but here are a few extra comments...

If you have lots of trash on your system, the defrag operation will be forced to
deal with that.  That can slow things down.  Here is what I use daily to get rid of trash:

http://home.ntelos.net/~write/purgeall.txt

It works from real DOS, not DOS prompt.  Before leaving the batch program with EXIT,
it is a good idea to run SCANDISK or NDD from the command line.  NDD will be the DOS
version of Norton Disk Doctor.

Back in Windows, I have found that Norton Disk Doctor will run fine in normal mode, but
if it finds a problem it may not be able to correct it in normal mode.  So, if it is
needed, run it from Safe mode.  However, I have yet to have a problem running Norton
Speed Disk from normal mode.  Apparently Norton is aware of any potential file conflicts
and either allows for them or does not defrag those files.

Note that Norton Disk Doctor is equivalent to SCANDISK and Norton Speed Disk is like DEFRAG.
0
 
LVL 3

Expert Comment

by:StormMajik
Comment Utility
The most common cause for this is anti-virus software, but any program that is in regular contact with the hard disk ( and causing minor alterations ) can cause this.

Do not forget to look to DOS ( your AUTOEXEC.BAT ) as this is where some anti-virus etc will run from, causing the scandisk problem.

click Start->Run and type MSCONFIG and press enter, goto the last tab 'Startup' and clear any tick boxes that you may think will cause the problem ( you can always go back and turn them back on later ) as a rule stay away from anything that runs from C:\WINDOWS... These items maybe needed to run Windows. Doing this may improve system performance in any case. A very useful tool.

You can also run scandisk in safemode, its as if you have loaded nothing at Windows startup, but it is really slow as only basic harddisk drivers are loaded.

Storm :-)
0
 
LVL 4

Expert Comment

by:tituba2
Comment Utility
Yes, and don't forget to disable the screensaver when running scandisk/defrag
0
 

Expert Comment

by:lagruga
Comment Utility
I have the same issue on my PC and the only way to Defrag is to:
- hit ctrl+alt+del
- close everything but explorer and systray to run it  - as mentioned before on hewittg's first comment. If you have done all that then it is definetly something on the background.

0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Expert Comment

by:kandresen
Comment Utility
The reason this is happening is in most cases that the system is writing to the swap-file.
For Windows 95/98 I normally suggest setting up two partitions and put the swap partition on a the partition mostly holding permanently stored information.
0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
For reasons staed below, proposed answer rejected

Computer101
E-E Moderator


Comments
Comments are intended to be used as a collaboration tool. Many Experts choose to post their solutions as comments only.

Answers
An answer is a specific solution to a question and should be submitted if it will solve the questioner's problem and doesn't duplicate a previous comment.

Comment Vs. Answer
If you are unsure of your solution, post it as a comment. Members can accept comments as solutions and award you Expert Points for them.

For more tips on comments and answers, click here.

0
 

Author Comment

by:aussie_guy_nik
Comment Utility
i guess it must have been some process then. good comment.
0
 

Expert Comment

by:kandresen
Comment Utility
Ok, I guess I posted it wrong as an Answer, but in my experience this is the reason that account for more than  90% of the restarts of the defragmenter in Windows 9x, when no other applications are visibly running.

The question was aimed toward knowing what is the cause of the problem, so I am positive it is the actual answer.
0
 
LVL 3

Expert Comment

by:pleasenospam
Comment Utility
But, you didn't answer the question "WHY is it writing so much to the Swap File that
it interferes with defragmentation?"  I submit to you that MY comment is correct in that
I suggested that BEFORE you try to defrag the hard drive you FIRST get rid of all the
garbage.  The garbage on a computer hard drive comes from temporary files that come from
Internet download activity and from various editing processes by the user.  These
temporary files are BADLY fragmented.  So why does anyone want to defrag trash?
0
 

Expert Comment

by:kandresen
Comment Utility
It is good to get rid of the garbage before defragmenting, however, the garbage you are talking about is not running in memory and should be fragmented with no more problems than the ordinary files. Garbage should therefore be irrelevant for the question.
0
 
LVL 3

Expert Comment

by:pleasenospam
Comment Utility
Downloads go to temporary files on the hard drive.  Residuals from edits you do
go to temporary files on the hard drive.  Lots of other stuff from Windows activity
goes to temporary files on the hard drive.  All of this STUFF is badly fragmented
and is defragmented like everything else on the hard drive if you allow it to stay.

Surely, you are not saying that you can read a 10,000 page book in no more time than
a short personal letter?
0
 

Expert Comment

by:kandresen
Comment Utility
Pleasenospam: I do agree with you quite a bit.
The temporary files have a tentency to get very fragmented, and deletion of these files would speed up the defragmentation process a lot.
However, it does not explain why the process restarts.

hewittg was correct because it is a process running in background that screw up.

When Windows show no running applications, the lions share of all system writes is due to the swap file.

You have a lot of ways to prevent this problem, you can run in safe mode, get enough RAM to disable the SWAP file all together, another option is to move the SWAP file away from the partition being defragmented (something I repetively have done with very good results). It is also clearly possible to use more efficient programs than the one coming with Win 9x, Norton is several times faster than the default fragmenter.

However, all these are just simply solutions to the problem, not answers for why it happens.

So lets respect hewittg for giving the correct answer which is processes running in background (that writes to disc).
0
 

Expert Comment

by:kandresen
Comment Utility
Pleasenospam: I do agree with you quite a bit.
The temporary files have a tentency to get very fragmented, and deletion of these files would speed up the defragmentation process a lot.
However, it does not explain why the process restarts.

hewittg was correct because it is a process running in background that screw up.

When Windows show no running applications, the lions share of all system writes is due to the swap file.

You have a lot of ways to prevent this problem, you can run in safe mode, get enough RAM to disable the SWAP file all together, another option is to move the SWAP file away from the partition being defragmented (something I repetively have done with very good results). It is also clearly possible to use more efficient programs than the one coming with Win 9x, Norton is several times faster than the default fragmenter.

However, all these are just simply solutions to the problem, not answers for why it happens.

So lets respect hewittg for giving the correct answer which is processes running in background (that writes to disc).
0

Featured Post

Want to promote your upcoming event?

Attending an event? Speaking at a conference? Or exhibiting at a tradeshow? Easily inform your contacts by using a promotional banner in your email signature. This will ensure your organization’s most important contacts are in the know.

Join & Write a Comment

If you Lost your Administrator password for Windows XP, Vista, or 7 this CD will help you reset the password to blank so you can log in. Once in you should change that blank password to something!! Download the ISO on this page http://www.spl…
Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now