.url associate with "Internet Browser"

Anahaym 496 Reputation points
2021-02-25T11:15:51.487+00:00

Hello,

how to associate .url files with Internet Browser without "clicking"? I need to implement this on 700 computers... I've done this already "assoc .url=InternetShortcut" - but it didn't help:

72008-url3.png

Thank you!

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

Accepted answer
  1. Anahaym 496 Reputation points
    2021-03-11T08:44:53.43+00:00

    Solution: import this .reg file

    Windows Registry Editor Version 5.00
    
    [-HKEY_CLASSES_ROOT\.url]
    
    [HKEY_CLASSES_ROOT\.url]
    @="InternetShortcut"
    
    [HKEY_CLASSES_ROOT\.url\OpenWithProgIds]
    "InternetShortcut"=""
    
    [HKEY_CLASSES_ROOT\.url\PersistentHandler]
    @="{8CD34779-9F10-4f9b-ADFB-B3FAEABDAB5A}"
    
    [HKEY_CLASSES_ROOT\.url\ShellEx\{000214EE-0000-0000-C000-000000000046}]
    @="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
    
    [HKEY_CLASSES_ROOT\.url\ShellEx\{000214F9-0000-0000-C000-000000000046}]
    @="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
    
    [HKEY_CLASSES_ROOT\.url\ShellEx\{00021500-0000-0000-C000-000000000046}]
    @="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
    
    [HKEY_CLASSES_ROOT\.url\ShellEx\{CABB0DA0-DA57-11CF-9974-0020AFD79762}]
    @="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
    
    [HKEY_CLASSES_ROOT\.url\ShellEx\{FBF23B80-E3F0-101B-8488-00AA003E56F8}]
    @="{FBF23B40-E3F0-101B-8488-00AA003E56F8}"
    
    [HKEY_CLASSES_ROOT\InternetShortcut]
    "EditFlags"=dword:00000002
    "FriendlyTypeName"="@C:\\WINDOWS\\system32\\ieframe.dll,-10046"
    "FullDetails"="prop:System.Link.TargetUrl;System.Rating;System.Link.Description;System.Link.Comment"
    "InfoTip"="prop:System.Link.TargetUrl;System.Rating;System.Link.Description;System.Link.Comment"
    "IsShortcut"=""
    "NeverShowExt"=""
    "PreviewDetails"="prop:System.Link.TargetUrl;System.Rating;System.History.VisitCount;System.History.DateChanged;System.Link.DateVisited;System.Link.Description;System.Link.Comment"
    @="Internet Shortcut"
    
    [HKEY_CLASSES_ROOT\InternetShortcut\DefaultIcon]
    @=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
      00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,75,00,72,00,\
      6c,00,2e,00,64,00,6c,00,6c,00,2c,00,35,00,00,00
    
    [HKEY_CLASSES_ROOT\InternetShortcut\tabsets]
    "selection"=dword:00000705
    
    [-HKEY_CLASSES_ROOT\SystemFileAssociations\.url]
    
    [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.url]
    
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.url\OpenWithList]
    
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.url\OpenWithProgids]
    "InternetShortcut"=hex(0):
    
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.url\UserChoice]
    "Hash"="wMx4BywX2RI="
    "ProgId"="IE.AssocFile.URL"
    
    [-HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Roaming\OpenWith\FileExts\.url]
    
    [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Roaming\OpenWith\FileExts\.url\UserChoice]
    "Hash"="fxBI0XatfDw="
    "ProgId"="IE.AssocFile.URL"
    
    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. Castorix31 90,686 Reputation points
    2021-02-25T12:03:16.067+00:00

    You can try this tool : SFTA.exe
    It works on my Windows 10 OS (1909) with :

    SFTA.exe InternetShortcut ".url"

    (but not sure if it will work on newer versions...)

    1 person found this answer helpful.

  2. Michael Taylor 60,331 Reputation points
    2021-02-25T15:32:18.047+00:00

    Sounds like you have a network of computers that need this so why not push it out as part of the domain's group policy. The change will get automatically pushed the next time the policies are updated on the computer. Here's an article on how to do that


  3. Anahaym 496 Reputation points
    2021-03-02T16:12:13.653+00:00

    I've tried Microsoft Intune - didn't work.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.