Discussion Locked

Ed Bott's Microsoft Challenge--7/6/2000

0 helpful
34 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
My file associations have been hijacked again! Some rude application developer decided that his program deserved to take over all files with a particular file extension, even though I prefer to use another program for that particular task. I want toundo the damage without having to reinstall software. More importantly, I want your help in finding a way to keep this from happening again. How do you keep pushy programs from taking over file associations? Do you have a favorite registry hack or athird-party utility to manage file associations? Share it with your fellow TechRepublic members. I'll hand over 1000 TechPoints for every suggestion I use in my next column.

34 replies

by millenium

Here is one i remeber reading about, it states as follows:

Freedom of Association lets you manage your file associations, offering many features that Windows lacks. You can view registered extensions and the file types associated with them, cleanup invalid entries, correct erroneous associations, and add extensions to existing file types.

Try it out, i think it will work for you.

If not you can always just backup your registry before adding a new program. I would rather use the abovetactit.

ftp://ftp2.zdnet.com/pub/private/sWlIB/utilities/file_utilities/freedom.zip

by wayne.maples

not usable in a general sense but If you want to lock down an particular association so it can not be changed:

Find the association to lock under HKEY_CLASSES_ROOT
Create a new binary value, assigning it value=01000000

The application associated to the extension is now locked and can not be changed except by removing this value.

taken from my tip: http://is-it-true.org/nt/atips/atips200.shtml

-Wayne

by dmiles

In my Computer or Windows Explorer,click folder options
Click the files Type Tab
In the list of file type,click the one you want to change
Click Edit
In Actions,click Open
Click Edit
In Application used to perform action,enter the program you want to use to open files that have this extension and then click OK

by billf

Use regedt32 | security to modify the registry key where these associations are stored. Make access read only for all users. This might cause install progams to complain however it would solve you problem on going . Of course you should test this before you put it into a production enviroment.

by lewey04

I use this utility to keep the file associations in check. I also found that running the NT Assoc command with NT lets you see your current associations.
assoc < "file associations"

When you launch a .TXT file, Windows loads it into Notepad thanks to the file association feature. Freedom of Association lets you manage your file associations, offering many features that Windows lacks. You can view registered extensions and the file types associated with them, clean up invalid entries, correct erroneous associations, and add extensions to existing file types. Freedom of Association was written by Neil J. Rubenking, and first
appeared in PC Magazine, 30 Jun 1998 (v17n12).
It runs under Win95, Win98, and WinNT 4.

by computerperceptions.com

I don't have an real good answer for you, but I'd sure would like to see a standard where every software program asked you when it changed program extension assignments.

by stephen nurse

Ed,

It's not so much as a hack, but using Open With is what I use to solve my problems. Holding down the Shift key while right clicking on the icon will show the Open With choice. Select that option which will bring up the dialogue to ask what program will be used and if you always want to use it.

It's a quick way around the problem, but certainly not a permanent solution. Being a sysadmin I'm always looking for a way to do less, so I used a third party program called x-setup from xteq (http://www.xteq.com). One of the options is to always display Open With on the right click menu - heck if I don't have to hold down the shift key ...

In any event, x-setup seems to work fine with Win2000, I've been using it for a few years now and highly recommend it.

Cheers!

-Steve

by sdsubles

Run File Manager. Goto File, Associate... Pick your extension. Then pick which program you want to associate it with.

by rziminski

I general I use a bak up of the registry to restore my settings. First start the Registry Editor, then select the folder labeled HKEY_CLASSES_ROOT. Choose Registry, Export Registry File. (The equivalent NT command is Save Key.) Then give the exported file a meaningful name--for example, Saved Associations.reg.

Later, when an application insists on rearranging the file associations to suit itself, simply restore your preferred settings by double-clicking on the *.reg file. If you're running NT 4.0, launch the Registry Editor, choose Registry, Restore, then select the file containing the backed-up settings.
It's the only sure fire way I know of!
Rick Ziminski

by sparks

Select the file in question then hold down the shift key and right click on the file. One of the choices you get is "open with"
When you select "open with" you will get the same screen you would get by clicking on a file with no associations. Select the program you want to use for the file type and by sure to check on "Always use this program to open this type of file"

by patrick.pepin

This answer is maybe not the one you are ideally looking for, but it helped me a lot in some business environments where this problem occurs. In fact Palm Pilot's Easy Sync (connector between the handheld cradle and the e-mail software) is a buggerwhen it comes to its installation. Since almost every business uses a software to normalize the installation of software, I use a test workstation with all basic applications added, and I install the faulty application. From there I take a "snapshot" of the workstation, re-associate all my files (yes, all of them by hand) and re-take a "snapshot" of that same workstation. Right there, I have a REG file (in REGEDIT4 format) allowing me to recover those same associations to any other workstation immediately after any further installation of that bugger/faulty application.

Patrick Pepin
Montreal, Canada

by mvaidya

Write a little VBScript that searches for the file and changes the associations. It is really easy to write one, the only bottleneck being the fact that u would have to have WSCRIPT.EXE running.....

by daveains

I use a freebie third party program under Win9x called MultiLaunch which I snagged off the ZD web site years ago. It puts an additional page under the file's Properties that lets you select which apps are associated with a file, then displays those apps in the right click menu for quick access. If you need it remail me, be happy to pass it along.

by davism

If you want to change or delete file extension associations you go to
My Computer\View\Folder Options\File Types. At this point you can manage
the existing associations or add new ones. This works on Win98. No info on a
handy utility or registry hack. Good Luck.

by markellosm

I would try re-associating the file type with the App you always want to open it with.

I would hightlight the file, right click on it and choose "open with". The pop-up screen would allow me to choose an app to associate with the file and provide a check box if I want to always open this file type with this App.

This discussion is closed to new replies.