I am using the shutil
module to delete a folder of windows7, however I would need Python to delete the folder using different credentials from the ones currently using the machine. Is it possible to set it to somehow the delete with different credentials?
Asked
Active
Viewed 100 times
2
-
Does this help: https://stackoverflow.com/questions/130763/request-uac-elevation-from-within-a-python-script ? – BlackJack Oct 18 '16 at 16:01
1 Answers
0
Run the python script using Windows Task Scheduler; there it's possible to run the code using different credentials.

Gonzalo
- 1,084
- 4
- 20
- 40