kill a process run by ntvdm.exe

J

Jim

Hello,
We are using windows 2000 and in our environment, one
windows application launches a DOS based application
which runs under ntvdm.exe in Windows 2000. My problem is
that from time to time, I need to kill this DOS
application. How can I figure out which application does
that specific ntvdm process run. I could not kill ntvdm
process without making sure that it runs the DOS
application I want to kill. Any help?
Thanks,
Jim.
 
M

Myron

Jim said:
Hello,
We are using windows 2000 and in our environment, one
windows application launches a DOS based application
which runs under ntvdm.exe in Windows 2000. My problem is
that from time to time, I need to kill this DOS
application. How can I figure out which application does
that specific ntvdm process run. I could not kill ntvdm
process without making sure that it runs the DOS
application I want to kill. Any help?
Thanks,
Jim.

Locate the program in the `Applications` tab, Riglt click it and
select `Go to Process`. Terminate the selected process.

Only problem there is if something else like `CMD.EXE` spawns the
virtual DOS machine the it becomes a little tricky.

If you get Norton Systemworks then that's for a decent process viewer
that will show you the process tree so you can see what's the parent
of a process is and what child process has been spawned.
 
M

Myron

I stand to correct myself.

Locate the program in the `Applications` tab, Right click it and
select `Go to Process`. Not sure about Windows 2000, but on my
Windows XP sert-up if I right click on the process I was taken to I'm
presented with an option labelled `End Process Tree`.

Now that one is absolute. I loaded `CMD.EXE` then invoked `EDIT.EXE`
so I had a `CMD.EXE` process and an `NTVDM.EXE` process. When I did a
`End Process Tree` on the `CMD.EXE` I was taken to, it also terminated
the associated NT virtual DOS machine that was host to `EDIT.EXE`.

Play with that idea, but I would be irresponsible if I didn't tell you
to use this option with caution. As in make sure you're going to
terminate a process tree that is not going to screw up your computer.

Heh, could you imagine what would happen if you managed to terminate
`SERVICES.EXE` or `WINLOGIN.EXE` and everything under it? Yeh, if you
can and do, time to press eht reset button on your computer and maybe
experience data loss or corruption.

Enjoy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top