Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: wtsEnumProcesses Error 107
aProcessArray = wtsEnumProcesses (""). WinBatch 32 2008C. WIL version: 6.08chc.If I click on the pushbutton "more error info" it opens another dialog box with this message:
6A6 "WTSEnumerateProcessesAX() : WWWTS_EnumerateProcesses()"I think this problem is dependent from the startup state of Windows; then I think if there is a mode to test the end of the startup Windows process is possible to turn around the problem, but I think is interesting to solve the problem.
You might need to make use of the NT extender's wntSvcStatus() function to verify that the service is in the "running" state before attempting to make any wts*() function calls in the WTS extender.
Otherwise, you can use ErrorMode to supress ther error and retries the operation, to work around the problem.
Article ID: W17607
Filename: wtsEnumProcesses Error 107.txt
File Created: 2010:10:18:12:11:54
Last Updated: 2010:10:18:12:11:54