/NSudo

NSudo - A Powerful System Administration Tool

Primary LanguageC++MIT LicenseMIT

NSudo - A Powerful System Administration Tool

Build status Latest Release Download

  • 简体中文

  • Notice: NSudo is based on SuperCMD by Raymai97.Visit here for more information about SuperCMD.

Usage

Double click the NSudo.bat, it will start the NSudo according to the CPU architecture. Follow the prompts.

Command Line Options

Format: NSudo [ -U ] [ -P ] [ -M ] Command line or ShortCut Command
  -U:[ T | S | C | P | D ] User
  T TrustedInstaller
  S System
  C Current User
  P Current Process
  D Current Process (Drop right)

  -P:[ E | D ] Privilege
  E Enable All Privileges
  D Disable All Privileges
  PS: If you want to use the default privileges, please do not include the -P parameter.

  -M:[ S | H | M | L ] Integrity Level
  S System
  H High
  M Medium
  L Low
  PS: If you want to use the default Integrity Level, please do not include the -M parameter

  -? Show this content

  Example:If you want to run Command Prompt with TrustedInstaller, enable all privileges and the default Integrity Level
  NSudo -U:T -P:E cmd

Example:If you want to run Command Prompt with TrustedInstaller, enable all privileges and the default Integrity Level

NSudo -U:T -P:E cmd

You can edit NSudo.json to custom the Shortcut list, here are the demo (NSudo.json in the NSudo.exe's folder):

{
  "ShortCutList_V2": {
    "Command Prompt": "cmd",
    "PowerShell": "powershell",
    "PowerShell ISE": "powershell_ise",
    "Edit Hosts": "notepad %windir%\\System32\\Drivers\\etc\\hosts"
  }
}

Starting from NSudo 5.0.1708.16, the command line nested quotes is supported. For example:

NSudo -U:T cmd /c "dir "C:\Program Files" & pause"

System Requirements

  • Supported OS Version: Windows NT 6.0 or later
  • Supported CPU Architecture: x86, x86-64(AMD64), ARM, ARM64

License

NSudo is distributed under the MIT License, see LICENSE for more details.

The name of 3rd-party library Developer License
JSON for Modern C++ Niels Lohmann The MIT License

Changelogs

See Changelog.md for more details.

Relevant People

See People.md for more details.

Git Repositories

Communication

Donate

If you want to support this project, you can use the PayPal (https://www.paypal.me/MouriNaruto) for payment to our account. Your donation is one of driving forces for our development.

Have a good time -- M2-Team