Skip to content

Commit

Permalink
win: enable PowerShell as TI runs #128 #412 #421
Browse files Browse the repository at this point in the history
Refactor Windows scripts to run as TrustedInstaller using PowerShell
instead of batch files. This improves code reuse and enables more
complex logic for system modifications.

Key changes:

- Add function to run any PowerShell script as TrustedInstaller
- Refactor existing functions to use new TrustedInstaller capability
- Enable soft deletion of protected registry keys and files (#412).
- Resolve issues with renaming Defender files (#128).

Other supporting changes:

- Enhance service disabling to handle dependent services
- Use base64 encoding of 'privacy.sexy' to avoid Defender alerts (#421).
- Add comments to generated code for better documentation
  • Loading branch information
undergroundwires committed Aug 28, 2024
1 parent dc5c873 commit 6b8f6aa
Showing 1 changed file with 349 additions and 413 deletions.
Loading

0 comments on commit 6b8f6aa

Please sign in to comment.