Originally Posted By: ShaneEP
A simple work around...

 Code:
If Open(1,"%windir%\testfile.txt",5) = 5
   ? "Not Admin"
Else
   ? "Admin"
Endif

get $

Unfortunately that doesn't work through UAC either \:\(