Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Set default file association for all users

06 Jun 2014   #1
zay

Windows 7 Ultimate
 
 
Set default file association for all users

Hi I would like tiff files to be opened by internet explorer for all users. I am a little puzzled how to set that in the registry. I want to apply this to over 20 computers so that no matter who logs on, the tiff files will open with IE. We are using an application called Alternatiff that is tied to IE that handles tiff attachments in our applications. The application (Alternatiff) uses IE to open the tiff files hence my wanting to hard code that into the registry for all users. Thanks in advance. GPO is not an option at this point.


My System SpecsSystem Spec
.
06 Jun 2014   #2
Ztruker

Windows 10 Pro X64
 
 

Set it up on one machine then search the registry for Alternatiff. Export the ones that have to do with file association. Import into the other computers.

Control Panel, Default Programs, Associate a filetype or protocol with a program.

Scroll down to .tiff and set it to open with Alternatiff.
My System SpecsSystem Spec
06 Jun 2014   #3
zay

Windows 7 Ultimate
 
 

Thanks Ztruker, the issue with your suggestion is that it applies to per user (HKCU). I did however try your suggestion prior to my initial post. I need to figure how to edit HKLM so that it will set for the machine. I already deleted all the profiles using delprof2, so any "open with" (hkcu) file association options have set by other users are gone. Once I figure how to set it in the reg under hklm, any subsequent logs will not have to set the open with options.
My System SpecsSystem Spec
.

07 Jun 2014   #4
Alejandro85

Windows 7 Ultimate x64
 
 

Simply edit the equvalent HKCR entries for file associations from your .reg file and it will apply them system-wide. On a per-user basis, the paths will be something like this:

HKEY_CURRENT_USER\Software\Classes\.tiff
HKEY_CURRENT_USER\Software\Classes\tifffile

And a couple of entries below those. Just replace them with the proper system-wide path:

HKEY_CLASSES_ROOT\.tiff
HKEY_CLASSES_ROOT\tifffile
My System SpecsSystem Spec
07 Jun 2014   #5
zay

Windows 7 Ultimate
 
 

I really to take a class on registry scripting. Thanks Alejandro, but if I am correct in my interpretation/assumption, but doesn't HKCU apply to that specific user's key. That being said, how can I apply that to the other users' keys, especially since there are no profiles (I deleted them so that HKLM can take initial precedence)? So, (excuse my laziness), to assign .tiff to IE, would it look something like this (and work globally for all users)?
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.tif]
@="\"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe\" %1"
"PerceivedType"="image"
"Content Type"="image/tiff"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.tif\OpenWithList]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.tif\OpenWithList\ehshell.exe]

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.tif\OpenWithProgids]
"TIFImage.Document"=""
My System SpecsSystem Spec
07 Jun 2014   #6
Alejandro85

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by zay View Post
but if I am correct in my interpretation/assumption, but doesn't HKCU apply to that specific user's key
Yes, that's correct, HKCU is per-user. That's why I suggested HKCR, which is system-wide. Your copied .reg file also uses HKLM which is also system-wide. In fact, it's the very same solution as mine, except yours don't use the HKCR virtual key.



Quote   Quote: Originally Posted by zay View Post
I deleted them so that HKLM can take initial precedence
Good point, I completely forgot about it. In explorer's file associations, per-user take precedence and nullify system-wide ones when pointing to the same types.
My System SpecsSystem Spec
07 Jun 2014   #7
zay

Windows 7 Ultimate
 
 

Lol, so can I distribute the above reg export (as is) out to other computers, and it become the system wide setting for tiff files to open with IE? Or do I need to edit it (and how please)?
My System SpecsSystem Spec
07 Jun 2014   #8
Alejandro85

Windows 7 Ultimate x64
 
 

It seems in a good shape, but of course test it first in another computer just to be sure. Then yes, simply import that into every computer for them to get the same association.
My System SpecsSystem Spec
07 Jun 2014   #9
zay

Windows 7 Ultimate
 
 

Awesome I will give it a try and report back.....thanks for everything.
My System SpecsSystem Spec
09 Jun 2014   #10
zay

Windows 7 Ultimate
 
 

Well, I tried that reg key and it did not work. So, I am going to try the instructions on this site, but still a bit unsure....but gonna monkey with it anyway.
File Association Example (Windows)
My System SpecsSystem Spec
Reply

 Set default file association for all users




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Default File Association Problem
I am wanting to make MPC-HC player my default for video playback. However, when I do the 'Open With', check the 'always use this as default' box, and select the .exe, the 'Open With' dialogue's 'OK' button is greyed out. I even did the restore default assoc. tutorial here with no luck. Help! ...
General Discussion
Excel File and Program default association problem (registry looks ok)
Everything looks okay under the registry (I think) and assoc shows provides the correct output. When I try to manually edit this under the control panel, it will not let me choose "EXCEL" it will not let me choose that file. Does anything stand out as being out of help here? > assoc .xlsx...
Microsoft Office
How do I change a file's file type (not only file association)?
I need to change a zip file to an epub file. I have heard this can be done, but when I add the .epub after the file name, I notice the file is still actually zip type file when I right click properties. This is causing a problem when I try to open it in in different ebook reader programs. I...
General Discussion
Trouble changing default program association
I'm having trouble with the incredibly simple task of changing a default program association. Following the very clear steps listed on this forum for at least 2 different procedures fail in my case. I could use some help. Whether starting with the "Associate ..." function in the control panel...
General Discussion
Quicktime overrides my default m4a association with WMP
I'm running Win7 x64. Prior to QuickTime being installed, .m4a files would open up in WMP when I'm using IE8, which is my preference. Also, outside of IE, for example in Windows Explorer, double-clicking on a .m4a file also opens up WMP, per my association default. But as soon as I install...
Music, Pictures & Video
Is show process for all users turned off by default with default UAC e
Is show process for all users turned off by default with default UAC enabled? You have to click a show all process for all users button on the bottom of task manager by default? Is this normal?
System Security


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 19:26.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App