Solved

RDS 2008 R2 File Type Associations

Posted on 2016-08-23
6
23 Views
Last Modified: 2016-08-29
I am trying to push file type associations for .TIFs, depending on user group. This is being attempted on a Windows Server 2008 R2 RDS server.

I am using GPP  > Control Panel > Folder Options > Open With preferences. I am using two entries with item-level targeting (one for "is in <groupname>", one for "is not in <groupname>") to apply one of the two entries to the user's preferences.

At first was having an issue with "Access is denied" showing up in the event log, when the system was attempting to apply the preference. The issue ended up being a "UserChoice" key in the HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tif key. I created another GPP to delete the UserChoice key, inside the .TIF key. This dealt with the "access is denied" issue.

I can now see the GPP changing the "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.tif\OpenWithList\MRUList" value to reflect the preference specified, whenever I do a gpupdate. The problem is that as soon as I double-click on a TIF, explorer.exe modifies the OpenWithList key and it's values, so that the 'system default' viewer for TIFs takes back over. I've tried resetting the system default viewer, and that just changes which program overrides my preferences.

I imagine an HKLM value is overriding the HKCU value, but I have no idea which values are override my preferences, and how to keep them from doing so. I would appreciate any sugguestions.
0
Comment
Question by:ccaosupport
  • 4
  • 2
6 Comments
 

Author Comment

by:ccaosupport
ID: 41767791
Here's a picture of the .TIF OpenWithList extension key just after a gpupdate:

The key before double-clicking a TIF
Here's a picture of the .TIF OpenWithList key just after double-clicking a TIF:

The key after double-clicking a TIF
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 41768765
I would recommend using Group Policy Preferences to accomplish this.
I have tried the registry approach and never had success.  

Here are the steps:
Step 1: Either add to an exist GPO or create a new one.
Step 2: Open GPO  User Configuration > Preferences > Control Panel Settings > Folder Options
Step 3: Right Click Folder Options > New > OpenWith
 img1Step 4: Configure the new object
Add ext  (e.g. TIF)
Add application
Set to the default (optional)
img2Step 5: Click on the Common Tab and select "Run in logged-on user's Security"
img3Step 6: Set Item Level Targeting (Optional)
img4img5Here is my registry setting after applying.
img6
0
 

Author Comment

by:ccaosupport
ID: 41768892
If you read the entire original post, you will see this is already the method I am attempting, that is thus far unsuccessful.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Accepted Solution

by:
ccaosupport earned 0 total points
ID: 41769047
I ended up going with registry preferences and manually recreating both the UserChoice key and value, as well as the HKCU\Software\Classes\Application entries for the programs selected. Once I started putting out the UserChoice key and value, the OS started respecting the setting. Abandoning attempts to use GPP "Folder Options".
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 41769258
Glad you were able to get this to work.
I am sorry about the posting.  I am one that normally gets frustrated with people the reply and do not read the entirety of the question as well as all responses.
0
 

Author Closing Comment

by:ccaosupport
ID: 41774480
Ended up resolving the issue myself, after I decided to abandon my attempts to use GPP Folder Options.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We recently had an issue where out of nowhere, end users started indicating that their logins to our terminal server were just showing a "blank screen." After checking the usual suspects -- profiles, shell=explorer.exe in the registry, userinit.exe,…
OfficeMate Freezes on login or does not load after login credentials are input.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now