Home » Community » Forums » .NET » InstallUtil.exe - Allow Service to Interact with Desktop?
Intel sponsors gamedev.net search:
Control Panel Register Bookmarks Who's Online Active Topics Stats FAQ Search

Add Forum to Favorites |  Send Topic To a Friend | View Forum FAQ | Track this topic


 Last Thread Next Thread 
 InstallUtil.exe - Allow Service to Interact with Desktop?
Post New Topic  Post Reply 
Sorry, not GameDev related, but I'm not coming up with anything here, so I thought I'd tap this font of knowledge.

I need a way to programatically set the "Allow Service to Interact with Desktop" property of a service. I thought maybe there would be an InstallUtil.exe option, but I'm yet to find one. Does anyone know how this can be done?

Thanks.


Without order nothing can exist - without chaos nothing can evolve.


 User Rating: 1269   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Take a look at this

Then again... having a service interacting with the desktop is a kind of bad I guess...

 User Rating: 1367   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Thanks Ernow. The method I actually ended up going with was to edit the registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<SERVICE_NAME>

The 256th bit of the value "Type" is that setting, so I just OR it.


Without order nothing can exist - without chaos nothing can evolve.


 User Rating: 1269   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

You're welcome!

As far as I can see it is not the 256th bit but the 3rd from the right...

:-)

 User Rating: 1367   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

All times are ET (US)

Post Reply
 Last Thread Next Thread 
Forum Rules:
You may not post new threads
You may post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: