NSudo - launch programs with full privileges

Discussion in 'other software & services' started by guest, Sep 19, 2017.

  1. guest

    guest Guest

    NSudo.png NSudo_.png

    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):
    NSudo_Total_Commander_.png
    In Processhacker the process is colored blue (System Processes) and the TrustedInstaller Token can be seen in the Properties:
    NSudo_Total_Commander.png
    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:
    NSudo_About.png

    Current version: NSudo v5.1.1708.19 (August 21, 2017)
    Website
    Download / Majorgeeks
     
  2. guest

    guest Guest

    NSudo v5.2.1710.26 Released (October 26, 2017)
    Download
    Changelog:
     
  3. WildByDesign

    WildByDesign Registered Member

    Joined:
    Sep 24, 2013
    Posts:
    2,587
    Location:
    Toronto, Canada
    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?
     
  4. guest

    guest Guest

    NSudo itself needs administrator rights (manifest: requestedExecutionLevel level="requireAdministrator")
     
  5. guest

    guest Guest

    NSudo v5.3.1801.11 Released (January 11, 2018)
    Download
    Changelog:
     
  6. guest

    guest Guest

    NSudo v6.0 R1 (6.0.1801.19) Released (January 20, 2018)
    Download
    Changelog:
     
  7. guest

    guest Guest

    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
    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.
     
    Last edited by a moderator: Feb 2, 2018
  8. WildByDesign

    WildByDesign Registered Member

    Joined:
    Sep 24, 2013
    Posts:
    2,587
    Location:
    Toronto, Canada
  9. guest

    guest Guest

    Thanks :)
    First i have overlooked the release on Github because i have expected that the latest release is always on top :cautious:
     
  10. guest

    guest Guest

    NSudo v6.0 R3 (6.0.1804.5) Released (April 5, 2018)
    Download
    Changelog
     
  11. WildByDesign

    WildByDesign Registered Member

    Joined:
    Sep 24, 2013
    Posts:
    2,587
    Location:
    Toronto, Canada
    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.
     
  12. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,126
    Location:
    U.S.A. (South)
    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.
     
  13. WildByDesign

    WildByDesign Registered Member

    Joined:
    Sep 24, 2013
    Posts:
    2,587
    Location:
    Toronto, Canada
    @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.
     
  14. guest

    guest Guest

    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:
    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.
     
  15. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,126
    Location:
    U.S.A. (South)
    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) :rolleyes: 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!
     
  16. WildByDesign

    WildByDesign Registered Member

    Joined:
    Sep 24, 2013
    Posts:
    2,587
    Location:
    Toronto, Canada
    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:

    appcontainer.png
     
  17. guest

    guest Guest

    NSudo v6.1 (6.1.1811.8) Released (November 19, 2018)
    Download
    Changelog
    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.
     
  18. guest

    guest Guest

    NSudo v6.2 (6.2.1812.31) Released (December 31, 2018)
    Download
    Changelog
     
  19. guest

    guest Guest

    NSudo v8.0 Release Candidate Released (March 3, 2020)
    Offcial Website
    Download (GitHub)
    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.)
     
  20. guest

    guest Guest

    NSudo v8.0 Released (March 8, 2020)
    Offcial Website
    Download (GitHub)
    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.)
     
  21. guest

    guest Guest

    NSudo v8.0 Update 1 (8.0.1) Released (December 26, 2020)
    Offcial Website
    Download (GitHub)
    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
     
  22. guest

    guest Guest

    NSudo 8.2 Released (June 6, 2020)
    Offcial Website
    Download (GitHub)
    Updated in 6th June, 2021

    Where is NSudo 8.1?
    For my careless commit (23d65f8) , I hadn't remove the "Update 1" and make "NSudo 8.1 Update 1" earlier than "NSudo 8.1". So, the "NSudo 8.1" will be skipped and it will be "NSudo 8.2". (It can reduce some confusion.)

    Release Notes
    • Add the Current User (Elevated) mode support. (Advised by xspeed1989.)
    • Fix the blocking bug when using NSudo under Windows Service context. (Thanks
      to xspeed1989.)
    • Improve several implementations.
    • Fix the issue that the UI is Chinese when NSudo is running under an
      unsupported language setting. (Thanks to rlesch.)(#56)
    • Update to the latest Mile.Cpp packages.
      • Update Mile.Project to the latest Mile.Project.VisualStudio.
      • Merge Mile.Windows.TrustedLibraryLoader and Mile.Platform.Windows to the
        latest Mile.Library.
      • Update to the latest VC-LTL.
    • Update Windows Template Library (WTL) to 10.0.10320 Release.
    • Remove ARM32 support.
    • Make several improvements in the documentation.
      • Improve the website. (Contributed by 青春永不落幕.)
      • Improve the Gitee experience.
      • Use GitHub Actions to deploy the website.
    • Add German Language. (Contributed by Steve.)
    • Remove some experiment implementations, including NSudo Sweeper.
    • Add logging support.
     
  23. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,126
    Location:
    U.S.A. (South)
    Picked up this latest release just today. Thanks for the details even if i'm but a few weeks lagged.
     
  24. guest

    guest Guest

    NSudo 9.0 Preview 1 (9.0.2676.0) Released (August 28, 2021)
    Offcial Website
    Download (GitHub)
    Updated in 28th August, 2021

    Release Notes
    • Fixed an issue "GUI doesn't start in operating systems language" mentioned in #66. (Thanks to Steve.)
    • Fixed an issue when getting the SYSTEM access token. (Thanks to _kod0k and DennyAmaro.)
    • Implement the infrastructure of NSudo context plugin and interactive console. (Thanks to Legna and Microsoft_Mars.)
      • Warning: The ABI of NSudo context plugin won't be stable until NSudo 9.0 final version released. It's still under construction.
    • Introduce the Mouri Optimization Plugin as the NSudo context plugin example. (Thanks to Legna, mingkuang, Microsoft_Mars, sdtzsf and abbodi1406.)
      Here are the supported features in Mouri Optimization Plugin:
      • Perform defrag for memory via swapping most contents from the physical memory to the page file.
      • Enable the "Receive updates for other Microsoft products when you update Windows" option in Windows Update.
      • Manage the CompactOS feature.
      • Purge the web cache in the Chromium-based applications, including Chrome, Chromium-based Edge, Electron-based applications, etc.
      • Purge the corrupted AppX packages.
      • Purge the cache in the Delivery Optimization.
      • Purge the web cache in the Gecko-based applications, including Firefox, Waterfox, Pale Moon, etc.
      • Purge the cache in the NuGet safely.
      • Purge the cache in the Package Cache folder safely.
      • Purge the system restore points.
      • Purge the web cache in the Trident based applications, including Internet Explorer, Legacy Edge, MSHTML based applications, Edge WebView based applications, etc.
      • Purge the cache in the Visual Studio Code.
      • Purge the cache in the Visual Studio Installer safely.
      • Purge the Windows Event Log.
      • Update the apps from Microsoft Store.
    • Update to VC-LTL 5.0.1-Beta4 (Cooperate with mingkuang.).
    Download mirror for Chinese users (Sponsored by Legna)
    • Binary: https://d.legna.cn/M2Team/NSudo/NSudo_9.0_Preview1_9.0.2676.0.zip
    • Debug Symbols: https://d.legna.cn/M2Team/NSudo/NSudo_9.0_Preview1_9.0.2676.0_DebugSymbols.zip
    Known issues
    • Note: The environment configuration feature will be delayed to Preview 2.
    • Warning: The ABI of NSudo context plugin won't be stable until NSudo 9.0 final version released. It's still under construction.
     
  25. EASTER

    EASTER Registered Member

    Joined:
    Jul 28, 2007
    Posts:
    11,126
    Location:
    U.S.A. (South)
    Awesome @mood. Appreciate the updated notice for this one.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.