Skip to main content
GameDev.net gamedev.net
🔒 Locked

[.net] InstallUtil.exe - Allow Service to Interact with Desktop?

Started by CyberSlag5k Dec 12, 2006 at 7:52 AM 2 replies 8.7k views
Original Post
CyberSlag5k
CyberSlag5k
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.
ernow
ernow
Take a look at this

Then again... having a service interacting with the desktop is a kind of bad I guess...
CyberSlag5k
CyberSlag5k
Thanks Ernow. The method I actually ended up going with was to edit the registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\

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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.