Community
    • Login

    Move NPP to new computer

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    6 Posts 4 Posters 11.7k 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.
    • trmarcusT
      trmarcus
      last edited by

      I will soon be building a new computer. I want to move/migrate my configuration, settings, and plugins. With all the changes to file locations in recent versions, I’m no longer sure how to do that. Is there a document or Web page someone could point me to that would give me guidance for moving the current version over? Alternatively, could someone provide a complete list of what I need to save and move?

      Alan KilbornA dinkumoilD 2 Replies Last reply Reply Quote 1
      • Alan KilbornA
        Alan Kilborn @trmarcus
        last edited by

        @trmarcus

        This seems like a good opportunity to stand up and cheer for the portable version. IF you had the foresight to use the portable version, it is as easy as copying the entire C:\.....\npp.7.7.1\* (or whatever) tree from old PC to new PC.

        If you are using an installed version, it is not as easy, but I’m sure someone that knows will be along soon… :)

        1 Reply Last reply Reply Quote 1
        • PeterJonesP
          PeterJones
          last edited by

          Assuming you are using an installed v7.6.3 or newer (rather than the portable), then to copy over your settings, you can just copy %appdata%\notepad++ from the old to the new.

          If you also want to copy over exactly the version of Notepad++, with all the same plugins already installed, you could try to copy over the %program files%\notepad++ or %program files (x86)%\notepad++ directory to the new computer… but this won’t put Notepad++ into the right-click context menu. Really, it’s better just to install Notepad++ on the new computer, then either use Plugins > Plugins Admin to re-install each of the plugins you use, or copy <install directory>\plugins (including all subdirectories) from the old machine to the new.

          PeterJonesP 1 Reply Last reply Reply Quote 1
          • dinkumoilD
            dinkumoil @trmarcus
            last edited by dinkumoil

            @trmarcus

            It depends on the Notepad++ version you are running currently.

            In general, after installing of Notepad++ on the new machine you need to copy your plugin folder and the folder with your custom settings and the plugin settings.

            Notepad++ version up to v7.5.9

            1. Plugins folder
              a) Normal installation: <Notepad++-install-dir>\plugins
              b) Plugins in user profile: %AppData%\Notepad++\plugins
            2. Settings folder: %AppData%\Notepad++

            Notepad++ version v7.6.3 and higher

            1. Plugins folder
              <Notepad++-install-dir>\plugins
              Installation of plugins to the user profile is not supported anymore.
            2. Settings folder: %AppData%\Notepad++

            In all cases you should have a look at the Notepad++ install dir (where notepad++.exe resides) to find additional plugin companion files (for example old versions of the XML Tools plugin store files there) which have to be copied as well.

            If you come from a Notepad++ version prior to v7.6 and in the future you want to use a version v7.6.3 or higher you have to migrate your plugins to the new folder structure required since v7.6. I have elaborated thoroughly about what to do in this comment.

            1 Reply Last reply Reply Quote 1
            • trmarcusT
              trmarcus
              last edited by

              This is exactly what I was looking for. Thanks to all!

              I’m running 7.7.1, so I’ll install it on the new machine and then copy over the plugins and settings folder.

              1 Reply Last reply Reply Quote 2
              • PJ HankinsP PJ Hankins referenced this topic on
              • PeterJonesP
                PeterJones @PeterJones
                last edited by

                @Future Readers,

                If you have been reading this topic to find out how to copy settings from one computer to another, this 2023 discussion gives one more caveat to my instructions from Aug 2019:

                If the OLD computer and NEW computer have different usernames, or otherwise use different paths for the %AppData%\Notepad++ directory resolution (maybe it’s on d:\users\abc\AppData\Roaming\Notepad++ on OLD and c:\users\long.name\AppData\Roaming\Notepad++ on NEW), then you might also have to edit the NEW copy of session.xml and possibly other config files, and if they have any paths in those config files that referenced the OLD AppData, you will have to update to the NEW AppData.

                In general, in session.xml and other config files, if there are paths in those files, they are hardcoded to full paths… so if those full paths do not exactly match on both machines, you will have to edit the config files or Notepad++ cannot find the files referenced by those paths.

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