I use a freeware tool called cpau to encrypt my batch files with stored credentials.
You can find it here:
http://www.joeware.net/fre
All of the details you need to get started are on the website or available from cpau /?
Once you've tried it if you have any specific cpau queries, let me know.
Cheers,
TCP
Main Topics
Browse All Topics





by: rowansmithPosted on 2008-06-23 at 20:04:10ID: 21852219
At the end of the day you have to store the password somewhere where it is readable.
The only way to protect this password is via NTFS permissions to ensure that no one can read it who is not authorised to read it.
The other option is not to use a password and instead rely on the built-in account that the batch is running in. this dosn;t really change your security posture as anyone with access to that account is also able to access the resources.
-Rowan