Topic: Nsudo  (Read 2681 times)

Nsudo
« on: April 04, 2018, 01:37:56 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
NSudo - A Powerful System Administration Tool that adds (Run As TrustedInstaller) and (Run As System) with Elevated Permissions to the Rt Context Menu.

Re: Nsudo
« Reply #1 on: April 04, 2018, 01:39:23 PM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
the Right-Click is clever, I am def using it, thnx  :wink:
« Last Edit: April 04, 2018, 01:40:47 PM by bob.omb »

Re: Nsudo
« Reply #2 on: April 05, 2018, 03:11:35 AM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
I am testing with the following context keys and a shortcut for NSudo if I want to use Trusted Installer

Admin keys are only to change from "Run as administrator" ===> "Run as Administrator" so the "Run as System" looks correct...

This way it only offers to "Run As" on executable files... Also it makes choosing System or Admin accts during build a no brainer if you need both...(Admin with these keys)  I am copying NSudo to Sys32

Code: [Select]
RegHiveLoad,Tmp_Software,%RegSoftware%
RegWrite,HKLM,0x1,Tmp_Software\Classes\batfile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cmdfile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\exefile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\mscfile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cplfile\shell\runas,,"Run as Administrator"
RegWrite,HKLM,0x1,Tmp_Software\Classes\batfile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\batfile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\batfile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cmdfile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cmdfile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\cmdfile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegWrite,HKLM,0x1,Tmp_Software\Classes\exefile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\exefile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\exefile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cplfile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\cplfile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\cplfile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegWrite,HKLM,0x1,Tmp_Software\Classes\mscfile\shell\runas2,,"Run as System"
RegWrite,HKLM,0x1,Tmp_Software\Classes\mscfile\shell\runas2,HasLUAShield,
RegWrite,HKLM,0x2,Tmp_Software\Classes\mscfile\shell\runas2\command,,"#$qX:\Windows\System32\NSudo.exe#$q -U:S -P:E #$q#$q#$p1#$q#$q"
RegHiveUnLoad,Tmp_Software

**Fixed Keys.... needed extra #$q <==>#$q around the 1%
« Last Edit: April 05, 2018, 03:48:12 AM by bob.omb »

Re: Nsudo
« Reply #3 on: April 05, 2018, 01:11:04 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
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.
« Last Edit: April 05, 2018, 01:16:50 PM by James »

Re: Nsudo
« Reply #4 on: May 18, 2018, 10:40:06 PM »

bob.omb

  • Code Baker
  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Jul 2017
  • Posts: 1261
New NSudo version available... 6.0.1804.5

https://github.com/M2Team/NSudo/releases
« Last Edit: May 18, 2018, 10:40:41 PM by bob.omb »

 

Powered by EzPortal