Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Bypass edge as default handler for web searches (Automated tasks). Doesnt work for me #83

Closed
lenti21 opened this issue Dec 14, 2021 · 9 comments
Labels

Comments

@lenti21
Copy link

lenti21 commented Dec 14, 2021

When trying to apply this tweak it doesnt work. It gets stuck in powershell.

@Belim
Copy link
Member

Belim commented Dec 23, 2021

today PR #86 has been submitted.
Can you check latest version 2.0 of this script ?AveYo/fox@19914c3

Its not yet added to TIW11

@Belim Belim added the Outdated label Dec 23, 2021
@lenti21
Copy link
Author

lenti21 commented Dec 23, 2021

It still gets stucked when in command prompt. But is it supposed to get stuck there?

@Belim
Copy link
Member

Belim commented Dec 23, 2021

@rcmaehl any ideas?

@rcmaehl
Copy link
Contributor

rcmaehl commented Dec 24, 2021

@rcmaehl any ideas?

As long as it's running as an admin powershell it should be fine. @AveYo is usually active and may have a better idea as it's his script. @lenti21 If you has any error messages or anything please provide them.

@AveYo
Copy link

AveYo commented Dec 24, 2021

Description is severely lacking, I suppose the script halts even before doing any work?
If you enter this in a standard powershell window (non-admin):

start -verb runas powershell -args "-nop -noe -c & {`n`n new-item 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msedge.exe\1' -force -ea 0 `n`n}"

does it prompt for elevation and opens a new window with
Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msedge.exe
Name Property
---- --------
1
It should, else UAC is misconfigured and/or powershell is broken or hindered

An antivirus with lame heuristics might block the script or hinder powershell,
so @lenti21 check your av notifications / exclude the script manually / temporarily disable the av

@lenti21
Copy link
Author

lenti21 commented Dec 24, 2021

I think it applied now. Can i see it in services.msc?

@rcmaehl
Copy link
Contributor

rcmaehl commented Dec 25, 2021

I think it applied now. Can i see it in services.msc?

You can check using
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msedge.exe" /s in command prompt or powershell

@lenti21
Copy link
Author

lenti21 commented Dec 27, 2021

It says: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msedge.exe
Debugger REG_SZ wscript C:\ProgramData\ChrEdgeFkOff.vbs //B //T:5

Does it mean that it is applied?

@rcmaehl
Copy link
Contributor

rcmaehl commented Dec 27, 2021

It says: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\msedge.exe Debugger REG_SZ wscript C:\ProgramData\ChrEdgeFkOff.vbs //B //T:5

Does it mean that it is applied?

Should be good

@lenti21 lenti21 closed this as completed Dec 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

4 participants