Computer Hope

Microsoft => Microsoft DOS => Topic started by: gumbaz on August 23, 2007, 04:12:01 AM

Title: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 23, 2007, 04:12:01 AM
I Have Win Xp Pro sp2 & for some odd reason my tasklist keeps giving me this error when i try to use it
how can i fix this..??
Code: [Select]
C:\>tasklist
ERROR: Class not registered.
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 23, 2007, 11:14:22 AM
Given up on the camera?
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 23, 2007, 12:31:01 PM
i guess, you said i couldn't do nuthin bout it if it don't show up as a drive letter so what evs..
whats dat gotta do with this tasklist error though..??

my pc be 32 bit windows
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 24, 2007, 03:10:48 AM
so whats i gotsta do now to fix this ERROR: Class not registered. thing..
what does that mean anyway, how do i register it then..??
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 24, 2007, 04:30:58 AM
If this has just started, it looks like your registry has got mangled somehow. I wonder if a virus did it? Have you been fooling about with the registry?
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 24, 2007, 04:41:58 AM
Nah man, I don't fool with me registry..
I remember a while back the first time i tried to use the TASKLIST it gave me the same error on dis PC.. so i just forgot about it..
but it works on all my other PC's though.. same OS and everything too..
And I never get nor have i ever got a virus.. ever foo  8)
I use ZA ISS like a paranoid crack head..!!!  ;D  ;D  ;D

Anyway is there a solution to FIX  this ERROR or what..??
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 24, 2007, 05:26:27 AM
Search for tasklist.exe on your system, note the location, and try downloading a fresh copy from -- guess where --

http://www.computerhope.com/download/winxp.htm

and see if it works. If not, do a google search for "class not registered" errors and learn a bit about what they are and how to fix them.

If a search does not find it, well, that's the reason for your problem, and you should put a copy of tasklist.exe in a folder on your PATH.

You're sure you aren't using XP Home, which does not have tasklist? Also, some viruses disable it.

Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 24, 2007, 06:32:09 AM
yes im 100% sure i have xp pro man...
i did do a goggle search but couldn't seem to find anything specifically about TASKLIST ERROR: Class not registered...
thats why i asked here...
xp search finds C:\WINDOWS\system32\tasklist.exe
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 28, 2007, 04:57:19 AM
i dunno man, i can't seem to find anything bout re-registering it back in..
so i take it you don't really know either then..??
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 28, 2007, 06:14:21 AM
so i take it you don't really know either then..??

That's about the size of it... I suspect your registry has got corrupted, or maybe tasklist.exe has got infected with a virus. (I do know that can happen!)

Tasklist.exe is a command line executable, and does not need to be registered, so something is wrong with your system, or registry.

Title: Re: TASKLIST ERROR: Class not registered.??
Post by: ghostdog74 on August 28, 2007, 08:15:37 AM
there are 2 locations of tasklist.exe...one is in system32 itself, the other in the dllcache directory under system32.
You can verify their integrity by downloading fciv (http://www.microsoft.com/downloads/details.aspx?FamilyID=B3C93558-31B7-47E2-A663-7365C1686C08&displaylang=en)

To use it:
Code: [Select]
C:\WINDOWS\system32>fciv -add tasklist.exe
//
// File Checksum Integrity Verifier version 2.05.
//
70363a3228df8fc8cff4e78f36b31c45 tasklist.exe

C:\WINDOWS\system32>cd dllcache

C:\WINDOWS\system32\dllcache>fciv -add tasklist.exe
//
// File Checksum Integrity Verifier version 2.05.
//
70363a3228df8fc8cff4e78f36b31c45 tasklist.exe

If your checksum is the same as mine....then you have a clean copy. If not, then...well...try to clean it up using whatever means you have (eg AVs,Spyware removal whatever) , then install a new copy of it from the link given by contrex
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 28, 2007, 09:42:45 PM
*censored*.. this is weird, i just went to check my  C:\WINDOWS\system32\dllcache folder and it was completely empty..??
what would cause that..?? I have my folder properties set to show everything too..

also i downloaded a new copy of TASKLIST.EXE  and put them into their proper places.
then i downloaded that fciv.exe
ran that code in CMD  and this is what happened...


Code: [Select]
C:\>C:\WINDOWS\system32>fciv -add tasklist.exe
'C:\WINDOWS\system32' is not recognized as an internal or external command,
operable program or batch file.

C:\>
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 28, 2007, 11:49:21 PM
then i downloaded that fciv.exe
ran that code in CMD  and this is what happened...


C:\>C:\WINDOWS\system32>fciv -add tasklist.exe
^^^^
What's this supposed to be?


What are you typing at the prompt? Have you been doing this all along??? With Tasklist?

No wonder you've been having problems


Title: Re: TASKLIST ERROR: Class not registered.??
Post by: DeltaSlaya on August 29, 2007, 12:18:09 AM
That first section looks like the command prompt 'C:>' starting line, and he's just copied and pasted what ghostdog has suggested instead of CDing to the directory and inserting the command after the '>'.
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: ghostdog74 on August 29, 2007, 12:50:43 AM
and he's just copied and pasted what ghostdog has suggested instead of CDing to the directory and inserting the command after the '>'.
gosh...
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 29, 2007, 12:52:17 AM
That first section looks like the command prompt 'C:>' starting line, and he's just copied and pasted what ghostdog has suggested instead of CDing to the directory and inserting the command after the '>'.

Yes that's what I thought.

If he is doing something similar to run TASKLIST, maybe that's why he gets "class not registered"?

Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 29, 2007, 12:57:15 AM
OK Sorry bout that.. i CD to the directory now.. and now its working giving the correct checksum of  70363a3228df8fc8cff4e78f36b31c45 tasklist.exe

but tasklist is still not working though...
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 29, 2007, 01:05:49 AM
The Code Wizard speaks... This your task young Gumbaz... (in other words I give up). Something is damaged, that's for sure! Sure sounds like your registry.

Does it work from the command.exe prompt rather than the cmd.exe one? (type COMMAND at the prompt to start it and EXIT to quit)

I see you posted this as "Deviouz" on the Techspot forums, and got pointed towards a page about regsvr...








Title: Re: TASKLIST ERROR: Class not registered.??
Post by: ghostdog74 on August 29, 2007, 01:39:16 AM
last thing you can try...the dlls that tasklist loads up is as follows...(on my machine)
Code: [Select]
ntdll.dll, kernel32.dll, msvcrt.dll,ADVAPI32.dll, RPCRT4.dll, USER32.dll,GDI32.dll, MPR.dll, ole32.dll, OLEAUT32.dll,Secur32.dll, WS2_32.dll, WS2HELP.dll,framedyn.dll, NETAPI32.dll, DBGHELP.dll,
VERSION.dll, ShimEng.dll, AcGenral.DLL,WINMM.dll, MSACM32.dll, SHELL32.dll,
SHLWAPI.dll, USERENV.dll, UxTheme.dll,comctl32.dll, comctl32.dll, xpsp2res.dll,
CLBCATQ.DLL, COMRes.dll, wbemprox.dll,wbemcomn.dll, Winsta.dll, wbemsvc.dll,
fastprox.dll, MSVCP60.dll, NTDSAPI.dll,DNSAPI.dll, WLDAP32.dll....

you can try to load each on of them...using regsvr32 <dll>....just $0.02
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 29, 2007, 01:54:33 AM
its not working from the command.exe prompt either..

@ghostdog74
so i just do this for each .dll then in the CMD..??

Code: [Select]
c:\>regsvr32 ntdll.dll
c:\>regsvr32 kernel32.dll
ect...

Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 29, 2007, 01:57:55 AM
I think you are right ghostdog74, it seems that such an error is caused by a system file (DLL) that the program needs either not existing on a system, or being an older version than required. Since tasklist (obviously) works on a new XP install, maybe an important system dll has been overwritten by a previous version. I thought Windows file protection was meant to prevent that? of course its warnings can be ignored by reckless users...

Or another possibility...!!! --- guess what --- just doing a bit of Google searching --- tasklist and dll being the pair of words I used...

This fits very well indeed with my unease at a genuine tasklist executable surely not needing any registration at all...

(1)

http://www.greatis.com/appdata/dt.htm

Quote

tasklist.dll

Tasklist.dll is TROJ_ADLOAD.IE.


(2)

http://www.trendmicro.com/vinfo/virusencyclo/default5.asp?VName=TROJ_ADLOAD.IE&VSect=T

Quote

File type: PE

Memory resident:  Yes

Size of malware: 88,576 Bytes (.EXE file); 66,048 Bytes (.DLL file)

Initial samples received on: Aug 3, 2006

Payload 1: Downloads files

This Trojan arrives on a system as a file dropped by other malware, or downloaded by an unsuspecting user when visiting malicious Web sites.

Upon execution, it drops a file named TASKLIST.DLL, which is also detected by Trend Micro as TROJ_ADLOAD.IE, in the Windows system folder.

To ensure its automatic execution at every system startup, it registers itself as a service by creating the following registry keys and entries:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AutoUpdate
DisplayName = "AutoUpdate"

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\AutoUpdate\Parameters
ServiceDll = "%System%\tasklist.dll"

(Note: %System% is the Windows system folder, which is usually C:\Windows\System on Windows 98 and ME, C:\WINNT\System32 on Windows NT and 2000, or C:\Windows\System32 on Windows XP and Server 2003.)

Could this be a promising line of enquiry?

Gumbaz, did tasklist work once upon a time, or have you just started trying to use it?



Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 29, 2007, 03:39:42 AM
ominous silence...
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: ghostdog74 on August 29, 2007, 03:46:08 AM
ominous silence...

i think OP should be trying out  your latest post, ...lol...give him some time..maybe he will post back. I hope he is using his AV now.
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 29, 2007, 04:00:35 AM
ominous silence...

i think OP should be trying out  your latest post, ...lol...give him some time..maybe he will post back. I hope he is using his AV now.

I wrote this last Friday, 4 whole days ago...

Quote
I wonder if a virus did it?

The OP wrote this...

Quote
I use ZA ISS like a paranoid crack head

What, he fires it up and then goes outside with a knife and holds up old ladies for their purses so he can do it some more?  ;D

Crack heads are not generally noted for their prudence, patience, ability to listen to advice or follow simple instructions, etc...  :)

Try typing "Zone Alarm crap" into Google... or "Steve Gibson" and an uncomplimentary epithet  :D

Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 29, 2007, 05:01:09 AM
SUP Yallz..
thanx 4's yurz helpz so far.. but it don't seem like im having any luck getting it to work..
i don't relay remember using tasklist on this PC before.. i just found out about it a few months ago..tried to use it and got that error so i just forgot about it and went on my marry way..just used it on another pc or in a VM..

i did regsvr32 on all those dll's and still no luck.. still get that *censored* error..!!

i aint gots no viruses  that you think i might have contrex.. ZA ISS uses kaspersky AV database so im sure if i did have something it would have been picked up already.. i scan my system every other day or so..
being a paranoid crack head just means im overly cautious & protective about my pc and security settings.. don't get all analytical on me in stuff..

anyway i guess im just SOL on this one guys.. i really dont know what the problem is with it.. becuz it works just fine on all my other PC's which i used the same XP DVD to install the OS with..

so i guess my only other option would be to just get a new HDD and start all over again huh....
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 29, 2007, 06:39:09 AM
Why a new HDD? What about a repair install followed by SP2?
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 29, 2007, 06:54:46 AM
how i do the repair install just for a lil ol tasklist app..??
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 29, 2007, 07:04:54 AM
You don't know what else is wrong. Your registry could be crap. Tasklist could be the tip of the iceberg. How do you even know your AV stuff is working like it says it is? You could have a squillion viruses you know nothing about. Face it, bro, your system is broken.



Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 29, 2007, 07:31:08 AM
SO WHAT I DO THEN MAIN...???
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 29, 2007, 07:51:32 AM
It's all on this site in the help, you only have to look.
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 29, 2007, 08:39:12 AM
where is the help at..???
arnt you guys my help.. *censored*...
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: contrex on August 29, 2007, 08:47:21 AM
 ::) ::) ::) ::) ::) ::) ::) ::) ::) ::) ::) ::)

http://www.google.co.uk/search?source=ig&hl=en&q=xp+repair+install&btnG=Google+Search&meta=


Title: Re: TASKLIST ERROR: Class not registered.??
Post by: ghostdog74 on August 29, 2007, 09:18:44 AM
where is the help at..???
arnt you guys my help.. *censored*...
watch your language. also, we do not have to spoonfeed you every time. you should learn how to be more self reliant. As for your problem, i have another qns to ask, maybe i have missed it or maybe it may sound stupid, but have you updated your virus scanner whatever brand of AV it is?
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: gumbaz on August 29, 2007, 09:28:04 AM
AHH dont get so emo ghostdog74 ... its just letters man..
i applicate all your guys help though..
i will probably do a  xp repair install soon to see if that fixes it..
yes my AV auto updates every 1 Hr..
Title: Re: TASKLIST ERROR: Class not registered.??
Post by: patio on August 29, 2007, 03:35:57 PM
Quote
its just letters man..

This is part of the problem...if you didn't notice we don't really do txspk her...

It get's old.