Skip to content

Commit

Permalink
feat: add NSudo for general use in the playbook
Browse files Browse the repository at this point in the history
NSudo can be used in AME Wizard for de-elevation from TrustedInstaller to the current user (admin or not), which can be useful for restarting Explorer properly, uninstalling certain applications, etc...

It is deleted after the playbook has completed to prevent any false flags in antiviruses after installation.
  • Loading branch information
he3als committed Aug 4, 2023
1 parent 6df1087 commit 4af3982
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 17 deletions.
33 changes: 17 additions & 16 deletions src/playbook/Configuration/tweaks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,6 @@ features:
- tweaks\statuses\status-ngen.yml
- tweaks\scripts\script-ngen.yml

# -----------------------------------------------------
# Misc
# -----------------------------------------------------
# >>> Description <<<
#
# Miscellaneous tweaks which do not fit into other
# categories.
# -----------------------------------------------------
- tweaks\statuses\status-misc.yml
- tweaks\misc\config-time.yml
- tweaks\misc\disable-fast-user-switching.yml
- tweaks\misc\disable-game-mode.yml
- tweaks\misc\fix-no-downloads-bug.yml
- tweaks\misc\oem-information.yml
- tweaks\misc\rebuild-perf-counters.yml

# -----------------------------------------------------
# Networking
# -----------------------------------------------------
Expand Down Expand Up @@ -349,3 +333,20 @@ features:
- tweaks\scripts\script-wallpaper.yml
- tweaks\scripts\script-finalize.yml
- tweaks\scripts\script-backup2.yml

# -----------------------------------------------------
# Misc
# -----------------------------------------------------
# >>> Description <<<
#
# Miscellaneous tweaks which do not fit into other
# categories.
# -----------------------------------------------------
- tweaks\statuses\status-misc.yml
- tweaks\misc\config-time.yml
- tweaks\misc\disable-fast-user-switching.yml
- tweaks\misc\disable-game-mode.yml
- tweaks\misc\fix-no-downloads-bug.yml
- tweaks\misc\oem-information.yml
- tweaks\misc\rebuild-perf-counters.yml
- tweaks\misc\delete-nsudo.yml
6 changes: 6 additions & 0 deletions src/playbook/Configuration/tweaks/misc/delete-nsudo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Delete Temporary NSudo
description: Deletes the temporary NSudo used for de-elevation in AME Wizard
privilege: TrustedInstaller
actions:
!file: {path: 'C:\Windows\AtlasModules\Tools\NSudoLG.exe'}
15 changes: 14 additions & 1 deletion src/playbook/Executables/AtlasModules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,25 @@ To verify the legitmacy of these binaries (executables), there is information pr
- SHA256 Hash: `10A9AB81DE68A6ACEBD6E0D393ECC8869A4DAE852F78CF9093740AD8752DA0DE`
- Source: https://github.com/Atlas-OS/Atlas-Utilities/releases/download/filepicker-rs-v0.1/filepicker.exe
- Repository: https://github.com/Atlas-OS/Atlas-Utilities
- Version: v0.1
- License: [GNU General Public License v3.0](https://github.com/Atlas-OS/utilities/blob/main/LICENSE)
- Last Verified: 29/07/23 by he3als

### Multi-Choice
- Directory: `\AtlasModules\Tools\multichoice.exe`
- SHA256 Hash: `6AB2FF0163AFE0FAC4E7506F9A63293421A1880076944339700A59A06578927D`
- Source: https://github.com/Atlas-OS/Atlas-Utilities/releases/download/multichoice-v0.4/multichoice-compressed.exe
- Repository: https://github.com/Atlas-OS/Atlas-Utilities
- Last Verified: 29/07/23 by he3als
- Version: v0.4
- Renamed to `multichoice.exe`
- License: [GNU General Public License v3.0](https://github.com/Atlas-OS/utilities/blob/main/LICENSE)
- Last Verified: 29/07/23 by he3als

## NSudo
- Directory: `\AtlasModules\Tools\nsudo.exe`
- SHA256 Hash: `BDD9286EAEFC70E313748693A0372EAA18DE535FFEBFAE0EF658F88F53073E6F`
- Source: https://github.com/M2TeamArchived/NSudo/releases/download/9.0-Preview1/NSudo_9.0_Preview1_9.0.2676.0.zip
- Repository: https://github.com/M2TeamArchived/NSudo
- Version: 9.0 Preview 1 (9.0.2676.0)
- License: [The MIT License](https://github.com/M2TeamArchived/NSudo/blob/master/License.md)
- Last Verified: 04/08/23 by he3als
Binary file not shown.

0 comments on commit 4af3982

Please sign in to comment.