Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NT vs Win2k, XP permissions

Status
Not open for further replies.

ptahlis

IS-IT--Management
Apr 4, 2002
5
0
0
US
The situation: I have a batch file that runs a remote session from the file server (NT4.0) to a user's machine with psexec.exe from under a domain admin's account. Naturally, I don't want users to peek into the batch file and get the domain admin password, so I set the permissions as (RX)(X). Everything works great on 2k/XP machines-- user's can run the script, but cannot copy or edit it. On NT clients, however, they can edit the .bat file and see the password. How can I get around this? I attempted to use "bat2exe", but the psexec command does not funtion in the resulting .com file. Any ideas on how to get around this problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top