Windows XP Forums


Reply
Thread Tools Display Modes

Setting up file associations for all users of a PC

 
 
hhsu68
Guest
Posts: n/a
 
      3rd September 2008
It seems that the file associations which you can set up to associate file
extensions with particular applications are specific to a user of a PC. Is
there any way to set up file associations so that they apply to all users of
a PC? We want administrators to be able to set up a PC so that regular users
of that PC do not have to perform any setup on their own. Thanks for your
help.
 
Reply With Quote
 
 
 
 
Jim
Guest
Posts: n/a
 
      3rd September 2008

"hhsu68" <(E-Mail Removed)> wrote in message
news:695ADDE8-9CF0-4173-A600-(E-Mail Removed)...
> It seems that the file associations which you can set up to associate file
> extensions with particular applications are specific to a user of a PC. Is
> there any way to set up file associations so that they apply to all users
> of
> a PC? We want administrators to be able to set up a PC so that regular
> users
> of that PC do not have to perform any setup on their own. Thanks for your
> help.

The administrator can change the default associations by editing the
registry. You will find instructions in Appendix A of the Windows Registry
Guide by Jerry Hunnicut.
Jim


 
Reply With Quote
 
Mike Plichta
Guest
Posts: n/a
 
      17th November 2010
From screwing around with this for hours (Microsoft made this way too complicated), here's what I found out. Our goal was to make jpg files open with microsoft Office Picture Manager instead of the windows picture viewer.

This following entry gets created if a user uses the "open this file with" command and checks the box for always use this program. This is a per user, per computer setting.
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\FileExts\.JPG]
"Application"="OIS.EXE"

Note that OIS.exe is the executable for microsoft office picture manager. This user has used the "Open this file with" command.

Should the above registry key not exist, it will next look at HKEY classes root.
[HKEY_CLASSES_ROOT\.jpg]

The default parameter will tell it what type of file to treat it as. This is the only time I've ever see the default key used for anything in the registry. When Default says "OISjpegfile" it opens with the office image manager. when it says jpegfile, it opens with windows picture viewer.

So lets say that it says "OISjpegfile". It will then query
[HKEY_CLASSES_ROOT\OISjpegfile\shell\open\command
To see what executable opens an oisjpegfile.

If it says "jpegfile" it will query
[HKEY_CLASSES_ROOT\jpegfile\shell\open\command
and open with that program instead.

So changing the HKEY classes root key on a computer is easy, but you'd have to write a script that clears out the hkey current user key for every user or delete user profiles. I'm not sure yet if the HKCurrent User key gets copied from default user account or not, but you might have to fix it for the default user's HKey_current_user as well as delete profiles if you were going that route.

> On Wednesday, September 03, 2008 8:06 AM hhsu6 wrote:


> It seems that the file associations which you can set up to associate file
> extensions with particular applications are specific to a user of a PC. Is
> there any way to set up file associations so that they apply to all users of
> a PC? We want administrators to be able to set up a PC so that regular users
> of that PC do not have to perform any setup on their own. Thanks for your
> help.



>> On Wednesday, September 03, 2008 10:17 AM Jim wrote:


>> The administrator can change the default associations by editing the
>> registry. You will find instructions in Appendix A of the Windows Registry
>> Guide by Jerry Hunnicut.
>> Jim



>> Submitted via EggHeadCafe
>> AJAX ModalPopUpExtender with GridView (Database) With Clientside Validation.
>> http://www.eggheadcafe.com/tutorials...alidation.aspx

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File Associations Mike Sumner Windows XP Configuration 2 30th August 2004 08:23 PM
file associations Clay Windows XP Basics 0 3rd December 2003 02:09 PM


All times are GMT. The time now is 12:15 AM.
Windows XP Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26