I want to execute this command ("netsh wlan export profile folder=c:\ key=clear"
)
in cmd via python 3 in windows 10 to get my wifi passwords so I create a script like that
import os
print(os.popen("netsh wlan export profile folder=c:\ key=clear").read())
but the code gives my this error The requested operation requires elevation (Run as administrator)
I want to make the script run as administrator
but I want to make it show a message From User Account Control that tells me
Do You Want To Allow This App To Make Changes To Your Device YES NO
but I want to do that Via Python Code