Encrypted Script

  • Thread starter =?iso-8859-1?Q?Rodrigo_N=F3brega?=
  • Start date
?

=?iso-8859-1?Q?Rodrigo_N=F3brega?=

Hello,

I am trying to write a VBScript that will perform some
administrative tasks in Windows 2000. The script is to be
run by a user with no administrative rights.
I am trying to put the Script to run as an Administrator.
Is there a way I can encrypt my Script so the user is not
able to see the Administrator password?

Any other solutions to this problem are welcome.

Thanks
 
R

Roger Abell

Yes and No, mostly No.

Microsoft provides the script encoder which may be used
to obscure your script. However, it is not strong and is not
encryption, that is, the user with a little effort can get the
original back (this is actually a limitation of the script needing
to be "visible" in source form when run by the wsh host).

What is it that you are trying to accomplish by providing
the script to the non-admin user? And, is this in an Active
Directory environment?
 
R

Rodrigo

There is acctually two Scripts I wanted.

One for a operator to run the printmig to make a backup
copy of the printers in the server, the problem is that
beeing a backup operator or power user he is not able to
do that.

The second script is to make a operator able to create
some shared folders on the network. I know that he can
make it beening a power user, but can I be more restrict
with him?

Thanks a lot.
 
T

Torgeir Bakken \(MVP\)

Rodrigo said:
Hello,

I am trying to write a VBScript that will perform some
administrative tasks in Windows 2000. The script is to be
run by a user with no administrative rights.
I am trying to put the Script to run as an Administrator.
Is there a way I can encrypt my Script so the user is not
able to see the Administrator password?

Any other solutions to this problem are welcome.

Thanks
Hi

Different RunAs products listed here, some with encryption
options:

http://groups.google.com/[email protected]

Another one that is not mentioned in the link above:

LSrunas/LSrunasE (the latter with password encryption)
http://www.linkselection.com/lsrunas.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top