Solved Cannot cancel scheduled task - user account does not exist

martienne

New Member
Member
Messages
128
Location
European Union
I have some scheduled tasks that I set up with another user account that no longer exists.

Even though my current user account is an administrator, I am unable to remove these scheduled task, or (as far as I can see) change user to my current user.

Previously I was getting the error message "the specified account name is not valid." as the reason why my current account was unable to cancel or delete the task.

I googled it, lots of people had the problem but no very clear solution. Eventually found a hack that included deleting the entry from the registry so I did that. I can no longer see the task in task scheduler, but it's still running!

Gobsmacked that Admin user can not do something as simple as cancel an unwanted task.
I want to get rid of this annoying task - what can I do!?

(Please, no suggestions about re-installing Windows or comments about making Registry changes - I am fully aware that I can re-install and I know the standard blurb about Reg changes). Need concrete advise....)
 
Last edited:

My Computer

System One

  • OS
    Win 8.1
    Computer type
    PC/Desktop
    CPU
    i5
    Motherboard
    ASUS
    Memory
    24 GB DDRAM3
    Graphics Card(s)
    NVIDIA GT430 x2
    Sound Card
    Audial
    Monitor(s) Displays
    2 x 28" Sharp
    Screen Resolution
    1360 x 768
    Hard Drives
    Samsung, Seagate, Toshiba, Hitachi, Western Digital
    PSU
    750 watt
    Cooling
    liquid closed
Try running Task Scheduler as Administrator.
Click on start, type sched. Right click on Task Scheduler at the top then select Run as administrator.

Don't know if it will make any difference but worth a try. Could also try deleting it from Safe Mode.
 

My Computer

System One

  • OS
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz
    Motherboard
    Lenovo
    Memory
    16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
    Graphics Card(s)
    Intel Integrated HD Graphics
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    HP h2207
    Screen Resolution
    1680x1050@59Hz
    Hard Drives
    250GB Samsung EVO SATA-3 SSD;
    2TB Seagate ST2000DM001 SATA-2;
    1.5TB Seagate ST3150041AS SATA
    PSU
    500W
    Keyboard
    Wired USB
    Mouse
    Wired USB
    Internet Speed
    3GB Up, 30GB Down
    Browser
    SeaMonkey
    Antivirus
    Windows Defender; MBAM Pro
    Other Info
    UEFI/GPT
    PLDS DVD-RW DH16AERSH
Try running Task Scheduler as Administrator.
Click on start, type sched. Right click on Task Scheduler at the top then select Run as administrator.

Don't know if it will make any difference but worth a try. Could also try deleting it from Safe Mode.

Running it as Administrator is a really good idea. Should have thought of it myself, but kept thinking that my user is already an Admin. Not always enough though, for example in command. Confusing and easy to forget.
Don't know about safe mode.

Problem is, I can't get Task scheduler to start as Admin - Maybe my Win 8 start menu is messed up (am using a third party Start button and stay clear off Metro) I need to start it as Administrator the old fashioned way - taskeng.exe didn't work. The process must be called something else.

Another issue is that I accidentally removed the key for the task in Registry, thinking it would delete the task.
But it just deleted the entry for the task from Task scheduler. I think I can restore it, but it will take some time.
I also deleted the XML file for the task from C:\WINDOWS\Tasks thinking that would zap it. But not that either.

I am going to have to log into my cloned backup disk to restore the tasks fully - before I can try your suggestion!!!
 

My Computer

System One

  • OS
    Win 8.1
    Computer type
    PC/Desktop
    CPU
    i5
    Motherboard
    ASUS
    Memory
    24 GB DDRAM3
    Graphics Card(s)
    NVIDIA GT430 x2
    Sound Card
    Audial
    Monitor(s) Displays
    2 x 28" Sharp
    Screen Resolution
    1360 x 768
    Hard Drives
    Samsung, Seagate, Toshiba, Hitachi, Western Digital
    PSU
    750 watt
    Cooling
    liquid closed
Can confirm that Ztruker's advise was correct.
Answer is: Figure out how to run the Task scheduler as Administrator. The process is called taskschd.msc so launch that from the Run box in Task Manager.

This goes EVEN if your account is already an Administrator.

Then try again to cancel or end the task and it works.

Unfortunately my various attempts at solving this earlier had messed things up but now I know what the solution is.
 

My Computer

System One

  • OS
    Win 8.1
    Computer type
    PC/Desktop
    CPU
    i5
    Motherboard
    ASUS
    Memory
    24 GB DDRAM3
    Graphics Card(s)
    NVIDIA GT430 x2
    Sound Card
    Audial
    Monitor(s) Displays
    2 x 28" Sharp
    Screen Resolution
    1360 x 768
    Hard Drives
    Samsung, Seagate, Toshiba, Hitachi, Western Digital
    PSU
    750 watt
    Cooling
    liquid closed
What are you using in place of the default Start menu, Classic Shell, Start8, ????

With Start8, pressing Ctrl and clicking on Start brings up the default Start menu where you can type sched. Right click on Task Scheduler at the top then select Run as administrator.

With Classic Shell it's Shift then click ...
 

My Computer

System One

  • OS
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz
    Motherboard
    Lenovo
    Memory
    16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
    Graphics Card(s)
    Intel Integrated HD Graphics
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    HP h2207
    Screen Resolution
    1680x1050@59Hz
    Hard Drives
    250GB Samsung EVO SATA-3 SSD;
    2TB Seagate ST2000DM001 SATA-2;
    1.5TB Seagate ST3150041AS SATA
    PSU
    500W
    Keyboard
    Wired USB
    Mouse
    Wired USB
    Internet Speed
    3GB Up, 30GB Down
    Browser
    SeaMonkey
    Antivirus
    Windows Defender; MBAM Pro
    Other Info
    UEFI/GPT
    PLDS DVD-RW DH16AERSH
Back
Top