I have a Java application. Is there anyway I can tell if the process was run with admin privileges, on Windows 7.
Only by attempting an operation which requires such access (like binding a low-numbered port, or opening a known-to-be-protected file).