I need to enable the "Allow service to interact with desktop" option in the service properties through command line. How to accomplish that. I tried the "sc" command. But I can't achieve what I need.
+3
A:
Have you tried "sc config servicename type= interact type= own"
Also: http://social.microsoft.com/Forums/en-US/vcgeneral/thread/3311c5b7-be80-466e-8d49-fc431115aea9/
Andrei Serdeliuc
2009-04-02 09:00:31
A:
Keep in mind that this feature is pretty much going away in newer versions of windows, for example in Vista it is ignored - services are no longer allowed to interact with the desktop for security reasons
1800 INFORMATION
2009-04-02 09:22:06