469,575 Members | 1,198 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,575 developers. It's quick & easy.

Run UI Process From Window Service


I'd like to run an executable process without the need to be logged on to the computer. that is why i want to run it as a window service.

The executable opens a form (ui) that does not require the user interaction. it simply for me to use AxControl to manipulate visio diagrams.

Since this requires me to interact with desktop i have to run the service as local system and enable the 'allow interact with desktop' checkbox. However, i'd like the executable process itself to be run as another user.

I found the following posting in this site from 2005

(1) because of the security issues specified. can i use an alternative to window service in order to start run the process without being logged on?

(2) Btw, i tried from the solution above to run service with the allow interaction enabled, logon as admin user and load user profile but still running the specified process yields an access denied exception.

A solution to either of the above will be very much appreciated! thanks.

Dec 3 '07 #1
0 867

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Dde | last post: by
1 post views Thread by BenS | last post: by
4 posts views Thread by drodrig | last post: by
6 posts views Thread by uuyytt | last post: by
2 posts views Thread by siddharthkhare | last post: by
3 posts views Thread by Bali | last post: by
reply views Thread by suresh191 | last post: by
4 posts views Thread by guiromero | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.