+ Post New Thread
Results 1 to 8 of 8
Windows Server 2000/2003 Thread, Changing file associations using Group Policy in Technical; I would like to be able to change the file association based with .swf files. I would like to make ...
  1. #1
    eastofsmeg's Avatar
    Join Date
    Dec 2009
    Posts
    12
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Exclamation Changing file associations using Group Policy

    I would like to be able to change the file association based with .swf files. I would like to make them open in IE instead of the standalone flashplayer. If possible i plan to do this through group policy, but altough i have found the relevant keys within the registry i am unable to convert these into a working policy. Any help with this would be much appreciated.

  2. #2
    AIT
    AIT is offline
    AIT's Avatar
    Join Date
    Dec 2009
    Location
    Nottingham
    Posts
    369
    Thank Post
    46
    Thanked 32 Times in 30 Posts
    Rep Power
    19
    Quote Originally Posted by eastofsmeg View Post
    I would like to be able to change the file association based with .swf files. I would like to make them open in IE instead of the standalone flashplayer. If possible i plan to do this through group policy, but altough i have found the relevant keys within the registry i am unable to convert these into a working policy. Any help with this would be much appreciated.
    well here is how you alterr file asosiation in the registry
    so you could write a reg file to do such a thing:

    . Associate the extension with a filename string:

    HKEY_CLASSES_ROOT\.abc

    Add a default string of "abcfile"

    2. Associate 1:

    Create the following key:

    HKEY_CLASSES_ROOT\abcfile\shell\Open // Note that this key "Open" is the default verb

    Add the string: &Open with MyEditor1

    Create the following key:

    HKEY_CLASSES_ROOT\abcfile\shell\open EVC3\command

    Add the string: DriveLetter:\PathToFile\MyEditor1.exe

    3. Associate 2:

    HKEY_CLASSES_ROOT\abcfile\shell\Open MyEditor2

    Add the string: &Open with MyEditor2

    Create the following key:

    HKEY_CLASSES_ROOT\abcfile\shell\open EVC3\command

    Add the string: DriveLetter:\PathToFile\MyEditor2.exe

  3. #3

    Join Date
    Feb 2007
    Location
    Four Oaks
    Posts
    283
    Thank Post
    37
    Thanked 10 Times in 9 Posts
    Rep Power
    21
    Do you have A 2008 Server?

  4. #4
    eastofsmeg's Avatar
    Join Date
    Dec 2009
    Posts
    12
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by AIT View Post
    well here is how you alterr file asosiation in the registry
    so you could write a reg file to do such a thing:

    . Associate the extension with a filename string:

    HKEY_CLASSES_ROOT\.abc

    Add a default string of "abcfile"

    2. Associate 1:

    Create the following key:

    HKEY_CLASSES_ROOT\abcfile\shell\Open // Note that this key "Open" is the default verb

    Add the string: &Open with MyEditor1

    Create the following key:

    HKEY_CLASSES_ROOT\abcfile\shell\open EVC3\command

    Add the string: DriveLetter:\PathToFile\MyEditor1.exe

    3. Associate 2:

    HKEY_CLASSES_ROOT\abcfile\shell\Open MyEditor2

    Add the string: &Open with MyEditor2

    Create the following key:

    HKEY_CLASSES_ROOT\abcfile\shell\open EVC3\command

    Add the string: DriveLetter:\PathToFile\MyEditor2.exe
    I have tried using the following .reg file to perform this action:

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\.swf]
    @="ShockwaveFlash.ShockwaveFLash"
    "Content Type"="application/x-shockwave-flash"

    [HKEY_CLASSES_ROOT\.swf\OpenWithList]

    [HKEY_CLASSES_ROOT\.swf\OpenWithList\IExplore.exe]
    @=""


    this works fine when run localy by an administrator but when placed into our startup script for students it no longer functions.

    Quote Originally Posted by dirtydogmitchell View Post
    Do you have A 2008 Server?
    We are running server 2003 at the moment

  5. #5
    AIT
    AIT is offline
    AIT's Avatar
    Join Date
    Dec 2009
    Location
    Nottingham
    Posts
    369
    Thank Post
    46
    Thanked 32 Times in 30 Posts
    Rep Power
    19
    how about placing it on the startup script for machine.

  6. #6

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,766
    Thank Post
    3,274
    Thanked 1,053 Times in 974 Posts
    Rep Power
    365

  7. #7
    cookie_monster's Avatar
    Join Date
    May 2007
    Location
    Derbyshire
    Posts
    4,202
    Thank Post
    393
    Thanked 278 Times in 239 Posts
    Rep Power
    74
    You could set it in your user profile as well if you use mandatory profiles or a network default profile.

  8. #8
    eastofsmeg's Avatar
    Join Date
    Dec 2009
    Posts
    12
    Thank Post
    1
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by cookie_monster View Post
    You could set it in your user profile as well if you use mandatory profiles or a network default profile.
    we are using roaming profiles which collect there default profile from each local machine. Is there a way of using an .ADM file in GPO to perform my required action?

SHARE:
+ Post New Thread

Similar Threads

  1. File and Print Sharing Group Policy
    By gollops in forum Wireless Networks
    Replies: 3
    Last Post: 3rd December 2012, 10:45 AM
  2. 2 File Associations
    By whartomt01 in forum Office Software
    Replies: 2
    Last Post: 6th July 2009, 07:43 AM
  3. Replies: 1
    Last Post: 22nd October 2008, 11:08 AM
  4. Replies: 2
    Last Post: 29th April 2008, 03:17 PM
  5. File Download in group policy
    By philtomo-25 in forum Windows
    Replies: 1
    Last Post: 27th June 2007, 03:28 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •