Jump to content

Command line run aborts, while gui run works


Recommended Posts

Description

I'm trying to setup an automated task to run a defrag on the C: through a command. I was successful on one machine, but the other one randomly aborts. Looking through the log, it seems to be skipping whole files all the way through. So I tried running through the GUI and it works.

 

I've tried both with and without the /large switch active.

 

The only error I see that may be something to do with it is failure to get file size and attributes for some files. I did a check on the drive with Defraggler and found nothing, and I'm about to start a chkdsk.

 

Version

I'm running v2_3_282

Windows 7 Ultimate

 

Attachments

I'm attaching the debugg3 log and output from cmd, as well as the msinfo. I don't see anything relevant in the event logs. Your attachment size is small, so I had to compress everything with 7z.

 

I'm probably doing something stupid somewhere, but it worked fine on another similar machine, only real significant difference is that UAC is turned all the way on with the computer it works on, but the machine that's not working has UAC turned off.

CmdAborts.zip

Link to comment
Share on other sites

I'd like to report the same bug. In my case, I am running Windows Home Premium x64. I also am running a virtual x86 XP box through Sun VirtualBox, and I get the same results in that machine as well. One similarity I have noticed between invisiblade's report, mine, and several other's I found on the Defraggler website, is that the processor type indicated on line 13 is "586". I'm sure this is likely coincidence, but it did catch my eye.

 

On a semi-unrelated note, any chance of Defraggler becoming open-source (or any variation thereof)? I'd love to get a crack at Defraggler's insides... ;)

Debug.zip

Link to comment
Share on other sites

I've got the same issue, but on WinXP. I've generated a log, but the line with error is:

 

00e64 1 DefragVolumeSinglePassHelper::LayFileAt#153 OpenFile("C:\$Extend\$ObjId:$O") failed with error code 0x80070002.

 

and then it aborts. Haven't tried anything else yet.

Link to comment
Share on other sites

On a semi-unrelated note, any chance of Defraggler becoming open-source (or any variation thereof)? I'd love to get a crack at Defraggler's insides... ;)

 

I don't know if they ever will do that, but that would be very interesting...

 

To see which fork had the fewer probs, the open source, or the piriform fork.

It definitely would be very interesting.

 

Although, I don't know if they will release it...

Link to comment
Share on other sites

I've got the same issue, but on WinXP. I've generated a log, but the line with error is:

 

00e64 1 DefragVolumeSinglePassHelper::LayFileAt#153 OpenFile("C:\$Extend\$ObjId:$O") failed with error code 0x80070002.

 

and then it aborts. Haven't tried anything else yet.

 

I checked online, & MS says it can generate a code like that if something changes the default security provider.

They suggested this workaround:

 

Reset the default security provider in Windows XP

To reset the default security provider in Windows XP, delete the relevant registry keys in the Windows registry. To do this, follow these steps:

 

Start the computer. Press the F8 key during startup to start the computer in Safe mode.

Start Registry Editor (Regedt32.exe).

Delete the following registry keys in the Windows registry:

HKEY_USERS\.DEFAULT\Software\Microsoft\Cryptography\Providers

HKEY_USERS\S-1-5-20\Software\Microsoft\Cryptography\Providers

Quit Registry Editor.

Restart the computer.

Link to comment
Share on other sites

  • Moderators

I checked online, & MS says it can generate a code like that if something changes the default security provider.

They suggested this workaround:

 

Reset the default security provider in Windows XP

To reset the default security provider in Windows XP, delete the relevant registry keys in the Windows registry. To do this, follow these steps:

 

Start the computer. Press the F8 key during startup to start the computer in Safe mode.

Start Registry Editor (Regedt32.exe).

Delete the following registry keys in the Windows registry:

HKEY_USERS\.DEFAULT\Software\Microsoft\Cryptography\Providers

HKEY_USERS\S-1-5-20\Software\Microsoft\Cryptography\Providers

Quit Registry Editor.

Restart the computer.

 

 

You have offered no advice to the poster about backing up the registry before doing something which could potentially damage his system.

 

Post a link to the said Microsoft article and let the poster decide for himself if he wants to do it. The error code 0x80070002 can be generated for other reasons than the one you gave.

 

Support contact

https://support.ccleaner.com/s/contact-form?language=en_US&form=general

or

support@ccleaner.com

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.