Git Product home page Git Product logo

nsudo's Introduction

NSudo - A Powerful System Administration Tool

appveyor.badge release.badge latestdownloads.badge totaldownloads.badge license.badge donate.badge

  • 简体中文

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

System Requirements

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

Usage

  • 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

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

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"

3rd-party libraries which used

Changelogs

See Changelog.md for more details.

Relevant People

See People.md for more details.

Git Repositories

The way to compile 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.
  • I hope these infomation can help you.

Communication

Have a good time -- M2-Team

nsudo's People

Contributors

mourinaruto avatar myfreeer avatar fcharlie avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.