Prevent app ability to open a link in my default browser?


GregJ7

Member
Local time
8:41 AM
Posts
12
OS
Win 11 Pro 22H2 x64 Retail
It seems to me that I should be able to isolate an app such that it cannot force my default browser from opening with a link. I have a small game that always opens a link to its web site whenever I shut down the game. Is there a way to prevent this? I can write a program to create a specific execution/process context, if necessary.
 

My Computer My Computer

At a glance

Win 11 Pro 22H2 x64 RetailAMD Ryzen 5 7600X 4.7 GHzG.Skill Trident T5 DDR5-6400 16Gb x 2Zotac NVIDIA GeForce RTX 3060 Ti
OS
Win 11 Pro 22H2 x64 Retail
Computer type
PC/Desktop
Manufacturer/Model
--
CPU
AMD Ryzen 5 7600X 4.7 GHz
Motherboard
MSI PRO B650-P WiFI
Memory
G.Skill Trident T5 DDR5-6400 16Gb x 2
Graphics Card(s)
Zotac NVIDIA GeForce RTX 3060 Ti
Monitor(s) Displays
LG 27UD58P
Screen Resolution
3840 x 2160
Hard Drives
Samsung M.2 NVMe SSD 980 x 2
PSU
Seasonic 750
Case
Lian Li
Cooling
Air
Antivirus
Malwarebytes
It seems to me that I should be able to isolate an app such that it cannot force my default browser from opening with a link. I have a small game that always opens a link to its web site whenever I shut down the game. Is there a way to prevent this? I can write a program to create a specific execution/process context, if necessary.
We have to rule out the option to modify the game itself so, we are left with a possible batch script that would look like this:
I think it's worth a try. If you need to grab the shortcut from the app, you can create it from: explorer.exe shell:AppsFolder
Code:
:: content of .cmd file
start /wait gameshortcut.lnk
:: user exits game
tskill /A userbrowser
exit
 

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
My browser is usually open with some pages loaded, which I don't want to be affected.
 

My Computer My Computer

At a glance

Win 11 Pro 22H2 x64 RetailAMD Ryzen 5 7600X 4.7 GHzG.Skill Trident T5 DDR5-6400 16Gb x 2Zotac NVIDIA GeForce RTX 3060 Ti
OS
Win 11 Pro 22H2 x64 Retail
Computer type
PC/Desktop
Manufacturer/Model
--
CPU
AMD Ryzen 5 7600X 4.7 GHz
Motherboard
MSI PRO B650-P WiFI
Memory
G.Skill Trident T5 DDR5-6400 16Gb x 2
Graphics Card(s)
Zotac NVIDIA GeForce RTX 3060 Ti
Monitor(s) Displays
LG 27UD58P
Screen Resolution
3840 x 2160
Hard Drives
Samsung M.2 NVMe SSD 980 x 2
PSU
Seasonic 750
Case
Lian Li
Cooling
Air
Antivirus
Malwarebytes
My browser is usually open with some pages loaded, which I don't want to be affected.
Good luck finding a solution then.
 

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
I realized I asked this in the wrong forum. Sorry. I got an informed answer elsewhere.
 

My Computer My Computer

At a glance

Win 11 Pro 22H2 x64 RetailAMD Ryzen 5 7600X 4.7 GHzG.Skill Trident T5 DDR5-6400 16Gb x 2Zotac NVIDIA GeForce RTX 3060 Ti
OS
Win 11 Pro 22H2 x64 Retail
Computer type
PC/Desktop
Manufacturer/Model
--
CPU
AMD Ryzen 5 7600X 4.7 GHz
Motherboard
MSI PRO B650-P WiFI
Memory
G.Skill Trident T5 DDR5-6400 16Gb x 2
Graphics Card(s)
Zotac NVIDIA GeForce RTX 3060 Ti
Monitor(s) Displays
LG 27UD58P
Screen Resolution
3840 x 2160
Hard Drives
Samsung M.2 NVMe SSD 980 x 2
PSU
Seasonic 750
Case
Lian Li
Cooling
Air
Antivirus
Malwarebytes
I realized I asked this in the wrong forum. Sorry. I got an informed answer elsewhere.
Indeed but no solution.

You could always open the sites you use with one browser which is not your default browser,
leave them open in the background, play the game, exit it,
and subsequently, kill the default browser process triggered by exiting the game.

You could also do what another informed forum member suggested to you on that site:

"I know the way I stopped it from happening with the game that I had.
I paid for the game, rather than just continuing to use the free demo."
 
Last edited:

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
"I know the way I stopped it from happening with the game that I had.
I paid for the game, rather than just continuing to use the free demo."
This is happening in the full version of the (very old) game. Not sure why both of you assumed this was possible.
 

My Computer My Computer

At a glance

Win 11 Pro 22H2 x64 RetailAMD Ryzen 5 7600X 4.7 GHzG.Skill Trident T5 DDR5-6400 16Gb x 2Zotac NVIDIA GeForce RTX 3060 Ti
OS
Win 11 Pro 22H2 x64 Retail
Computer type
PC/Desktop
Manufacturer/Model
--
CPU
AMD Ryzen 5 7600X 4.7 GHz
Motherboard
MSI PRO B650-P WiFI
Memory
G.Skill Trident T5 DDR5-6400 16Gb x 2
Graphics Card(s)
Zotac NVIDIA GeForce RTX 3060 Ti
Monitor(s) Displays
LG 27UD58P
Screen Resolution
3840 x 2160
Hard Drives
Samsung M.2 NVMe SSD 980 x 2
PSU
Seasonic 750
Case
Lian Li
Cooling
Air
Antivirus
Malwarebytes
I realized I asked this in the wrong forum. Sorry. I got an informed answer elsewhere.
Indeed but no solution.
This is happening in the full version of the (very old) game. Not sure why both of you assumed this was possible.
I don't assume anything; I was just quoting his informed answer.

If it is such an old game, you might look into using the old debug.exe and HEX out the embedded URL.
Just make sure to back up the executable before editing.
 
Last edited:

My Computers My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Try this:
 

My Computers My Computers

  • At a glance

    11 Homei7 13650HX16GB DDR5GeForce RTX 4060 Mobile
    OS
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Asus TUF Gaming F16 (2024)
    CPU
    i7 13650HX
    Memory
    16GB DDR5
    Graphics Card(s)
    GeForce RTX 4060 Mobile
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    512GB SSD internal
    37TB external
    PSU
    Li-ion
    Cooling
    2× Arc Flow Fans, 4× exhaust vents, 5× heatpipes
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    30Mbit/s up, 500Mbit/s down
    Browser
    FF
    Antivirus
    What's an antivirus?
  • At a glance

    11 Homei5 1135G716GB DDR4Intel Iris Xe
    Operating System
    11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Medion S15450
    CPU
    i5 1135G7
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Xe
    Sound Card
    Eastern Electric MiniMax DAC Supreme; Emotiva UMC-200; Astell & Kern AK240
    Monitor(s) Displays
    Sony Bravia XR-55X90J
    Screen Resolution
    3840×2160
    Hard Drives
    2TB SSD internal
    37TB external
    PSU
    Li-ion
    Keyboard
    Logitech K800
    Mouse
    Logitech G402
    Internet Speed
    30Mbit/s up, 500Mbit/s down
    Browser
    FF

Latest Support Threads

Back
Top Bottom