We have a WINWORD macro that acts like a "server" on a w2k3 server. Our network people would like it to run as a Windows Interactive Service so they can stop/pause/restart it with their normal monitoring software. The winword macro displays 2 dialogs which a Macro Scheduler executable interacts. I setup both the winword and macro scheduler macroes to run as interactive services using srvany.exe as described in your blog instuctions.
Both interactive services run properly when the they are installed on a Windows XP machine, but not on our W2K server. On both machines the regedit entry in the CurrentControlSet for NOINTERACTIVESERVICES is set to 0, meaning interactive services are allowed. On the W2K3 machine the services start but cannot interact with the desktop. All my research indicates this is a bad thing to attempt because of security vulnerabilities and because the next MicroSoft patch could break the services.
Is there a way a Windows service can start a desktop application under the credentials of the currently logged on user where the desktop is already displayed?
Or can I do the reverse, have a Macro Scheduler executable on the desktop taking instructions for a non-interactive windows service?
Thanks,
Gale