Lean And Mean snippets for power users RunAsTI / reg_own / ToggleDefender / Edge removal / redirect

Discussion in 'Scripting' started by AveYo, May 7, 2021.

  1. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,727
    60
    Not to brag or anything (kidding, modesty does not suit me), but having the Environment and HKCU loaded is invaluable when launching all kinds of programs that expect it!
    Reg files with HKCU entries get imported where they should, if I click Documents or etc buttons in Total Commander it leads me there and not to a useless C:\Windows\System32\config\systemprofile\.. and so forth.
    My RunAsTI is the first and only solution to do that. Plus, addressing quirks with weird paths, 11 22000.x Explorer as TI, or Terminal as TI.
    Can be used from Send to menu (my favorite), or from individual context menu entries that show up even in 11, or simply bundle the snippet in batch or powershell scripts.
    And it's just a plain-text script!

    I could have obviously made it into a binary, or at least self-compiling c# script, to not need that powershell windows flashing. But I prefer fully open stand-alone scripts and so should everybody when it comes to tweaking their OS.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. xCyBx

    xCyBx MDL Senior Member

    Aug 6, 2018
    356
    718
    10
    Dear @RemixPL1994
    Github does not send this kind of messages.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,849
    2,099
    60
    @BAU
    build , Black is beautiful, the end of my setup,
    without your script it would not have been possible

    I will show you
    setup from i love black an blue, thats combi Black Blue

    [​IMG]
     
  4. KleineZiege

    KleineZiege MDL Expert

    Dec 11, 2018
    1,849
    2,099
    60
    #104 KleineZiege, May 1, 2022
    Last edited: May 4, 2022
    I have a small question,
    does your RunAsTI.reg.

    No longer work with the new build Win 11 ?
    22H2 Win Pro Insider Build 22610.1

    I have problems there, I show them best
    in a small video
    .
    #
    It opens and closes again, but no Powershell opens, I use the old context menu.

    first i ran the powershell, with admin rights, as i assumed it had to be run first for its reg tweak to work.

    Unfortunately this is not the case here.

    Video: https://krakenfiles.com/view/pTxMZVo3tu/file.html

    PS: bekommen sie das hin /?

    Edit : Modified.. THX Goran
     
  5. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,727
    60
    #105 AveYo, May 22, 2022
    Last edited: May 22, 2022
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    4,154
    5,961
    150
    it was never bothering me,
    but since you made this script,
    I give it a try.

    I will add,
    I tried both Google Chrome / MS Edge,
    and it's not that bad.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,727
    60
    Edge is at least one order of magnitude more privacy-invading, insidious and anti-competitive than Chrome.
    - of course it starts fast when it's actually running at all times in the background, and using priority caching that 3rd party programs have no access to
    but cold startup is not that great, despite shell infrastructure keeping most libraries in memory for start menu & widgets/news instant previews
    - of course it shows the least memory usage, Task Manager lies / is dumb and forgets about the system-level usage spread over dwm & all
    but open 20+ different complex sites and it's gonna hemorrhage ram just like Chrome
    - of course it has lower resource usage playing drm media, since microsoft can dial those checks down, while 3rd party browsers can't touch drm software blackbox
    I rather use plugins to h264ify alternative media sources and lower the power usage even more. fk drm. netflix & co? that's what 5-watt tv boxes are for
    - where the real edge is, is in tracking per byte. there's no contest there.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. ancestor(v)

    ancestor(v) Admin
    Staff Member

    Jun 26, 2007
    3,018
    6,175
    120
    @BAU
    @RemixPL1994
    I removed some of your postings concerning your little skirmish from public view for the sake of keeping the thread on topic. This is only done now after quite some time as the topic has been brought to my attention recently - I guess you could sort out things between you in the meantime.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. ancestor(v)

    ancestor(v) Admin
    Staff Member

    Jun 26, 2007
    3,018
    6,175
    120
    I guess everyone had their fun now - back to topic now, if I may insist. ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Alexa120

    Alexa120 MDL Novice

    Aug 16, 2020
    33
    7
    0
    How to delete RunAsTI, is there a reg. Thanks.
     
  11. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,727
    60
    To remove entries, copy paste above into undo_RunAsTI.reg file, then import it, it's at the top of the reg code
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. wilenty

    wilenty MDL Senior Member

    Jan 15, 2014
    270
    494
    10
    #112 wilenty, Jun 14, 2022
    Last edited: Jun 14, 2022
    Can I ask Moderation and Administration of MDL forum why some users have higher rights than others here? BAU is one of your team?
    Completely out of the topic post by BAU (aka AveYo) still exist, even if it was reported: https://forums.mydigitallife.net/th...ion-in-context-menu.85302/page-2#post-1734249
    but my posts was gone with "OT" reason?
    He can insult the users of your forum, and you calmly look at it as if nothing has happened...
    If you really want to take care of your forum popularity - please take care of your users, instead of afraid the users like a BAU (AveYo) who use his knowledge to "destroy users of your forum"!
    Invest in some better moderator who not afraid the "gray mouse" like a BAU - who creates "big bang" from nothing. And who can make real clean in your rotten forum!
     
  13. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,727
    60
    You keep bringing that up, as if you were almost killed by words..
    Yet you don't see your very own abject whataboutism missing target (OT ramblings about TIMER script that actually works, but you were too inept to use it) and diarrhoea of personal attacks there.
    Have fun stalking me here and in other media. I'm too disgusted to interact with you anymore.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. zbigniew59

    zbigniew59 MDL Senior Member

    May 14, 2016
    373
    171
    10
    #114 zbigniew59, Jun 15, 2022
    Last edited: Jun 15, 2022
    @wilenty
    I appreciate you very much for your knowledge - but end these s**tty wars.
    What I open an interesting topic - because I see a new entry - to expand my knowledge - then I see these s**tty entries - which expand my knowledge - but about hate.

    Nobody cares about it - apart from you - and only litter the subject.
     
  15. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,727
    60
    Edge_Removal.bat updated to work with latest version on windows 10
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. JBenal

    JBenal MDL Addicted

    Nov 2, 2009
    521
    209
    30
    Today I disabled tamper protection Windows 10 Enterprise LTSC 21 and ran ToggleDefender.bat. It disabled defender, but now it doesn't turn defender back on. When I run the batch file it always shows this:
    dwd.png

    But defender is definitely off. How can I turn it back on? Thanks.
    vtp.png
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. AveYo

    AveYo MDL Expert

    Feb 10, 2009
    1,836
    5,727
    60
    @JBenal, at the dialog click No, it should force restore the changes.
    Script still works fine for me on regular Home 21H2, but on LTSC you might have extra hardening policies blocking the dependency trick I've used.
    I will revise the script to instead check service state running or not.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. MDeaks

    MDeaks MDL Member

    Aug 25, 2017
    154
    74
    10
    Thanks for all your EXCELLENT WORKING scripts & Tools.... Much appreciated.
    > I have seen/read that MS - they are finally killing IE. is there is similar script to "Edge_removal,bat" ?
    (sorry em not anitiMS, nor care to de funk some of their uselessness of few things in 'windows10& 11'....)

    So I have one request - with your Knowledge of windows.... REMOVAL of IE from windows 11
    please.

    fyi...I took the Edge_removal.bat and tried to replace edge with ie... and run it ... doh.. made a big mess .... so am never doing that again, since my last 'programing test which was in 1980, I am now never never touch anything to do with programming nor any scripts....
    >me stupido!


    thanks in advance
     
  19. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,766
    7,696
    210
    Once they retire it, MS will officially remove IE from Windows.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. JBenal

    JBenal MDL Addicted

    Nov 2, 2009
    521
    209
    30
    Thanks! That fixed it. :clap3:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...