Set default file association for all users

zay

Airborne Ranger for life
Pro User
Local time
8:58 AM
Messages
507
Location
Houston, Texas
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 Computer My Computer

At a glance

Windows 7 UltimateIntel Core(TM)2 Quad- Q9550, 2.83GHz4GBATI Radeon HD4600
Computer Manufacturer/Model Number
Gigabyte
OS
Windows 7 Ultimate
CPU
Intel Core(TM)2 Quad- Q9550, 2.83GHz
Motherboard
G31M-ES2L
Memory
4GB
Graphics Card(s)
ATI Radeon HD4600
Sound Card
On Board:
Monitor(s) Displays
Acer AL2223W, Acer AL1916
Screen Resolution
1680 x 1050, 1280 x 1024
Hard Drives
160GB
350GB
250GB
250GB
PSU
600W
Case
Cooler Master
Keyboard
Microsoft Laser 6000
Mouse
Logitech Optical Trackman
Internet Speed
1.5MB
Other Info
I am also running a quasar gamatron flux capacitor with twin pulse tronic phasers......jk, I have no such stuff.
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 Computer My Computer

At a glance

Windows 10 Pro X64Intel Quad Core i7-4770 @ 3.4Ghz16.0GB PC3-12800 DDR3 SDRAM 1600 MHzIntel Integrated HD Graphics
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
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 Computer My Computer

At a glance

Windows 7 UltimateIntel Core(TM)2 Quad- Q9550, 2.83GHz4GBATI Radeon HD4600
Computer Manufacturer/Model Number
Gigabyte
OS
Windows 7 Ultimate
CPU
Intel Core(TM)2 Quad- Q9550, 2.83GHz
Motherboard
G31M-ES2L
Memory
4GB
Graphics Card(s)
ATI Radeon HD4600
Sound Card
On Board:
Monitor(s) Displays
Acer AL2223W, Acer AL1916
Screen Resolution
1680 x 1050, 1280 x 1024
Hard Drives
160GB
350GB
250GB
250GB
PSU
600W
Case
Cooler Master
Keyboard
Microsoft Laser 6000
Mouse
Logitech Optical Trackman
Internet Speed
1.5MB
Other Info
I am also running a quasar gamatron flux capacitor with twin pulse tronic phasers......jk, I have no such stuff.
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 Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
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 Computer My Computer

At a glance

Windows 7 UltimateIntel Core(TM)2 Quad- Q9550, 2.83GHz4GBATI Radeon HD4600
Computer Manufacturer/Model Number
Gigabyte
OS
Windows 7 Ultimate
CPU
Intel Core(TM)2 Quad- Q9550, 2.83GHz
Motherboard
G31M-ES2L
Memory
4GB
Graphics Card(s)
ATI Radeon HD4600
Sound Card
On Board:
Monitor(s) Displays
Acer AL2223W, Acer AL1916
Screen Resolution
1680 x 1050, 1280 x 1024
Hard Drives
160GB
350GB
250GB
250GB
PSU
600W
Case
Cooler Master
Keyboard
Microsoft Laser 6000
Mouse
Logitech Optical Trackman
Internet Speed
1.5MB
Other Info
I am also running a quasar gamatron flux capacitor with twin pulse tronic phasers......jk, I have no such stuff.
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.



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 Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
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 Computer My Computer

At a glance

Windows 7 UltimateIntel Core(TM)2 Quad- Q9550, 2.83GHz4GBATI Radeon HD4600
Computer Manufacturer/Model Number
Gigabyte
OS
Windows 7 Ultimate
CPU
Intel Core(TM)2 Quad- Q9550, 2.83GHz
Motherboard
G31M-ES2L
Memory
4GB
Graphics Card(s)
ATI Radeon HD4600
Sound Card
On Board:
Monitor(s) Displays
Acer AL2223W, Acer AL1916
Screen Resolution
1680 x 1050, 1280 x 1024
Hard Drives
160GB
350GB
250GB
250GB
PSU
600W
Case
Cooler Master
Keyboard
Microsoft Laser 6000
Mouse
Logitech Optical Trackman
Internet Speed
1.5MB
Other Info
I am also running a quasar gamatron flux capacitor with twin pulse tronic phasers......jk, I have no such stuff.
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 Computer My Computer

At a glance

Windows 7 Ultimate x64Intel Core i7-740QM8 GB DDR3NVIDIA GeForce 330GT
Computer type
Laptop
Computer Manufacturer/Model Number
Toshiba Sattelite A665-S6092
OS
Windows 7 Ultimate x64
CPU
Intel Core i7-740QM
Memory
8 GB DDR3
Graphics Card(s)
NVIDIA GeForce 330GT
Screen Resolution
1366x768
Hard Drives
Samsung 840 SSD 500GB
1TB USB3 external HD
Cooling
Coolermaster Notepal U3 notebook cooling pad
Internet Speed
3mbps ASDL
Antivirus
ClamWin 0.98.7
Browser
Opera 12.17 x86 (main), Firefox 38 (sec), IE11 (last resort)
Awesome I will give it a try and report back.....thanks for everything.
 

My Computer My Computer

At a glance

Windows 7 UltimateIntel Core(TM)2 Quad- Q9550, 2.83GHz4GBATI Radeon HD4600
Computer Manufacturer/Model Number
Gigabyte
OS
Windows 7 Ultimate
CPU
Intel Core(TM)2 Quad- Q9550, 2.83GHz
Motherboard
G31M-ES2L
Memory
4GB
Graphics Card(s)
ATI Radeon HD4600
Sound Card
On Board:
Monitor(s) Displays
Acer AL2223W, Acer AL1916
Screen Resolution
1680 x 1050, 1280 x 1024
Hard Drives
160GB
350GB
250GB
250GB
PSU
600W
Case
Cooler Master
Keyboard
Microsoft Laser 6000
Mouse
Logitech Optical Trackman
Internet Speed
1.5MB
Other Info
I am also running a quasar gamatron flux capacitor with twin pulse tronic phasers......jk, I have no such stuff.
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 Computer My Computer

At a glance

Windows 7 UltimateIntel Core(TM)2 Quad- Q9550, 2.83GHz4GBATI Radeon HD4600
Computer Manufacturer/Model Number
Gigabyte
OS
Windows 7 Ultimate
CPU
Intel Core(TM)2 Quad- Q9550, 2.83GHz
Motherboard
G31M-ES2L
Memory
4GB
Graphics Card(s)
ATI Radeon HD4600
Sound Card
On Board:
Monitor(s) Displays
Acer AL2223W, Acer AL1916
Screen Resolution
1680 x 1050, 1280 x 1024
Hard Drives
160GB
350GB
250GB
250GB
PSU
600W
Case
Cooler Master
Keyboard
Microsoft Laser 6000
Mouse
Logitech Optical Trackman
Internet Speed
1.5MB
Other Info
I am also running a quasar gamatron flux capacitor with twin pulse tronic phasers......jk, I have no such stuff.
Back
Top