schtask.exe command gives a "ERROR: class not registered"

Posted on 2009-02-11
Last Modified: 2012-05-06
Hi, I get the following error when running 'schtask' command;  "ERROR: Class not registered"

I also noticed that the "Scheduled Tasks" Icon on Control Panel is showing as 'Unknown' icon.

This is on a Windows Server 2003 Standard SP1. Any help will be greatly appreciated.

Thanks in advance
Question by:hjfullingim
    LVL 21

    Assisted Solution


    Can you try to execute regsvr32 taskscheduler.dll command?

    LVL 1

    Author Comment

    I got the following prompt error:

    LoadLibrary("taskscheduler.dll") failed - The specified module could not be found.

    Although the already scheduled tasks do run.  Also I couldn't find that "taskscheduler.dll" file on either my computer or another server with same specs.

    LVL 21

    Accepted Solution

    Sorry, my fault.

    Try with mstask.dll

    LVL 1

    Author Comment

    I got the same error for that file.

    I did a search for that file on the computer and it was on a different folder (from system32).  So I copied to system32 and reran the regsvr32 command, and now it said that the file can't be registered. Although "Scheduled Tasks" icon and "schtasks" command are working again.

    Many thanks
    LVL 21

    Expert Comment

    maybe because the dll was registered but was moved.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now