Runas over network using variables for credentials

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
zeromod
Posts: 1
Joined: 10 Aug 2010 17:41

Runas over network using variables for credentials

#1 Post by zeromod » 10 Aug 2010 17:50

Ok, I'm going to throw this out there. I'm not sure this is even a possibility in the way that runas works but I need some insight. The following snippets fail to run over a network and I think it's the way that runas works. Can I use variables in runas netonly to pass the user credentials?

Code: Select all

runas /netonly /user:%IPAddress%\%User% "\siebel\8.1\client_1\bin\fixdsn.exe"
goto End

Post Reply