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

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
LVL 1
hjfullingimCEOAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dan_blagutCommented:
Hello

Can you try to execute regsvr32 taskscheduler.dll command?

DaN
hjfullingimCEOAuthor Commented:
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
dan_blagutCommented:
Sorry, my fault.

Try with mstask.dll

DaN

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
hjfullingimCEOAuthor Commented:
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
dan_blagutCommented:
maybe because the dll was registered but was moved.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.