Question

can't perform defregmentation

Asked by: aussie_guy_nik

Every time I try to defregment or scandisk, it keeps on geting re-started. Why is this happening?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2002-07-13 at 03:11:51ID20323001
Tags

defregmentation

Topic

Windows 98 Operating System

Participating Experts
9
Points
100
Comments
18

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Scandisk always runs on startup
    On a Dell 486 with win95, the startup procedure always calls scandisk, claiming there are errors on the disk. Scandisk then does a surface scan, finding no errors. The system shuts down properly but always says there are faults on the hard disk at startup, but it finds no fau...
  2. scandisk looping
    I'm sure this question has been answered many times, but after a quick look, I can't find it, so I'm doubtless duplicating, apologies for this. Scandisk is looping and never managing to check the disk, presumably as it is writing to the disk itself & therefore it senses ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: aussie_guy_nikPosted on 2002-07-13 at 03:14:30ID: 7151152

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.

 

by: hewittgPosted on 2002-07-13 at 04:01:17ID: 7151179

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

 

by: hewittgPosted on 2002-07-13 at 05:27:55ID: 7151250

 

by: harrlowPosted on 2002-07-13 at 05:29:17ID: 7151252

sometiems, it's the screensaver. (in case you forget that it's running) or power management facilities

 

by: EricWestboPosted on 2002-07-13 at 07:46:47ID: 7151361

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

 

by: pleasenospamPosted on 2002-07-13 at 08:10:46ID: 7151399

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.

 

by: StormMajikPosted on 2002-07-14 at 04:54:05ID: 7152192

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 :-)

 

by: tituba2Posted on 2002-07-14 at 07:52:14ID: 7152357

Yes, and don't forget to disable the screensaver when running scandisk/defrag

 

by: lagrugaPosted on 2002-07-15 at 10:54:50ID: 7155143

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.

 

by: kandresenPosted on 2002-07-16 at 10:47:18ID: 7157651

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.

 

by: Computer101Posted on 2002-07-16 at 21:13:53ID: 7158627

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.

 

by: aussie_guy_nikPosted on 2002-07-17 at 06:06:33ID: 7159387

i guess it must have been some process then. good comment.

 

by: kandresenPosted on 2002-07-17 at 07:38:07ID: 7159627

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.

 

by: pleasenospamPosted on 2002-07-17 at 08:31:04ID: 7159785

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?

 

by: kandresenPosted on 2002-07-17 at 09:32:44ID: 7159997

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.

 

by: pleasenospamPosted on 2002-07-17 at 10:40:13ID: 7160221

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?

 

by: kandresenPosted on 2002-07-17 at 11:07:38ID: 7160294

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).

 

by: kandresenPosted on 2002-07-17 at 11:08:25ID: 7160297

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).

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...