Solved

New file extension needs to be opened with same program for all users

Posted on 2014-02-04
7
249 Views
Last Modified: 2014-02-11
We installed a new program on a multi-user PC.  The program will open a file extension .dir.  When I attempt to open a .dir file, it asks what program I want to use and then continues to open it afterward with the same program.  The problem is, we have 15+ users who will be using this PC and this program/file.  How do I associate .dir with the program FOR ALL USERS without having to logon as each user.

I have been through modifying File Associations, but there is no option for adding a new file extension - only modifying existing ones.
0
Comment
Question by:Sudsybrew1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 42

Expert Comment

by:sedgwick
ID: 39834990
what OS/PC is this?
0
 
LVL 56

Expert Comment

by:Bill Prew
ID: 39835281
These associations are likely stored in each users registry, and I'm not aware of a way to access that for all users.  However, you can add a couple of commands that run when a user logs on to create the association as follows.

FTYPE dirfile="C:\Program Files\YourApp\YourExe.exe"
ASSOC .dir=dirfile

~bp
0
 

Author Comment

by:Sudsybrew1
ID: 39835937
Unfortunately, the user needs Admin credentials to perform this.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

Author Comment

by:Sudsybrew1
ID: 39835938
Windows 7
0
 
LVL 42

Accepted Solution

by:
sedgwick earned 500 total points
ID: 39835955
check here:

What registry keys are responsible for file extension association
add another key to support .dir files.
copy the structure from .txt key and update ShellNew value to contain the exe path and params
0
 
LVL 56

Expert Comment

by:Bill Prew
ID: 39836467
I would think any approach might need local admin rights to add an extension, but can't easily test, either by registry updates, or via command line tools.

~bp
0
 

Author Closing Comment

by:Sudsybrew1
ID: 39850440
After seeing this post, I went to the web to find the exact steps and keys that needed to be added.
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

623 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