?
Solved

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

Posted on 2009-02-11
5
Medium Priority
?
1,848 Views
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
0
Comment
Question by:hjfullingim
  • 3
  • 2
5 Comments
 
LVL 22

Assisted Solution

by:dan_blagut
dan_blagut earned 1500 total points
ID: 23620644
Hello

Can you try to execute regsvr32 taskscheduler.dll command?

DaN
0
 
LVL 1

Author Comment

by:hjfullingim
ID: 23622993
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.

Thanks
Omar
0
 
LVL 22

Accepted Solution

by:
dan_blagut earned 1500 total points
ID: 23623817
Sorry, my fault.

Try with mstask.dll

DaN
0
 
LVL 1

Author Comment

by:hjfullingim
ID: 23624646
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
0
 
LVL 22

Expert Comment

by:dan_blagut
ID: 23624722
maybe because the dll was registered but was moved.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…

862 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