Double click the NSudo.bat, it will start the NSudo according to the CPU architecture. Follow the prompts.
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"
- Supported OS Version: Windows NT 6.0 or later
- Supported CPU Architecture: x86, x86-64(AMD64), ARM, ARM64
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 |
See Changelog.md for more details.
See People.md for more details.
- GitHub Repository (The main repository, contains source code of NSudo >= 4.0)
- GitHub Repository (The history repository, contains source code of NSudo < 4.0)
- OSChina Repository (The mirror repository, contains source code of NSudo >= 4.0)
- MDL Post : https://forums.mydigitallife.net/threads/nsudo-a-powerful-system-administration-tool.59268/
- QQ Group : 466078631
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.