Schedule defragmenter result 0x1

SW111
SW111 used Ask the Experts™
on
I set up 4 scheduled defrag for 4 hdd in my computer.
They seem to run fine, except on 3 hdd it says "Last Result 0x0"
And on 1 hdd it says "0x1"

Why the difference and is there something wrong?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Service Delivery Manager
Commented:
0x0 means the operation completed successfully.
0x1 means An incorrect function was called or an unknown function was called

Do you have any further error messages for 0x1 from the event log?

Taken from:

http://support.microsoft.com/kb/308558

Author

Commented:
I have a bunch of errors and warnings in event viewer. What specifically should I be looking for?
It was a simple defrag function:

C:\WINDOWS\system32\defrag.exe F:
Neale WilliamsService Delivery Manager

Commented:
The Scheduled Tasks folder has a "View log" option in the Advanced menu
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
Okay. So I right click the task and click properties. This is what comes out (btw, I'm using windows xp):
Task
Schedule
Settings
Security

There is no Advanced Tab and I can't find a "View Log" option anywhere.
Neale WilliamsService Delivery Manager

Commented:
Go to Windows Explorer, then click on Scheduled Tasks in the tree view.
The click on the advanced tab and view log

Author

Commented:
Hi nealerocks,
please have a look at the attached jpeg.
There is no advance tab there.

 properties window
Neale WilliamsService Delivery Manager
Commented:
Click on advanced on the file menu. you will find it there.

Author

Commented:
Ah, ok. I see what you mean. Thanks.

Here is the resul (not very descriptive though)t:

"Defrag F.job" (defrag.exe)
      Finished 8/4/2011 8:00:00 PM
      Result: The task completed with an exit code of (1).
Neale WilliamsService Delivery Manager

Commented:
Yeah doesnt help much.
Can you try and run the command in a dos window?

C:\WINDOWS\system32\defrag.exe F:

Let me know what happens.

Author

Commented:
This comes out and then it just blinks there (I think it's defragmenting.. maybe). But the prompt didnt come back. SHould I wait?

Windows Disk Defragmenter
Copyright (c) 2003 Microsoft Corp. and Executive Software International, Inc.

Analysis Report
    298 GB Total,  128 GB (42%) Free,  1% Fragmented (2% file fragmentation)

Thanks
Neale WilliamsService Delivery Manager

Commented:
Looks like it is working.
Can you try to recreate the scheduled task and test it?

Author

Commented:
AH, it's finished now. ANd it says:

Windows Disk Defragmenter
Copyright (c) 2003 Microsoft Corp. and Executive Software International, Inc.

Analysis Report
    298 GB Total,  128 GB (42%) Free,  1% Fragmented (2% file fragmentation)

Defragmentation Report
    298 GB Total,  128 GB (42%) Free,  0% Fragmented (0% file fragmentation)

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial