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

    Feb 19, 2011
    16,141
    84,318
    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

    Nov 20, 2016
    445
    77
    10
    It works with devxexec?
     
  3. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    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

    May 5, 2007
    1,732
    313
    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

    Jul 10, 2014
    525
    1,790
    30
    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

    Jul 10, 2014
    525
    1,790
    30
    NSudo need to start the Windows Modules Installer Service to get TrustedInstaller token.
     
  7. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,354
    2,026
    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
     
  8. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    525
    1,790
    30
    But I tested OK on the ISO that I told you.
    So, I want to get more infomation from you.
     
  9. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,354
    2,026
    210
    Hence I replied with the info
     
  10. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    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!
     
  11. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    525
    1,790
    30
    1.png
    I tested NSudo 4.3.1703.25 x64 and x86 on Windows Server 2012 R2 Standard with Update.
     
  12. Mouri_Naruto

    Mouri_Naruto MDL Developer

    Jul 10, 2014
    525
    1,790
    30
    I am trying my best to improve the experience of NSudo.
     
  13. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    #115 MonarchX, May 4, 2017
    Last edited: May 4, 2017
    Could we get the beta/alpha/nightly builds in binary for testing?
     
  14. v72dd

    v72dd MDL Senior Member

    Nov 20, 2016
    445
    77
    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
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,141
    84,318
    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]