cannot open window service on computer '.' in window application

Go to c://Program Files/ApplicationFolder/.exe Right-click on .exe and go to Properties then go Compatibility Tab and check true to Run this Program as an administrator Level.


To make this automatic every time you open the application you have to add a manifest file to your solution, then update the requestedExecutionLevel node inside the file to look like this:

    <requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
</requestedPrivileges>

However, changing this setting will result in the system prompting you every time to run the application as administrator if UAC is enabled.