Windows 8 and 8.1 Forums

Task scheduler: The system cannot find the file specified

  1. #1

    Posts : 5
    Windows 8 Pro x64

    Task scheduler: The system cannot find the file specified

    I tried using a batch file to run ccleaner at log on. But it always takes forever when it cleans Firefox.
    So I made a batch file to just delete the Firefox temp folder. And I unchecked Firefox in ccleaner so ccleaner ignores Firefox.
    Here's the batch file.

    RMDIR 5bngz3ew.default /S /Q
    I put it in the task scheduler. When I run it it says it cant find the file specified (0x80070002)
    I set the task to run with highest privileges.
    But every time I run it it gives that error. I don't know why its giving an error when it deletes the folder. So it works fine.
    I just want to know why its producing an error.

      My System SpecsSystem Spec

  2. #2

    The path is wrong. It will be something like: C:\Users\<yourusername>\AppData\Roaming\Mozilla\Firefox\Profiles\5bngz3ew.default
      My System SpecsSystem Spec

  3. #3

    Posts : 1,338
    Windows 7 Ultimate SP1 (64 bit), Linux Mint 17.1 MATE (64 bit)

    Built-in Option

    CCleaner has a built-in option that can be set to make it run when the computer starts (i.e. you don't need to use a batch file).

    Click image for larger version
      My System SpecsSystem Spec

Task scheduler: The system cannot find the file specified

Similar Threads
Thread Forum
Error in Task Scheduler after System Restore
I'm not really used to posting in forums so I'll just try to explain my issue first. I did a system restore on Windows 8.1 the other day to restore some of my display settings and drivers. For whatever reason, the restore said it didn't take, but the settings were restored and my system had rolled...
General Support
Task Scheduler and System Restore not working
Hi, I have modified the inbuilt System Restore task by adding a Daily trigger to it to run around an hour after I turn on (around 8:00am) the computer each morning. I have set all conditions Off so it should run no matter what the PC is doing. The Task list shows "Last run at 11/3/2014 at...
General Support
Unidentified task from task scheduler
Does anyone know what the task "CreateObjectTask" is coming from? I can't find it anywhere.
General Support
Task Scheduler
This Tutorial will show you how to create a Scheduled Logon Task. You should, ideally, perform this Tutorial from within an account with administrative privileges. Section ONE Open Task Scheduler. Click Create Task...
Task Scheduler -Windows Defender and System Restore
System Restore Point Shortcut - Windows 7 Help Forums Having tried unsuccessfully to program Task Scheduler (in 8.1), I found at the above site in Windows 7 forums a shortcut for a script which supposedly simplifies manual creation of a System Restore point. However when I use it the Restore...
General Support
Launch Task Manager Minimized from Task Scheduler
I've added task manager to my scheduled tasks at logon. Everywhere I google, they say to put the /min or -minimized arguments in it to launch it minimized, except neither option works for me. Task Manager launches, but just sits there on my desktop. Is there a new argument for minimized in...
Performance & Maintenance
Task Scheduler task won't start if user is SYSTEM
General Support

Eight Forums Android App Eight Forums IOS App Follow us on Facebook