Solved

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

Posted on 2014-02-04
7
235 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 51

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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 

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 51

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

A Bare Metal Image backup allows for the restore of an entire system to a similar or dissimilar hardware. They are highly useful for migrations and disaster recovery. Bare Metal Image backups support Full and Incremental backups. Differential backup…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …

759 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

19 Experts available now in Live!

Get 1:1 Help Now