Running a vb script with admin rights 
Author Message
 Running a vb script with admin rights

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..



Tue, 24 May 2005 04:41:38 GMT  
 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/



Tue, 24 May 2005 13:31:29 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. how can i run my vb script in the admin permission

2. Script with admin rights

3. Giving admin rights to a script

4. Remote Admin Scripts won't run

5. script to run as an admin user account

6. Run Script as Local Admin

7. Test for Admin rights on an NT workstation

8. local admin rights

9. VB Script - Can a running script derive it's own path

10. Defrag without admin rights + SFImpersonator

11. Finding out if user has NT Admin rights

12. Verify NT domain Admin right

 

 
Powered by phpBB® Forum Software