- Supported OS Version: Windows NT 6.0 or later
- Supported CPU Architecture: x86, x86-64(AMD64), ARM, ARM64
- Please go to the [CPU Architecture] folder and click NSudo.exe. Follow the
prompts.
- For example, if you want to use 64-bit NSudo on your Intel or AMD device, you need to go to the x64 folder and click NSudo.exe
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
Context Menu:
-Install Copy NSudo to the Windows directory and add the context menu.
-Uninstall Remove NSudo in the Windows directory and the context menu.
PS:
1. All NSudo command arguments is case-insensitive.
2. You can use the "/" override "-" in the command line parameters. For
example, "/U:T" and "-U:T" are equivalent.
3. To ensure the best experience, NSudoC does not support context menu.
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"
- RapidJSON
- Copyright: Tencent and Milo Yip
- License: https://github.com/Tencent/rapidjson/blob/master/license.txt
- (Optional) VC-LTL
- Copyright: Chuyu Team
- License: https://github.com/Chuyu-Team/VC-LTL/blob/master/LICENSE.txt
See Changelog.md for more details.
See People.md for more details.
- GitHub Repository
- The main repository, contains source code of NSudo >= 4.0
- https://github.com/M2Team/NSudo
- GitHub Repository
- The history repository, contains source code of NSudo < 4.0
- https://github.com/MouriNaruto/NSudo-Legacy-Repository
- OSChina Repository
- The mirror repository, contains source code of NSudo >= 4.0
- https://gitee.com/M2-Team/NSudo
- If you need to compile NSudo, you need to install Visual Studio 2017 first.
- You need to change the Windows SDK version in the project properties if the version of Windows 10 SDK I used isn't installed on your PC. You also need install ARM and ARM64 components when you installing the Windows 10 Version 1703 SDK or later.
- (Optional) If you want to reduce the release mode binaries size for x86, x64
and ARM64 port of NSudo, you can use VC-LTL.
- VC-LTL GitHub Repository: https://github.com/Chuyu-Team/VC-LTL
- How to use VC-LTL to optimize NSudo binaries size:
- Download VC-LTL binary pack from https://github.com/Chuyu-Team/VC-LTL/releases/latest.
- Unpack the VC-LTL binary pack and double-click install.cmd in the unpack folder.
- Compile NSudo by Visual Studio 2017.
- I hope these infomation can help you.
- MDL Post: https://forums.mydigitallife.net/threads/59268/
- QQ Group: 466078631
- E-mail: [email protected]