How to Run Explorer with Trusted Installer Privileges ?

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

  1. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    863
    348
    30
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    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
    47,007
    93,809
    450
    Messing up his system very quickly;)
     
  4. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    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
    47,007
    93,809
    450
    :D:D
     
  6. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    :rofl:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    863
    348
    30
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    #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
    16,141
    84,318
    340
  10. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    7,897
    10,733
    240
    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 Windowizer

    Mar 7, 2014
    2,198
    974
    90
    Use winxshell
     
  12. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    863
    348
    30

    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 :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    863
    348
    30
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. LiteOS

    LiteOS Windowizer

    Mar 7, 2014
    2,198
    974
    90
    i use it so its works on normal too
     
  15. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    863
    348
    30
    It does but not as Trusted Installer. I couldn't rename the system files in my test run.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    863
    348
    30
    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/
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,007
    93,809
    450
    Why starting a new thread for just a follow up question, which probably is answered in the posts/links from answers in this thread?
     
  18. Thomas Dubreuil

    Thomas Dubreuil MDL Senior Member

    Aug 29, 2017
    363
    620
    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 Addicted

    Aug 13, 2015
    863
    348
    30
    This is a wider subject in my opinion, not just limited to customisation and one which I could really use. Hence a new thread.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. ceo54

    ceo54 MDL Addicted

    Aug 13, 2015
    863
    348
    30
    #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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...