How to make windows force change some "stubborn" file associations?


MilkyWindow

Member
Local time
1:06 AM
Posts
75
OS
W11 24H2 26100.712
Hello.
Theres a thing I am struggling with preventing win11 thinking that my set file associations arent set yet they should.

I am using this script customized for my needs ofcourse - it associates file extensions with given path to program and all is quick and sound.


While it works for like 90% of file associations and opens them by indicated program just fine win11 still dont want to associate some completely and prompts "open with" window.
Even for in software options "associate filetypes" win11 still prompts "open with" window like it didnt work at all.
Only solution os ofcourse manually navigating through "open with" and selecting file extension and it works, however id like to avoid this and automate completely.
I use this script for my after format stuff to speed up process. Primarily for reason to not manually indicate like 250 file associations through "Open With" window.

Script works almost completely but win11 refuses to associate some extensions and simply defaults them to "open with" window.
example extensions:
.gif .jpeg .jpg (rest associates ok) - for image viewer
.7z .rar (but .zip associates just fine) - for 7zip
.c .cpp .h (same as above) - for notepad++


What could be solution for this? I dont want to manually click click thousand times on "open with" window. Is there a way to make w11 stop thinking like that?
Preferably regular scripts reg files ps1 tricks or anything (I dont want to download software just for this simple task)
 

My Computer My Computer

At a glance

W11 24H2 26100.712
OS
W11 24H2 26100.712
Other Info
Updates are disease.
That looks like the only way to get back my settings that I used for years in Win10. ATM I have to copy from email messages in Thunderbird and then paste into Firefox for every link that starts with https. I have security pdfs daily from my web host that lists all attempts to send spam emails to particular mail addresses. Each one has a link to delete and add to a spam filter which has to be dealt with as above. This is ok if just a few to deal with but sometimes there are 20-30 or more, thats not fun. Ive only been on Win11 for about 10 days now but hate what has been done to my settings of years. The program mentioned is something that I cant really understand how to use, being of quite advanced years. Thanks MS*t.
 
Last edited:

My Computer My Computer

At a glance

Windows 11 Pro 64-bitRyzen 7 5700X32 GB CrucialGForce RTX 3600 Super 12GB VRam
OS
Windows 11 Pro 64-bit
Computer type
PC/Desktop
Manufacturer/Model
Home build
CPU
Ryzen 7 5700X
Motherboard
MSI MPG B550 GAMING PLUS (MS-7C56) (AM4)
Memory
32 GB Crucial
Graphics Card(s)
GForce RTX 3600 Super 12GB VRam
Monitor(s) Displays
Gigabyte M28U
Screen Resolution
3840 x 2160 (UHD)
Hard Drives
2 x 1TB Crucial nvme CT1000P310SSD8
WD WDS500G2B0A 500G
Samsung SSD 870 EVO 1TB
TOSHIBA DT01ACA200 2TB SSD
TOSHIBA HDWD120 2TB
SanDisk SDSSDA240G 240GB
PSU
700W
Case
Fractal Meshify B
Cooling
Sythe Fuma 2 Tower
Keyboard
Logitec G105
Mouse
Logitec G502 Hero
Browser
Firefox
Antivirus
Malwarebytes and MS
Back
Top Bottom