Manage remote service using alternate credentials
问题 -- Original Post -- I am trying to manage (start/stop) a windows service on a remote machine using alternate credentials. I know that I can use the ServiceController class to manage a service using my current credentials: Dim sc As New ServiceController(ServiceName, ComputerName) but I want to use different credentials. The other classes I am using (DirectoryEntry and System.Management) both support using alternate credentials... Help would be greatly appreciated. -- Working Code (built based