0

Using the command (or another command/module) subprocess.call(['filepath.exe']), can you run an elevated command prompt without having to input an admin username and password?

(Windows 7 - assuming I cannot access command prompt through run or the start menu)

jfs
  • 399,953
  • 195
  • 994
  • 1,670
0llie_C
  • 17
  • 4
  • Take a look at this: http://stackoverflow.com/questions/8249705/how-to-run-an-app-as-run-as-administrator-from-command-prompt – Jayanth Koushik Mar 18 '14 at 10:11
  • Run the script as administrator. Otherwise, no. If programs could run something else as elevated, without asking the user, that would defeat the whole purpose of UAC. – poke Mar 18 '14 at 10:12

0 Answers0