
Running a vb script with admin rights
Quote:
> I want to be able to run a vb script using admin rights in a GP, anyone
know
> how this can be done. The script will add a global group to the local
admin
> group but this will only work if you have admin rights.
> Thanks
> Gavin..
A copy/paste from recent post on this board:
I use the sfImpersonator object. I found it at
http://cwashington.netreach.net/main/tools/default.asp?topic=n-z (just
scroll down it's there). Easy to use but I suggest you encrypt the scripts
that use it so that the password remains hidden.
Don't forget http://groups.google.com/