Temporary grant Admin rights in prog. 
Author Message
 Temporary grant Admin rights in prog.

I'm looking after an NT Domain. Occasionally I write progs. which may
need Admin rights to be succesfull. Does anybody have code which would
enable me to switch on admin rights immediately before processing the
subroutine etc. then immediaely switch them off. A sort of Unix
'sticky bit' for VB.
Clive Taylor


Sat, 29 Nov 2003 17:45:07 GMT  
 Temporary grant Admin rights in prog.
Not exactly, but the Task Manager allows you execute processes
as a specific user.  I suspect CreateProcessAsUser is behind this.


Quote:
> I'm looking after an NT Domain. Occasionally I write progs. which may
> need Admin rights to be succesfull. Does anybody have code which would
> enable me to switch on admin rights immediately before processing the
> subroutine etc. then immediaely switch them off. A sort of Unix
> 'sticky bit' for VB.
> Clive Taylor



Sun, 30 Nov 2003 10:18:43 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Grant Admin Rights to an Application?

2. Granting Admin Rights on Lock-down PC

3. looking for WWW admin/prog group

4. Granting user security rights in VB

5. Grant Logon as a Service right?

6. Granting "User Rights"

7. Defrag without admin rights + SFImpersonator

8. Finding out if user has NT Admin rights

9. Verify NT domain Admin right

10. Script with admin rights

11. Running a vb script with admin rights

12. Admin rights

 

 
Powered by phpBB® Forum Software