File association
What is the way to make a file association with a new extension in Windows Server 2008 ? Group Policy ?
March 18th, 2011 9:07am

Just right click the file, select open with, choose the application that you want to associate the extension with, make sure that you select the "always use this application..." check box and press okMCDST, MCSAS, MCSES, MCDBA, MCITP, MCTS, MCT
Free Windows Admin Tool Kit Click here and download it now
March 18th, 2011 9:31am

Just right click the file, select open with, choose the application that you want to associate the extension with, make sure that you select the "always use this application..." check box and press ok MCDST, MCSAS, MCSES, MCDBA, MCITP, MCTS, MCT This is working only on the account that does it. I am asking how to change the association at the system level ?
March 18th, 2011 9:57am

It seems that Windows Server 2008 doesn't include a GUI for this anymore: http://social.technet.microsoft.com/Forums/en-US/winserverTS/thread/3e6691c2-ec42-4539-8065-2c23fd53f5b4 The solution is to edit in the registry manually. This is odd.
Free Windows Admin Tool Kit Click here and download it now
March 18th, 2011 10:12am

here is an example http://stackoverflow.com/questions/1387769/create-registry-entry-to-associate-file-extension-with-application-in-chttp://www.virmansec.com/blogs/skhairuddin
March 19th, 2011 7:16am

here is an example http://stackoverflow.com/questions/1387769/create-registry-entry-to-associate-file-extension-with-application-in-c http://www.virmansec.com/blogs/skhairuddin Thanks. I am little bit confused. For global effect it should be in HK_LOCAL_MACHINE or HK_CLASSES_ROOT ? So far I have: whicih does not seem to work. I also tryed CLASSES_ROOT with no effect. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Classes\.demo] @="Demo-demo.Document" [HKEY_LOCAL_MACHINE\Software\Classes\demo_auto_file] @="" [HKEY_LOCAL_MACHINE\Software\Classes\demo_auto_file\shell] [HKEY_LOCAL_MACHINE\Software\Classes\demo_auto_file\shell\open] [HKEY_LOCAL_MACHINE\Software\Classes\demo_auto_file\shell\open\command] @="\"C:\\Program Files (x86)\\Demo\\Notepad.exe\" \"%1\"" What is wrong with the code above ? Regarding this article http://msdn.microsoft.com/en-us/library/cc144158%28VS.85%29.aspx SHChangeNotify must be called to notify the shell without reboot ?
Free Windows Admin Tool Kit Click here and download it now
March 21st, 2011 5:42am

Hi, Please open Control Panel, if “View by” is chosen as Category, click Programs, click Default Programs, click to open “Associate a file type or protocol with a specific program”. Find the extension you want to change, choose “Change program…”. Is this what you want? If not, please describe your requirements more detail. Thanks. NinaPlease remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
March 22nd, 2011 6:08am

Hi, Please open Control Panel, if “View by” is chosen as Category, click Programs, click Default Programs, click to open “Associate a file type or protocol with a specific program”. Find the extension you want to change, choose “Change program…”. Is this what you want? If not, please describe your requirements more detail. Thanks. Nina Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Dear Nina, I can associate those types with the program I want but I want this change to propagate to all user accounts: the setup is a Windows Server 2008 R2 with remote desktop services. I did what you suggested as admin but when other users are logging in they do not have this file type associations as the user that did the change has. Do I need to reboot the server for this to affect all accounts ? What I am asking is how to register this file extension to all users.
Free Windows Admin Tool Kit Click here and download it now
March 22nd, 2011 7:20am

Can you provide a fully working example please to associate a new extension with a program for all users ?
March 24th, 2011 9:38am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics