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. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    Windows Modules Installer = Trusted Installer = the super rights

    it's core part of the system, how or why do you remove it?
     
  2. v72dd

    v72dd MDL Senior Member

    Joined:
    Nov 20, 2016
    Messages:
    445
    Likes Received:
    77
    Trophy Points:
    10
    It works with devxexec?
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    We wouldn't need NSudo if it worked

    devxexec and psexec gets the system account rights, not Trusted Installer
     
  4. MonarchX

    MonarchX MDL Expert

    Joined:
    May 5, 2007
    Messages:
    1,732
    Likes Received:
    310
    Trophy Points:
    60
    I would like how to add "Open with NSudo" context menu that would at least open NSudo with Admin right + All Privileges + set to TrustedInstaller, but it would be way better additionally to opening NSudo with special rights, it would auto-select the .exe on which you clicked "Open with NSudo" . Making it auto-select and launch too is probably not a good choice as you may want to open other .exe files with that directory or use System or Process rights. How do I make it happen? I know how to create the context menu, but not the commands required and whater else is needed...
     
  5. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Joined:
    Jul 10, 2014
    Messages:
    416
    Likes Received:
    1,409
    Trophy Points:
    10
    I am writing the NSudo Context Menu for File Explorer.
    But I care about whether to bypass the UAC.
     
  6. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Joined:
    Jul 10, 2014
    Messages:
    416
    Likes Received:
    1,409
    Trophy Points:
    10
  7. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Joined:
    Jul 10, 2014
    Messages:
    416
    Likes Received:
    1,409
    Trophy Points:
    10
    NSudo need to start the Windows Modules Installer Service to get TrustedInstaller token.
     
  8. sebus

    sebus MDL Guru

    Joined:
    Jul 23, 2008
    Messages:
    6,201
    Likes Received:
    1,945
    Trophy Points:
    210
    It does not matter what version of iso it started with (most likely en_windows_server_2012_r2_vl_with_update_x64_dvd_6052766.iso)
    It is Microsoft Windows [Version 6.3.9600] 2012 R2 Standard US

    sebus
     
  9. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Joined:
    Jul 10, 2014
    Messages:
    416
    Likes Received:
    1,409
    Trophy Points:
    10
    But I tested OK on the ISO that I told you.
    So, I want to get more infomation from you.
     
  10. sebus

    sebus MDL Guru

    Joined:
    Jul 23, 2008
    Messages:
    6,201
    Likes Received:
    1,945
    Trophy Points:
    210
    Hence I replied with the info
     
  11. MonarchX

    MonarchX MDL Expert

    Joined:
    May 5, 2007
    Messages:
    1,732
    Likes Received:
    310
    Trophy Points:
    60
    The way I see it is that NSudo is so awesome because it forces .exe to launch AS TrustedInstaller TEMPORARILY and that means there are no ties/connections between the restricted User/Admin and the changes made when you finish the task. That is so much better than Take Ownership which makes the User/Admin own what they are not supposed to permanently unless they disown and that leads to problems, in my experience. If you can do the same with UAC and make a TEMPORARY UAC bypass that will preserve User/Admin UAC settings when the task is complete with NSudo then it would be awesome! Context Menu for NSudo would be like the gift from Gods!
     
  12. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Joined:
    Jul 10, 2014
    Messages:
    416
    Likes Received:
    1,409
    Trophy Points:
    10
    1.png
    I tested NSudo 4.3.1703.25 x64 and x86 on Windows Server 2012 R2 Standard with Update.
     
  13. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Joined:
    Jul 10, 2014
    Messages:
    416
    Likes Received:
    1,409
    Trophy Points:
    10
    I am trying my best to improve the experience of NSudo.
     
  14. sebus

    sebus MDL Guru

    Joined:
    Jul 23, 2008
    Messages:
    6,201
    Likes Received:
    1,945
    Trophy Points:
    210
  15. MonarchX

    MonarchX MDL Expert

    Joined:
    May 5, 2007
    Messages:
    1,732
    Likes Received:
    310
    Trophy Points:
    60
    #115 MonarchX, May 4, 2017
    Last edited: May 4, 2017
    Could we get the beta/alpha/nightly builds in binary for testing?
     
  16. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Joined:
    Jul 10, 2014
    Messages:
    416
    Likes Received:
    1,409
    Trophy Points:
    10
  17. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Joined:
    Jul 10, 2014
    Messages:
    416
    Likes Received:
    1,409
    Trophy Points:
    10
  18. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Joined:
    Jul 10, 2014
    Messages:
    416
    Likes Received:
    1,409
    Trophy Points:
    10
  19. v72dd

    v72dd MDL Senior Member

    Joined:
    Nov 20, 2016
    Messages:
    445
    Likes Received:
    77
    Trophy Points:
    10
    There seems to be a serious bug in NSudo.

    This will not import at all when used with TrustedInstaller...

    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]
    "EnableAutoTray"=dword:00000000
    "ShowFrequent"=dword:00000000
    "ShowRecent"=dword:00000000
     
  20. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    current user for NSudo = system account

    you won't get it or your actual account

    try to use the specific SID paths, e.g.
    Code:
    [HKEY_USERS\S-1-5-21-2139140494-421022450-60836837-1001]