Is there a way to run a script against a remote machine to enter the username and password for a specific DCOM application? Locally on the server, I can open up Command Prompt, and type:
dcomperm -runas {12345678-1234-1234-1234-00aa00bbf7c7} redmond\jdoe password
which appears to work. I tried to do it with psexec and doesnt do anything, cmd.exe gets stuck until i kill it. The command i tried is:
PsExec.exe \\Server1 -i cmd DComPerm.exe -runas {12345678-1234-1234-1234-00aa00bbf7c7} redmond\jdoe password
Doing this manually every time the application is deployed is becoming a pain and I hope there is a wiz out there that can answer the question :)