Scheduled Tasks opening but not actually running?

  • Thread starter Thread starter ChrisB
  • Start date Start date
C

ChrisB

I have task scheduler working fine now. The only problem is, it seems
as if programs like Disk Cleanup and Disk Defrag will just open and sit
there, and not perform like they are supposed to. Is there something I
am missing here to actually make these programs run at the scheduled
times? It is like Task Scheduler will just open the application, and
then it wont do anything.

lost!!
 
You have to use this command: cleanmgr /sagerun:SOME_NUMBER

See this...
How to Automate the Disk Cleanup Tool in Windows XP
http://support.microsoft.com/kb/315246

-------

You have to use defrag.exe NOT dfrg.msc.

There are two defrag tools in XP.

dfrg.msc is the pretty one that opens from
Start\All Programs\Accessories\System Tools.

defrag.exe is the command line tool that runs from the command prompt.

defrag.exe is the one that you can schedule.

See this...
How to Automate Disk Defragmenter Using Task Scheduler Tool in Windows XP
http://support.microsoft.com/kb/555098

Description of the New Command Line Defrag.exe Included with Windows XP
http://support.microsoft.com/kb/283080

How To Schedule Tasks in Windows XP
http://support.microsoft.com/kb/308569

How to Defragment Your Disk Drive Volumes in Windows XP
http://support.microsoft.com/kb/314848

You can also download defrag_all2.vbs.

defrag_all2.vbs - Defrag All Hard Drives - Can be run as a scheduled task
Does not create an error log
© Doug Knox - rev 03/29/2002
http://www.dougknox.com/utility/scripts_desc/defrag_all.htm

-------

Open the SchedLgU.txt and see what you can see.

Start | Run | Type: SchedLgU.txt | Click OK

C:\WINDOWS\SchedLgU.txt

Or, Open Scheduled Tasks.
On the Advanced menu, click View Log.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Hi Curt,

Links "R" Us. :-D

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top