MajorGeeks Support Forums

Go Back   MajorGeeks Support Forums > ----------= PC, Desktop and Laptop Support =---------- > Software
Register FAQ Members List Calendar Casino Mark Forums Read

Software Software such as operating systems like Windows XP, Windows Vista, Windows 7 etc., or specific programs.


Reply
 
Thread Tools Display Modes
  #1  
Old 02-17-06, 20:58
J8son's Avatar
J8son J8son is offline
Corporal
 
Join Date: Apr 2005
Posts: 241
Thanks: 18
Thanked 2 Times in 2 Posts
Default The Connection To The Defragmenter Engine Has Been Lost

I'm having an issue with Windows XP disk defragmenter. It will analyze the hard drive and at the 1% mark (during the Compacting Files stage) I get the following error message:

"The Connection to the defragmenter engine has been lost. Restart defragmentation."

I've run Disk Dr that is included with Norton System Works and it didn't find any errors.

I've also tried running the following commands in the command prompt but to no avail:

regsvr32 dfrgsnap.dll
regsvr32 dfrgui.dll


The last thing I tired was browsing to the windows\inf folder, right clicked on the dfrg.inf file and clicked install.

So far, nothing works. Any thoughts?
Reply With Quote
Sponsored links
  #2  
Old 02-17-06, 21:29
Matacumbie's Avatar
Matacumbie Matacumbie is offline
Rocky Top
 
Join Date: Aug 2002
Location: Tennessee
Posts: 5,020
Thanks: 0
Thanked 16 Times in 16 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

Try safe mode. If it completes the defrag, restart and try again in normal mode.

Steve
__________________
PLEASE DO NOT PM ME WITH QUESTIONS REGARDING MARRIAGE RELATED ISSUES

Momma always said "be good".......but she's been wrong before.
Reply With Quote
  #3  
Old 02-18-06, 16:45
J8son's Avatar
J8son J8son is offline
Corporal
 
Join Date: Apr 2005
Posts: 241
Thanks: 18
Thanked 2 Times in 2 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

Quote:
Originally Posted by Matacumbie
Try safe mode. If it completes the defrag, restart and try again in normal mode.

Steve
Well, what we have here is a good news, bad news situation.

The good news is I ran defrag in safe mode and everything went off like a charm!

The bad news is when I reboot and run the defrag in normal operating mode I get the same "Connection to the defragmenter engine has been lost" error.

What should I try next?
Reply With Quote
  #4  
Old 02-18-06, 16:56
Wavetar's Avatar
Wavetar Wavetar is offline
Sergeant
 
Join Date: Sep 2004
Location: Canada
Posts: 491
Thanks: 0
Thanked 1 Time in 1 Post
Default Re: The Connection To The Defragmenter Engine Has Been Lost

I honestly wouldn't worry about it...most people actually recommend running utilities like defrag & disk checking in safe mode due to the fact many different programs/drivers can interfere with it in normal mode. XP isn't so bad, but it used to be practically a fact of life with Win 95/98.
Reply With Quote
  #5  
Old 02-18-06, 17:01
Adrynalyne's Avatar
Adrynalyne Adrynalyne is offline
Super Moderator
 
Join Date: Jan 2002
Location: On the Internet
Posts: 19,008
Thanks: 505
Thanked 1,091 Times in 735 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

I wouldn't ignore it.

Run chkdsk /f on the drive from a cmd prompt, and reboot to run it (it will ask to schedule it for next boot).
Reply With Quote
Sponsored links
  #6  
Old 02-18-06, 17:17
snakefoot's Avatar
snakefoot snakefoot is offline
Sergeant Major
 
Join Date: Jan 2002
Location: Denmark
Posts: 880
Thanks: 0
Thanked 2 Times in 2 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

What happens if you run defrag.exe from the command line ?
Reply With Quote
  #7  
Old 02-18-06, 23:18
J8son's Avatar
J8son J8son is offline
Corporal
 
Join Date: Apr 2005
Posts: 241
Thanks: 18
Thanked 2 Times in 2 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

I ran chkdsk /f but when it listed the info the screen popped off so fast I didn't get a chance to read the results.

Is there a way to pull up a log of the previous tests results?
Reply With Quote
  #8  
Old 02-18-06, 23:49
Adrynalyne's Avatar
Adrynalyne Adrynalyne is offline
Super Moderator
 
Join Date: Jan 2002
Location: On the Internet
Posts: 19,008
Thanks: 505
Thanked 1,091 Times in 735 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

Run it from a cmd prompt, not start, run.
Reply With Quote
  #9  
Old 02-18-06, 23:55
J8son's Avatar
J8son J8son is offline
Corporal
 
Join Date: Apr 2005
Posts: 241
Thanks: 18
Thanked 2 Times in 2 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

Quote:
Originally Posted by Adrynalyne
Run it from a cmd prompt, not start, run.
Yes, I know. I did that from the cmd prompt when I restarted the computer it schedule a scan.

The results that show up afterwards with all the info about your disk is only on screen so briefly I didn't get a chance to read into what the problem might be.

That's why I'm wondering if there's a log. Does the scan automatically corrected any errors it finds on the disk?
Reply With Quote
  #10  
Old 02-19-06, 00:05
Adrynalyne's Avatar
Adrynalyne Adrynalyne is offline
Super Moderator
 
Join Date: Jan 2002
Location: On the Internet
Posts: 19,008
Thanks: 505
Thanked 1,091 Times in 735 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

Yes. Results are logged in the Event Viewer.

Have you tried defragging since?
Reply With Quote
Sponsored links
  #11  
Old 02-19-06, 00:36
krit86lr's Avatar
krit86lr krit86lr is offline
Corporal
 
Join Date: Jan 2006
Location: Missouri, USA
Posts: 223
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

I have to agree with Wavetar. If defrag works in Safe Mode, then there isn't anything wrong with the defrag utility itself.

There are 2 reasons that defrag won't work in Normal Mode. 1. You don't have Administrator privileges (sp?), or 2. There is a process running in the background that is grabbing hold of the HD while the defragmenter is trying to use it.

In Safe Mode only a few specific processes are running, and they don't grab the HD.

If you aren't having any other problems then there probably isn't anything wrong. If you want to you can stop 1 process at a time, and determine which process is interfering with the defragmenter, but that's really time consuming. Just use Safe Mode.
Reply With Quote
  #12  
Old 02-19-06, 11:40
J8son's Avatar
J8son J8son is offline
Corporal
 
Join Date: Apr 2005
Posts: 241
Thanks: 18
Thanked 2 Times in 2 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

I've never had a problem with the defragmenter up until this point. Therefore, it's something recent that has caused this problem. Rather than just ignore this problem I would rather identify the cause and fix it.

In the Event Viewer I have three options: Application, Security and System. Not sure what I'm looking for. Where would I find the results of the scan I ran checking the disk?

Also, I closed all background applications (ones not used by XP that is) and re-ran the disk defrag. At this point it gets to the 87% mark of the Compacting Files stage and then looses the connection to the defrag engine.

Any thoughts?
Reply With Quote
  #13  
Old 02-19-06, 12:15
Matacumbie's Avatar
Matacumbie Matacumbie is offline
Rocky Top
 
Join Date: Aug 2002
Location: Tennessee
Posts: 5,020
Thanks: 0
Thanked 16 Times in 16 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

One other thing you might check is a screensaver running. If you have added one recently, disable it and see if it makes a difference.

Steve
__________________
PLEASE DO NOT PM ME WITH QUESTIONS REGARDING MARRIAGE RELATED ISSUES

Momma always said "be good".......but she's been wrong before.
Reply With Quote
  #14  
Old 02-19-06, 13:14
krit86lr's Avatar
krit86lr krit86lr is offline
Corporal
 
Join Date: Jan 2006
Location: Missouri, USA
Posts: 223
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

If you stop all of the processes at once you don't know which one is causing the problem. If it's getting to 87% you've stopped one already. Good suggestion on the screensaver.

You can stop 1 at a time, reboot, and defrag. If the one that you stopped didn't help, restart that processes, and stop another.

You can stop all EXCEPT the following.
taskMgr.exe
explorer.exe
svchost.exe (you may have 2, or 3...don't stop any)
MsMpEng.exe
lsass.exe
services.exe
winlogon.exe
csrss.exe
smss.exe
System
System Idle Process SYSTEM

Good luck!
Reply With Quote
  #15  
Old 02-19-06, 13:25
krit86lr's Avatar
krit86lr krit86lr is offline
Corporal
 
Join Date: Jan 2006
Location: Missouri, USA
Posts: 223
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

Sorry I forgot something. Before stopping 1 process at a time this may, or may not work, but it's worth a shot.

Command Line defrag /f Note the space after defrag.

This command line forces defragmation. Let me know if it works.

Good Luck!!
Reply With Quote
Sponsored links
  #16  
Old 02-19-06, 16:41
J8son's Avatar
J8son J8son is offline
Corporal
 
Join Date: Apr 2005
Posts: 241
Thanks: 18
Thanked 2 Times in 2 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

Quote:
Originally Posted by krit86lr
If you stop all of the processes at once you don't know which one is causing the problem. If it's getting to 87% you've stopped one already. Good suggestion on the screensaver.

You can stop 1 at a time, reboot, and defrag. If the one that you stopped didn't help, restart that processes, and stop another.

You can stop all EXCEPT the following.
taskMgr.exe
explorer.exe
svchost.exe (you may have 2, or 3...don't stop any)
MsMpEng.exe
lsass.exe
services.exe
winlogon.exe
csrss.exe
smss.exe
System
System Idle Process SYSTEM

Good luck!
Why would it make a difference if I closed one at a time? If I closed all the tasks not being used by XP and the defrag still doesn't work that would rule that out wouldn't it?

Also, I still need to check the Event View but I'm not sure what I'm looking for. Also, we can rule out the screen saver option because I only have the default XP screen savers installed and they are always off.
Reply With Quote
  #17  
Old 02-19-06, 18:37
krit86lr's Avatar
krit86lr krit86lr is offline
Corporal
 
Join Date: Jan 2006
Location: Missouri, USA
Posts: 223
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

You've already stopped 1, or more processes that were interfering. This is proved because originally you got to 1%, and now you're reaching 87%. But...you don't know which one's were causing the problem because you stopped so many at once. If you want to defrag in Normal Mode I'm thinking that you don't want to stop every process everytime that you defrag. It would be easier to just stop the few that interfere.
Reply With Quote
  #18  
Old 02-19-06, 18:41
krit86lr's Avatar
krit86lr krit86lr is offline
Corporal
 
Join Date: Jan 2006
Location: Missouri, USA
Posts: 223
Thanks: 1
Thanked 0 Times in 0 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

Pull up Task Manager and compare your running processes against the list I posted. If you stop the extra you be able to reach 100%. But until you stop 1 at a time you won't know which one's to stop.

As for event viewer...double click Applications > double click on the error messages, and the Warning messages. This will display details about errors occuring.

I hope that some of this helps. Did the command line work?
Reply With Quote
  #19  
Old 02-19-06, 19:06
Adrynalyne's Avatar
Adrynalyne Adrynalyne is offline
Super Moderator
 
Join Date: Jan 2002
Location: On the Internet
Posts: 19,008
Thanks: 505
Thanked 1,091 Times in 735 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

Quote:
Originally Posted by krit86lr
You've already stopped 1, or more processes that were interfering. This is proved because originally you got to 1%, and now you're reaching 87%. But...you don't know which one's were causing the problem because you stopped so many at once. If you want to defrag in Normal Mode I'm thinking that you don't want to stop every process everytime that you defrag. It would be easier to just stop the few that interfere.

Actually, it may not have been stopping a process. It could have been the chkdsk.

Check the system event log, for events with the source of winlogon. I believe thats where results are stored for chkdsk.
Reply With Quote
  #20  
Old 02-19-06, 19:08
J8son's Avatar
J8son J8son is offline
Corporal
 
Join Date: Apr 2005
Posts: 241
Thanks: 18
Thanked 2 Times in 2 Posts
Default Re: The Connection To The Defragmenter Engine Has Been Lost

I should have been more clear about this. I was able to reach 87% after I did the defrag in safe mode. Also, the reason I can rule out interference from running background programs is that they've never caused a problem like this in the past and I have the same set of installed programs and apps running as I did when the defrag did work.

Here is the error I see that is repeated several times in the Event Viewer:

Usernev
Event: 1517
User: System
Description:
Windows saved user NEMESIS\The Nemesis registry while an application or service was still using the registry during log off. The memory used by the user's registry has not been freed. The registry will be unloaded when it is no longer in use.

This is often caused by services running as a user account, try configuring the services to run in either the LocalService or NetworkService account.


The Nemesis is the name of my computer by the way.
Reply With Quote
Sponsored links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 19:19.

MajorGeeks.Com Menu

MajorGeeks.Com \ All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ NEW! PC Games \ System Tools \ Macintosh \ Demonews.Com \ Top Downloads

MajorGeeks.Com \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds


All content Copyright MajorGeeks.com source code Powered by vBulletin® Version 3.8.4
Copyright © 2009 vBulletin Solutions, Inc. All rights reserved.
Ad Management by RedTyger