Passing domain user credential into windows user environment variable
Posted on 2010-11-16
We have an application runnin on XP box which also a domain member desktop that basically require username and password authentication. This application will not prompt to authenticate if we can specify the username and password when launching the application executable file (for e.g. : abc.exe /username=usr /password=pwd).
My question is whether it is possible to pass the windows domain user credential value into the username and password parameter above. I understand username variable (%username%) will work, but how about the password variable.
If someone can shed the light on how to achieve this, that would be much appreciated.