How to Run Explorer with Trusted Installer Privileges ?

Discussion in 'Scripting' started by ceo54, Nov 14, 2019.

  1. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    340
    58
    10
    Hi,

    To be able to quickly mess up with system files (rename, delete etc) How can I run explorer with Trusted Installer Privileges ?

    I tried NSudu and Powerun but that doesn't seem to work, any other ideas ?

    Thank you.
     
  2. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    4,919
    5,846
    150
    hmm just out of curiosity, what is your intention? :rolleyes:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    29,026
    44,527
    390
    Messing up his system very quickly;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    4,919
    5,846
    150
    i'm sure that's what he's looking for...;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    29,026
    44,527
    390
    :D:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    4,919
    5,846
    150
    :rofl:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    340
    58
    10
    It's for customization, Explorerframe, shell32, shellstyle, imageres and 1000 other such files that need need fully replaced or partially patched with resources. It's a pain in ass to do it one by one taking ownership.
     
  8. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    4,919
    5,846
    150
    #8 Tiger-1, Nov 14, 2019
    Last edited: Nov 14, 2019
    NO dude NO you are moving in the wrong place is not the correct way and is also difficult to explain involves C: \ Windows \ System32 and also within the registry do not try to continue because you will totally damage your system; change your tactic search via google something as modifying icons etc on Windows 10 since all versions of Windows 10 operate in a very different way than Windows 7 for example ...
    look here: https://www.askvg.com/guide-how-to-change-default-folder-icons-in-windows/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    10,745
    44,638
    340
  10. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    4,919
    5,846
    150
    hy bro do you know Blacknotepad is still better than Notepad3 in my humble opinion, this program It was written in C#
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,722
    733
    60
    Use winxshell
     
  12. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    340
    58
    10

    Thank you for the reference and script addodi but it didn't work for me. Whenever I clicked any links, explorer launched a new window in a separate process under my username. I've reported this in the thread. Also tried minipath, it does the same thing as explorer launched with NSudo, gives error. If you have any other ideas, I want to try out. In any case, thanks for the help :)
     
  13. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    340
    58
    10
    Thank you for the input but it didn't work. It will only work under WinPE that's not what I'm looking for, thanks anyways.
     
  14. LiteOS

    LiteOS MDL Expert

    Mar 7, 2014
    1,722
    733
    60
    i use it so its works on normal too
     
  15. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    340
    58
    10
    It does but not as Trusted Installer. I couldn't rename the system files in my test run.
     
  16. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    340
    58
    10
    I use resource hacker to inject the code and/or replace the resource/icons in the system files and then replace the original files with my modified ones. Been doing this ever since I started using Computers in 2012. But I think you've brought up a very important issue regarding permissions that I neglected up until now. To be truthful, apart from using the permissions GUI panel, I have no knowledge of icalcs or calcs or takedown etc but inclined to learn. This is going to pay off big time. but I need help. I think I should ask the willing members of the community.

    Edit: Okay the thread is up https://forums.mydigitallife.net/threads/how-to-copy-and-restore-permissions.80596/
     
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    29,026
    44,527
    390
    Why starting a new thread for just a follow up question, which probably is answered in the posts/links from answers in this thread?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Aug 29, 2017
    348
    577
    10
    You can rename system files but won't be able to rename them if they are "in use" by the system anyway, you'd have to do it offline.
    I wouldn't mess modifying system files hash, is inviting troubles imho

    This doesn't really need a new thread...icacls backup/restore is simple and well documented
    Code:
    icacls c:\your\path  /save  "perms.txt" /t /c
    icacls c:\ /restore "perms.txt" /t /c
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    340
    58
    10
    This is a wider subject in my opinion, not just limited to customisation and one which I could really use. Hence a new thread.
     
  20. ceo54

    ceo54 MDL Senior Member

    Aug 13, 2015
    340
    58
    10
    #20 ceo54, Nov 15, 2019
    Last edited: Nov 15, 2019
    (OP)
    First allow me extend my gratitude for helping me out here Thomas. Highly appreciated.

    I've read about icalcs and takeown on Interwebs. Takeown is pretty strightforward. icalcs will take some time but I will get there. First I need to full understand how to backup the permissions before going on a trial and error spree :D