Community
    • Login

    File Assicoacion.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 264 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AndreiA
      Andrei
      last edited by

      File Assicoacion.

      Hi. I want to install notepad ++ on terminal servers. To work with some files by default, I need to run notepad ++ as administrator and install extension support.

      alt text

      Can I somehow set this up using group policies? Is this setting stored in some file?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Andrei
        last edited by

        @Andrei said in File Assicoacion.:

        Can I somehow set this up using group policies?

        I know nothing about group policies

        Is this setting stored in some file?

        No. The Preferences > File Association is just then writing that information into the Windows Registry.

        I personally never control the association from the Preferences; I do it through Windows Registry using regedit or the REG command or .reg registry files

        If I, as some who has not been trained in windows system administration, but has years of running his own Windows machines, were trying to solve the file-association problem to setup file associations alongside installing Notepad++ on a large group of machines, my steps would be to create a .reg file which made the necessary HKCU\Software\Classes and/or HKLM\Software\Classes edits to set up the associations (setting up both the .ext pointers and the non-dotted filetype key(s) that the extensions point to), then to run that .reg file after running the notepad++ installer on each of the users’ systems. (Alternately, make a .bat file which runs the notepad++ installer and then runs a series of REG commands to setup the associations. Either way, the end result is the same.)

        (Whether to use HKCU vs HKLM would depend on whether there was just going to be a single user on the machine or not, and whether I wanted to make it harder or easier for the user to change his own associations; if the user is going to change them, I would highly recommend HKCU, because those are editable by the local user even without elevating privileges)

        1 Reply Last reply Reply Quote 2
        • AndreiA
          Andrei
          last edited by

          Thansk you ! I make registry in HKLM\Software\Classes with GPO. Problem solved.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors