encrypting or password protecting contents of a batch file

#1
hello,

i'm running win7 ultimate x64.

i have network backup utility that requires that i mount some network drives as the SYSTEM user. i created a bacth file to run at logon that works great.

my issue is that this batch file contains plain-text password(s) that i would rather not have sitting there between logons.

is there an easy way to fix this? another batch file that locks the 1st one after it is in use? i don't really know how to proceed here.

i could make the batch file into an .exe archive with winrar, but is there a way to set up task scheduler to run a password protected .exe?

thanks...
 


Last edited:
#2
I just downloaded a batch to .exe converter and went with that. not perfect, but at least it's not a plain text .bat file.
 


This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.