WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Process ID

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Get Sub Process Names From NTVDM

 Keywords: threads 16 bit NTVDM 

Question:

In the NT Task Manager, for NTVDM.exe, there are sub processes (without IDs). Is there a way to get the sub process names that are associated with this NTVDM.exe? I do not see any way of doing this in the process extender.

Answer:

If you look at the Windows NT Task Manager (TaskMgr.exe), in the Processes tab you'll see a list of current user-mode processes running within your system. Taskmgr.exe utilizes a mix of the Process Status API (PSAPI.DLL) and the Virtual DOS Machine Debug API (VDMDBG.DLL) to present a uniform list of 16-bit and Win32-based applications (including MS-DOSŪ boxes, represented by NTVDM.EXE). Unfortunately our process extender only supports the Win32-based applications.

So in answer to your question, there is no way to get the sub process names that are associated with this NTVDM.exe using our process extender or directly through any of our other WIL functions.

The only way we have found to enumerate 16 bit processes under NTVDM is through the Virtual DOS Machine Debug API (VDMDBG.DLL). Unfortunately Microsoft has not documented this API. If you are familiar with C progamming you can write your own WIL extender, via the WIL SDK. If you are interested in investigating further here is a useful article: http://www.microsoft.com/msj/0898/hood0898.htm


Article ID:   W15078
File Created: 2002:09:05:13:49:26
Last Updated: 2002:09:05:13:49:26