I have a Java application. Is there anyway I can tell if the process was run with admin privileges, on Windows 7.
There is not such a facility available in the Java Runtime Environment, but might be in a platform-dependent native routine. Note that usually the best way to be certain is to actually try to do it, and see if it fails.