Jump to content

taskkill.exe


Recommended Posts

Posted

Hi

Windows XP Professional Service Pack 3 v. 5.1.2600.5512

nLite v. 1.4.9.1

I've kept taskkill.exe as one of the batch files I use during runonce rely on it

When batch file is executed I recieve:

"ERROR: Class not registered" DOS message

and deployment is interrupted.

The file is present and is located at Windows\system32

an OS which I haven't passed through nLite has taskkill.exe and it doesn't output any errors.

Any thoughts as to why taskkill.exe is affected?


Posted

You'll need to attach your last session.ini so we can see what you removed.

Posted

Well I would start by testing in a VM and not removing certain things so you can narrow it down. You strip the thing pretty bare. Try not removing the entire Operating System Options section and see if taskkill works. If that section has no influence, pick another section, etc.

Let us know what you find.

Posted (edited)

In order to increase security, you can remove this set of command-line tools. Worms and viruses may depend on them. If you need some of them, then add the file names into the 'Keep Box'. The tools are: ..., taskkill.exe, ...

From what I gather it is not enough just to keep taskkill.exe

I've checked against these threads:

http://www.tech-archive.net/Archive/WinXP/...9/msg00336.html

http://groups.google.com/group/microsoft.p...%85d794eab22066

If I interpret it correctly taskkill.exe does have dependencies, WMI inclusively.

http://www.911cd.net/forums//index.php?showtopic=14421 I thought that perhaps it was due to the "framedyn.dll" file not being registered, but that didn't solve it either.

(re)registering 'framedyn.dll' does not resolve an issue on it's own, as there are other dependencies present.

ADVAPI32.DLL
GDI32.DLL
DBGHELP.DLL
NTDLL.DLL
KERNEL32.DLL
MSVCRT.DLL
SECUR32.DLL
RPCRT4.DLL
USER32.DLL
MPR.DLL
OLE32.DLL
OLEAUT32.DLL
WS2HELP.DLL
WS2_32.DLL
FRAMEDYN.DLL
NETAPI32.DLL
VERSION.DLL
IMM32.DLL
MSCTF.DLL
COMRES.DLL
CLBCATQ.DLL
WINSTA.DLL
XPSP2RES.DLL

WBEMCOMN.DLL
WBEMPROX.DLL

Last two in particular are WMI components.

I did a test build where I droped all the dependancies into a keep box, and still recieved an "ERROR: Class not registered".

The issue is resolved by enabling WMI services.

Edited by okto

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...