Improve runAsAdministrator to check for non-admin hosts.