Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Am am not totally satisfied with my answer but Window's security leaves me little alternative. Anything opened bu the service (through Process, Shell whatever) will not have desktop access. I understand the reasons behind the limitations Microsoft has created but still frustrating! </p> <p>My Service uses IPC to tell my UI to lock the computer. Here is a basic link on doing that:</p> <p><a href="http://anoriginalidea.wordpress.com/2007/08/09/simple-inter-process-communication-in-vbnet/" rel="nofollow noreferrer">http://anoriginalidea.wordpress.com/2007/08/09/simple-inter-process-communication-in-vbnet/</a></p> <p>See his reference links for additional data.</p> <p>However, that still does not quite work. Also see this link for how to do it without the Access Is Denied messages:</p> <p><a href="http://social.msdn.microsoft.com/Forums/en-US/windowssecurity/thread/ce968b5b-04fe-46d2-bb75-73e367a8b0c3" rel="nofollow noreferrer">http://social.msdn.microsoft.com/Forums/en-US/windowssecurity/thread/ce968b5b-04fe-46d2-bb75-73e367a8b0c3</a></p> <p>Make sure your URIs are correct. The portName property on the server side is the first part of the IPC path in the GetObject method call. The second part maps to the second parameter of the RegisterWellKnownServiceType call on the server side. </p> <p>And apparently the portName properties need to be DIFFERENT on the sever and client sides.</p> <p>If you get "Failed to connect to an IPC Port: The system cannot find the file specified." on your client then the server has not started yet so there is nothing to hear you scream.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload