I'm currently developing an application which will be run under the Network Service account. The application launches a batch command line process and uses OpenProcess with synchronize access to get its hWnd and allow the use of WaitForSingleObject. This works perfectly fine when I am testing under my account, but it seems that the Network Service doesn't have the necessary permissions to use OpenProcess.
Does anyone know how to grant the required permissions to either my application or the Network Service? My application is being developed using VB6, although code or ideas from any language would be appreciated as I can probably find a VB version once I have a rough idea. I'm developing on Vista, but the final application will be running on Windows Server 2003.
ps. Apologies if you think this is in the wrong sections, I wasn't entirely sure where to put it =/