This morning, a customer sent a RAR file to one of our staff members via email. We don't routinely handle these files, so that person didn't know how to open it. However, we do pre-install 7-zip on all of our machines specifically to handle numerous
types of compressed/archive files. I showed the staff member how to use 7-zip to open the file. The problem is we don't configure 7-zip to take over all the compressed/archive file associations during install.
Since I'd prefer not to do this manually after the fact, I figured I could use Group Policy to update the file associations for all our client computers (and users). I did my research and found the Computer Configuration > Control Panel Settings> Preferences > Folder Options > File Type setting should achieve the desired result:
https://technet.microsoft.com/en-us/library/cc754587.aspx
I then remoted into one of our Windows 2008 R2 servers and opened Group Policy Management to modify our "standard setup" policy. This server already had 7-Zip (x64) installed and I had previously used the 7-Zip File Manager to take over the
RAR file type *before* I added this new preference to our policy. I note that because I've seen Group Policy Preferences pull information from the local machine that is used to create/modify the policy. If the machine didn't have the right settings
or software, the policy would be much more challenging to configure.
That said, I configured the settings below:
![GP-Mgmt-Editor-Folder-Options]()
![GP-Mgmt-Editor-RAR-File-Type-Settings]()
![GP-Mgmt-Editor-RAR-Action-Open-Settings]()
I compared these settings with the ones from the registry (HKEY_CLASSES_ROOT) and everything looks right to me:
![RegEdit-HKCR-7-Zip.rar-Shell-Open-Command]()
![RegEdit-HKCR-7-Zip.rar-DefaultIcon]()
I finished modifying the policy and closed out the editor and GPMC, then I forced a GP update from each of our domain controllers (PDC emulator first). I then did the same with my test machines (1 Windows 8.1 Enterprise 64-bit, 1 Windows 7 SP1 Enterprise
64-bit, and 1 Windows 7 SP1 Enterprise 32-bit) , but saw no change. I logged out of each machine and logged back in (after running gpupdate /force), but that didn't work. I rebooted each test machine, but still the policy did not apply.
I looked in the event log and I'm seeing this warning on each machine, no matter the OS or bitness:
Event ID: 4098 - Source: Group Policy Folder Options
Description:
"The computer 'rar' preference item in the 'Standard-Setup {8AAEFE4E-7904-4BA1-9A44-67805BA91700}' Group Policy Object did not apply because it failed with error code '0x80004002 No such interface supported' This error was suppressed."
![Win8.1-64-Event-Viewer-Application-Log-Warning-EventID-4098]()
I researched that warning but my searches came up empty...
What am I missing here??
One final note:
Since the "File Type" setting isn't applying, I'm temporarily using the "Open With" preference in the user context to achieve a similar result (although that's not really how I want the policy to be configured). The "Open With"
preference is working:
https://technet.microsoft.com/en-us/library/cc732272.aspx