|
Everyone, thanks for the responses. Waltz was correct with his suggestions. In my kix file I have: shell "cmd /c su administrator < c:\winnt\pw.txt "executable.exe" -w In the pw.txt file, I typed in the admin password and hit enter at the end of the word. Fo security purposes, I like this method the best because the password is stored in a file on the hard drive. Users will unlikely stumble upon it and open it. If you put it in an environmental variable, the user can see what it is by System, Advanced, Environmental Variables. If you do the echo password | username method then the password is exposed in the netlogon share and you probabably don't want other people to look at it if you are on a pretty large domain with multiple people accessing the share to add their files to work with their OU in AD.
|