Windows Legacy OS forum

General discussion

how to stop programs from hijacking associations

by frankzxcv / October 25, 2004 2:46 AM PDT

hello,

several programs (like itunes and mozilla today) keep hijacking various file associations, becoming the default browser or media player-- is there a way to "lock" file associations so they can't do this any more ? thanks - fj

Discussion is locked
You are posting a reply to: how to stop programs from hijacking associations
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: how to stop programs from hijacking associations
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: how to stop programs from hijacking associations
by Michael Geist / October 25, 2004 9:47 AM PDT

During the install most programs will have the option to set itself (or not) as the default opening program. The choice is yours, read the fine print.

Collapse -
I beg to differ
by frankzxcv / October 25, 2004 2:48 PM PDT

these things are doing it on the fly-- mozilla, long since installed, became my default browser today. nobody asked me my opinion. so I ask again, is there a way to set asoociations so no program can make itself the default opener? - fj

Collapse -
Re: how to stop programs from hijacking associations
by Edward ODaniel / November 1, 2004 2:30 AM PST

While I personally prefer to simply use FTYPE and ASSOC to restore filetype associations (could be done in a batch file or script if it happens often to you)--here is a link to proper usage (also found in your windows Help files):
http://www.ss64.com/nt/ftype.html

Another method would be:

After getting your file associations the way you want for a particular file type, you can remove it from the list that gets displayed in the Folder Options / File Types screen

1. Start Regedit
2. Go to HKEY_CLASSES_ROOT
3. Scroll to the file association you want to lock.
4. In the right panel, create a new Binary value
5. Call it EditFlags
6. Give it a value of 01 00 00 00

Now when you go to the Folder Options / File Types screen, you won't see that file type listed.

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?