[Python] Python: Script to delete folders from system32 or SysWOW64

Discussão em 'Python' iniciado por Stack, Abril 25, 2025.

  1. Stack

    Stack Membro Participativo

    I'm trying to write a script which deletes the C:\Windows\System32\Macromed and the C:Windows\SysWOW64\Macromed (basically adobe flash manual uninstall files).

    What I'm running into is permissions issues from windows due to it needing elevated permissions to delete these folders. However, Windows isn't prompting me to agree to permissions nor asking for my admin username/password to allow me to delete those folders.

    I've tried looking online and saw how the shutil.rmtree() works but like I said, running into the permissions wall thing.

    Continue reading...

Compartilhe esta Página