A way to check with Pyton if another process in Windows is run as Administrator?

1 points by nightwish3 ↗ HN
I can check if my script is "Run As Administrator" but is there a way with Python to check if another app on a Windows system is running with administrator privileges?

Basically, I need something like this.

if is_admin('otherapp.exe'): print('Admin Privileges Detected')

0 comments

[ 2.9 ms ] story [ 15.6 ms ] thread

No comments yet.