Knowing from a script if in Administrator mode or not
Hello all,
Doc sez : "Scripts cannot determine programmatically whether they are running under a standard user security token or an Administrator token "
http://msdn.microsoft.com/en-us/library/aa826699
Did someone find a workaround for this issue? (if it is one)
Thanks.
DTL
October 27th, 2010 5:07am
code an external program in C which does the check and return 2 different Exit-Codes. Check for the Exit codes in the script."A programmer is just a tool which converts caffeine into code" CLIP- Stellvertreter http://www.winvistaside.de/
Free Windows Admin Tool Kit Click here and download it now
October 27th, 2010 5:49am
Salut André,
Which check ?
Which exit codes ?
Which check for exit codes ?
Please be helpful.
Thanks.
November 4th, 2010 3:07pm