Solved

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

Posted on 2014-02-04
7
240 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
  • 3
  • 2
  • 2
7 Comments
 
LVL 42

Expert Comment

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

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
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 

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 53

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

This is an article about Leadership and accepting and adapting to new challenges. It focuses mostly on upgrading to Windows 10.
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

770 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