With NSudo applications can be launched with full privileges. For example the registry editor can be launched with NSudo and the user has now access to registry keys which are not accessible with administrator rights. After launching of the filemanager Total Commander with full privileges (+TrustedInstaller): In Processhacker the process is colored blue (System Processes) and the TrustedInstaller Token can be seen in the Properties: Now it is possible to change files in subdirectories of c:\Windows\SystemApps (only TrustedInstaller has full access rights to files) To have access to often used applications, the file NSudo.json can be edited to add further shortcuts, for example: "Registry Editor": "c:\Windows\regedit.exe" After adding it there is no need to browse to this file after each launch of NSudo. Command Line Options are also available: Current version: NSudo v5.1.1708.19 (August 21, 2017) Website Download / Majorgeeks
Will this work from a Standard User Account to elevate under the same user context (like SuRun program) or would this require a typical Admin account to being with?
NSudo itself needs administrator rights (manifest: requestedExecutionLevel level="requireAdministrator")
Some nice changes in this new release. It is now DPI-aware and provides has a console-version, etc. NSudo v6.0 R2 (6.0.1802.02) Released (February 2, 2018) Edit: "PS: This Build has bug" (there is a new build "R2 v2": #8) Download Changelog Spoiler: Changelog v6.0 R2 NSudo 6.0.1802.2 Fix several bugs and improve several implementations. Add two standalone executable files used in different situations. NSudoC.exe The pure command line version and subsystem setting is "Console". Work well in the console, but it has a black console window if you call it in the non-Console processes. To ensure the best experience, NSudoC does not support context menu. NSudoG.exe The pure command line version and subsystem setting is "Windows" It can run silently, without a black console window. NSudo will show the message via the M2MessageDialog instead of TaskDialog. Reasons NSudo can provide more detail infomation when error because of it have vertical scroll bar. You can copy the content in the message dialog. Support using by the Windows Narrator, so you can use CapsLock+H to read the content by the Windows Narrator. The font size is larger than the TaskDialog. Features of M2MessageDialog Fully support Per-Monitor DPI Aware in Windows 10 Build 10240 or later. Fully support Windows Narrator. You can use the vertical scroll bar and copy the content. The font size is larger than the TaskDialog. You can press Enter to close the message dialog. If you want to use the M2MessageDialog in your project, please download these files in https://github.com/M2Team/NSudo/tree/master/NSudoSDK M2DPIScaling.cpp M2DPIScaling.h M2MessageDialog.cpp M2MessageDialog.h M2MessageDialogResource.h M2MessageDialogResource.rc Remove Traditional Chinese and Japanese translation because the translation is out of date and I don't know how to use. Update JSON for Modern C++ to 3.0.1 Context Menu Add multilingual descriptions. Add "Enable All Privileges" options for all item in the context menu. Update the command line help and documents.
There seems to be a release 2 of R2 a few hours after. Link: https://github.com/M2Team/NSudo/releases/tag/6.0-R2-v2
Thanks First i have overlooked the release on Github because i have expected that the latest release is always on top
Just a heads up, Privexec is another interesting and fun open source tool from the M2Team developers. Link: https://github.com/M2Team/Privexec To download, you must either compile the code or visit their AppVeyor site and download the binaries from artifacts section. The downloaded archive contains a GUI version and also a command line version (wsudo). You can even launch apps within AppContainer sandbox which is neat, however, the capabilities are lacking to give those apps enough functionality or access to file system. I am looking into the code though to see about adding more capabilities and compile code from there. But I've got to do some research first on the capabilities.
Thanks WBD- NSudo already is been a help on this end with pressure testing Permissions and works just as expected. NTFS Permission Tools or commonly referred by it's shortname NPT64 is the other end of the Spectrum I regularly use to lift or apply preferred settings to some critical areas I like to seal down or gain access to. Much appreciated.
@EASTER You're welcome. It has been quite a while since I had last played around with NTFS Permission Tool. But at that time, my understanding of permissions was lacking and I ended up causing more problems. I would like to revisit that program again soon.
This is the latest version which can be found & downloaded on GitHub. Preview builds (current version: v6.1.1811.7) are also available and can be downloaded there: Spoiler: Changelog NSudo 6.1.1811.7 Remove donation link in the documents. Improve several implementations. Using ATL to implement the main window. Fix the context menu bug. (Thanks to Thomas Dubreuil.) Fix several bugs in the command line parser. Add "Priority" option in the command line usage. (Suggested by testtest322.) Add "CurrentDirectory" option in the command line usage. (Suggested by testtest322.) Introduce the new frontend of process creation. Modify "Wait" option in the command line usage. Add "ShowWindowMode" option in the command line usage. (Suggested by testtest322.) Add "UseCurrentConsole" option in the command line usage. Remove some undocumented command line usage. NSudo 6.1.1808.16 Merge NSudoC and NSudoG projects to NSudo project. Update copyright of license. Add VC-LTL 4.0 or later support for NSudo release configuration for ARM and ARM64 and drop the earlier version of VC-LTL support. (Huge thanks to mingkuang.) Refactoring the command line parser. Add "Wait" option in the command line usage. (Suggested by testtest322, wzzw and Domagoj Smolčić) Add "Help" and "Version" option in the command line usage.
That is completely understandable. I recently ran into something of an imbalance on some occasions while experimenting with it and ended up applying Tweaking.com's Windows Repair to fix the mess of own making (and to save time) Still it can prove useful to finally get a handle on permissions and just how far matters can be adjusted. Really interesting once you spend time sorting thru them actually. @mood Thanks for the new update of NSudo!
Guys/Gals, not sure yet whether or not Privexec deserves it's own dedicated thread or not. Someone can start that if they like. I just wanted to give a brief heads up that the Privexec developer (NSudo developer) has added my feature request (https://github.com/M2Team/Privexec/issues/2) to add "Capabilities" section to AppContainer execution. This is quite exciting although I don't know how far into development this specific feature is just yet. Anyway, anyone who wants to test can grab the latest zip archive from the Artifacts section (https://ci.appveyor.com/project/fcharlie/privexec/build/artifacts). Example:
NSudo v6.1 (6.1.1811.8) Released (November 19, 2018) Download Changelog Spoiler: Changelog v6.1 NSudo 6.1.1811.18 Merge NSudoC and NSudoG projects to NSudo project. Add VC-LTL 4.0 or later support for NSudo release configuration for ARM and ARM64 and drop the earlier version of VC-LTL support. (Huge thanks to mingkuang.) Add the following options in the command line usage. CurrentDirectory (Suggested by testtest322.) Help H Priority (Suggested by testtest322.) ShowWindowMode (Suggested by testtest322.) UseCurrentConsole Version Wait (Suggested by testtest322, wzzw and Domagoj Smolčić) Remove some undocumented command line usage. Improve several implementations. Refactoring the command line parser. Introduce the new frontend of process creation. Using ATL to implement the main window. Fix the context menu bug. (Thanks to Thomas Dubreuil.) Update copyright of license. Remove donation link in the documents.
NSudo v8.0 Release Candidate Released (March 3, 2020) Offcial Website Download (GitHub) Spoiler: More info, Changelog For users Maybe some bugs in NSudo 6.2 have not fixed because I forget that and NSudo 8.0 changes a lot. I am sorry. I hope you can feedback again if you meet these in 8.0 again. Some documents only have English version. (I will update the Chinese documents because I am a Chinese. I hope someone can make contribution about the other languages which I can't understand.) For developers In my opinion, NSudo Devil Mode is stable enough for production. I hope more and more people will get benefits from that. (Reference: m2team.github.io/NSudo/en-us/docs/DevilMode.html) The AppVeyor CI and GitHub CI compile bugs won't be fixed until the next version. I can't promise that I don't break the ABI compatibility of NSudoAPI.dll (There is only NSudoCreateProcess API in it.) in the next version. (Because it's still under construction.) (Reference: m2team.github.io/NSudo/en-us/docs/SharedLibrary.html) Change Log NSudo 8.0 Reduce the binary size. Use FILE instead of std::ifstream. Use new compiler options. Merge NSudo to NSudoG. Optimize the icon resource. Use jsmn instead of JSON for Modern C++. Rename NSudo itself to NSudo Launcher. (NSudoLG.exe and NSudoLC.exe) Remove context menu support because you can use Thdub/NSudo_Installer for better experience. Add Itlian Language. (Contributed by garf02.) Use the Semantic Versioning format. Improve several implementations and documents. Add implementations for developers. Add NSudo Shared Library with C/C++ and .Net interoperability support. Add NSudo Devil Mode (NSudoDM). Add Mouri Internal Library Essentials (Mile). Noticeable things about compiling this project. Update to Visual Studio 2019. Update to the newest Windows 10 SDK. Improve AppVeyor CI and GitHub Actions CI support. (Thanks to Margen67.)
NSudo v8.0 Released (March 8, 2020) Offcial Website Download (GitHub) Spoiler: More info, Changelog For users Maybe some bugs in NSudo 6.2 have not fixed because I forget that and NSudo 8.0 changes a lot. I am sorry. I hope you can feedback again if you meet these in 8.0 again. Some documents only have English version. (I hope someone can make contribution about the other languages which I can't understand.)(P.S. I am a Chinese but I don't know the professional IT words in Chinese Traditional, So I hope some people can help me about that.) For developers In my opinion, NSudo Devil Mode is stable enough for production. I hope more and more people will get benefits from that. (Reference: m2team.github.io/NSudo/en-us/docs/DevilMode.html) The AppVeyor CI and GitHub CI compile bugs won't be fixed until the next version. I can't promise that I don't break the ABI compatibility of NSudoAPI.dll (There is only NSudoCreateProcess API in it.) in the next version. (Because it's still under construction.) (Reference: m2team.github.io/NSudo/en-us/docs/SharedLibrary.html) Change Log NSudo 8.0 Reduce the binary size. Use FILE instead of std::ifstream. Use new compiler options. Merge NSudo to NSudoG. Optimize the icon resource. Use jsmn instead of JSON for Modern C++. Rename NSudo itself to NSudo Launcher. (NSudoLG.exe and NSudoLC.exe) Remove context menu support because you can use Thdub/NSudo_Installer for better experience. Add Itlian Language. (Contributed by garf02.) Add Spanish Language. (Contributed by Miguel Obando.) Use the Semantic Versioning format. Improve several implementations and documents. Add implementations for developers. Add NSudo Shared Library with C/C++ and .Net interoperability support. Add NSudo Devil Mode (NSudoDM). Add Mouri Internal Library Essentials (Mile). Noticeable things about compiling this project. Update to Visual Studio 2019. Update to the newest Windows 10 SDK. Improve AppVeyor CI and GitHub Actions CI support. (Thanks to Margen67.)
NSudo v8.0 Update 1 (8.0.1) Released (December 26, 2020) Offcial Website Download (GitHub) Spoiler: Changelog Release Notes Update Italian translation. (Contributed by garf02.) Use VC-LTL NuGet package edition instead of standalone edition. (Thanks to mingkuang.) Create NSudo Sweeper (experiment). Use Windows Template Library (WTL) to build the UI. Improve the website. (Contributed by 青春永不落幕.) Reorganize the whole project. Add Mile, Mile.Project, MINT to the project for making NSudo more modularize. Improve the AppVeyor and GitHub Action CI support. (Thanks to mingkuang.) Add build all targets script. Update VC-LTL to 4.1.1-Beta7. Fix the crash bug under the Windows 10 Build 21277. (Thanks to jgtoy.) Update to .NET 5.0 for NSudo .NET Wrapper. Add user manual. Download Mirrors [For Chinese users] lanzous: wwe.lanzous.com/ikqoxjqzgsj