NSudo | Series of System Administration Tools | General Thread

Discussion in 'MDL Projects and Applications' started by Mouri_Naruto, Feb 6, 2015.

?

These things you maybe see in the future version of NSudo. What do you think about?

Poll closed Sep 13, 2019.
  1. Publish to Chocolatey? (Suggested by wwtex.)

    8 vote(s)
    66.7%
  2. Publish to scoop? (Suggested by wwtex.)

    1 vote(s)
    8.3%
  3. Publish to Windows Store? (Desktop Bridge.)

    3 vote(s)
    25.0%
  4. Add NSudo Configuration Editor?

    9 vote(s)
    75.0%
  5. Using Qt to implement the UI? (It may increase the binary size of NSudo.)

    3 vote(s)
    25.0%
  6. Compile NSudo with CMake?

    3 vote(s)
    25.0%
  7. Yes

    0 vote(s)
    0.0%
  8. No

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    555
    1,902
    30
  2. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    555
    1,902
    30
  3. v72dd

    v72dd MDL Senior Member

    Nov 20, 2016
    445
    77
    10
    Or maybe I port to Delphi...
     
  4. niche99

    niche99 MDL Junior Member

    Oct 5, 2009
    79
    14
    0
    #225 niche99, Apr 14, 2018
    Last edited: Apr 14, 2018
    Are spaces in paths now working in latest version?

    Nevermind, just checked R3, spaces in paths are still a problem.
     
  5. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    555
    1,902
    30
    I will try my best to solve it.
     
  6. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,769
    7,711
    210
    Unfortunately, Windows was never really good with spaces in paths, they haunt us one way or another, since at least Windows 95.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. v72dd

    v72dd MDL Senior Member

    Nov 20, 2016
    445
    77
    10
  8. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    555
    1,902
    30
    upload_2018-5-18_15-24-40.png

    I'm sorry, because I was busy a while ago. So I didn't start to develop NSudo until yesterday.

    Today, I add a new argument called "-Wait" or "/Wait" for NSudo.
    Although it works (you can know it on my screenshot), I found the limitations of the NSudo command-line parser. So I need to improve NSudo command-line parser before I add other commands.
     
  9. v72dd

    v72dd MDL Senior Member

    Nov 20, 2016
    445
    77
    10
  10. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    555
    1,902
    30
    Do you mind if the NSudo's command line arguments are case-sensitive?
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,209
    90,791
    340
    No, i always use capital letters
     
  12. v72dd

    v72dd MDL Senior Member

    Nov 20, 2016
    445
    77
    10
    Any update?
     
  13. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    555
    1,902
    30
    I'm refactoring NSudo's source code.

    I will use a third-party command line parser to parse the command line and it may cause that NSudo 6.1 will not compatible with the command line parameters which the earlier version used and users need to watch the NSudo's command line help again after NSudo 6.1 published.

    I will use several design patterns like singleton, object oriented and etc. Because I hope more and more people can contribute NSudo easily.

    The goal of NSudo development plan is that NSudo 6.1 can replace the runas and psexec tool. And I hope I can make it come ture because the plan is starting from NSudo 4.0.

    And I hope some people can help me write the help documentations for NSudo because I am not good at teaching others.

    Mouri
     
  14. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    555
    1,902
    30
    This is my idea of the command line usage for the future version of NSudo:

    Code:
    NSudo /RunAs="User Current" cmd
    NSudo /RunAs="User System" cmd
    NSudo /RunAs="User AnotherUser" cmd
    NSudo /RunAs="Service TrustedInstaller" cmd
    NSudo /RunAs="SessionID 3" cmd
    NSudo /RunAs="ProcessID 2333" cmd
    NSudo /RunAs="Process AS SSD Benchmark.exe" cmd
    NSudo /RunAs="AppContainer Microsoft.MicrosoftEdge_8wekyb3d8bbwe" cmd
    NSudo /RunAs="AppContainerSID S-1-15-2-4091397703-2130778903-3059587552-834565532-3998612792-80322464-294630515" cmd
    
    NSudo /RunAs="..." /WorkDir="C:\Workspace\NSudo Test Folder" cmd
    
    NSudo /RunAs="..." /Wait="Infinity" cmd
    NSudo /RunAs="..." /Wait="1000" cmd
    
    NSudo /RunAs="..." /Mode="Elevated" cmd
    NSudo /RunAs="..." /Mode="LUA" cmd
    NSudo /RunAs="..." /Mode="EnableAllPrivileges" cmd
    NSudo /RunAs="..." /Mode="DisableAllPrivileges" cmd
    
    NSudo /RunAs="..." /IntegrityLevel="Low" cmd
    NSudo /RunAs="..." /IntegrityLevel="Medium" cmd
    NSudo /RunAs="..." /IntegrityLevel="MediumPlus" cmd
    NSudo /RunAs="..." /IntegrityLevel="High" cmd
    NSudo /RunAs="..." /IntegrityLevel="System" cmd
    NSudo /RunAs="..." /IntegrityLevelID="8192" cmd
    
    NSudo /RunAs="..." /ProcessPriority="Idle" cmd
    NSudo /RunAs="..." /ProcessPriority="BelowNormal" cmd
    NSudo /RunAs="..." /ProcessPriority="Normal" cmd
    NSudo /RunAs="..." /ProcessPriority="AboveNormal" cmd
    NSudo /RunAs="..." /ProcessPriority="High" cmd
    NSudo /RunAs="..." /ProcessPriority="RealTime" cmd
    
    NSudo /RunAs="..." /ShowWindowMode="Show" cmd
    NSudo /RunAs="..." /ShowWindowMode="Hide" cmd
    NSudo /RunAs="..." /ShowWindowMode="Maximize" cmd
    NSudo /RunAs="..." /ShowWindowMode="Minimize" cmd
    
    NSudo /RunAs="..." cmd /c start /wait "" "C:\Program Files\Internet Explorer\iexplore.exe"
    
    NSudo /?
    NSudo /h
    NSudo /Help
    
    NSudo /Install
    NSudo /Uninstall
    What do you think about that?

    Mouri
     
  15. v72dd

    v72dd MDL Senior Member

    Nov 20, 2016
    445
    77
    10
    Excellent. Will it be case sensitive?
     
  16. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    555
    1,902
    30
    May be case insensitive if I can.
     
  17. v72dd

    v72dd MDL Senior Member

    Nov 20, 2016
    445
    77
    10
    For first no need. Later try.
     
  18. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    Any updates? I noticed that right-click and launch with NSudo context-menu does not always produce the same result as launching NSudo.exe first and then starting the same program. Permissions differ sometimes, even though "Trusted Installer All Permissions" option is selected every time.
     
  19. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    555
    1,902
    30
    Thank you for feedback. I hope I can fix it.