How to fix crashes when you start Notepad++

  • September 8, 2017
  • Read 12,151 times

Notepad++ is a terrific Windows notepad replacement, but just like any application, it sometimes has a problem and no longer starts properly. If you find that Notepad++ is crashing when you start it, in my experience there are typically two things that could be wrong; either a problem with a previous session or a problem with an installed plugin.

Notepad++ Crashing at Startup

Thankfully, the developers of Notepad++ included two command line arguments that allow you to start Notepad++ without loading previous sessions or plugins.  These command line arguments are described below

-nosession - This command line argument starts Notepad++ without loading the previous session. In my experience, this command line argument resolves most Notepad++ crashes when it starts as it bypasses a session that may have become corrupt or does not load a file that Notepad++ is having issues with.

-noPlugins - This command line argument will start Notepad++ without loading any plugins. If a plugin has become corrupt and causing Notepad++ to crash when you start it, then you can use this argument to bypass the plugins and then disable them one by one until you find the one causing problems.

To use these arguments, you need to add these arguments after the path of the program when you start it. For example, if Notepad++ is started from D:\Notepad++, you would normally either start it by typing in the search field or Run dialog the command D:\Notepad++\notepad++.exe

If you wish to add a command line argument, you need to append the argument to the end above the normal command. For example, to disable plugins when Notepad++ starts, using the path from the above example you would need to start Notepad++ with the D:\Notepad++\notepad++.exe -noPlugins command instead.

Appending command line arguments can be done in either two ways. The first way is by issuing the command directly and adding them as described above. This can either be done directly from the Windows start menu search field or from a Run dialog.  You can see examples of these arguments being used from the Run dialog, which is opened by entering the Windows+R keyboard combination, below.

No Sessions Command Line Argument

No Plugins Command Line Argument

If you have created a shortcut that starts Notepad++, you can also modify the shortcut and add the argument after the command in the Target field as shown below.


When you have resolved your problem with Notepad++, you can simply start it as normal without the command line arguments.

By using one, or both, of these command line arguments to start Notepad++, you can quickly determine the cause and get Notepad++ starting correctly again.

Notepad++ Working Normally


Users who read this also read:

  • Understanding Command Line Arguments and How to Use Them Image
    Understanding Command Line Arguments and How to Use Them

    Command line arguments are extra commands you can use when launching a  program so that the program's functionality will change.  Depending on the program, these arguments can be used to add more features that include specifiying a file that output should be logged to, specifying a default document to launch, or to enable features that may be a bit buggy at the moment.

  • How to Open and Use the Google Chrome Task Manager Image
    How to Open and Use the Google Chrome Task Manager

    The Google Chrome browser has a built-in Task Manager that allows you to see how much memory and CPU web pages, extensions, and Google processes are using while Chrome is running. This feature is very useful if you find that Chrome has become slow, is using too much memory, or freezes a lot as you can see those extensions or pages are causing a problem.

  • How to burn or write a CD/DVD image or ISO Image
    How to burn or write a CD/DVD image or ISO

    A CD/DVD image is a file that contains all the information necessary to make an exact duplicate, or clone, of a CD or DVD. Images are created by software that writes every bit of information contained on a CD or DVD into a file on your computer. This file can then be made available for download so that other people can make an exact duplicate or your original CD or DVD on their own computer.

  • How to see hidden files in Windows Image
    How to see hidden files in Windows

    By default Windows hides certain files from being seen with Windows Explorer or My Computer. This is done to protect these files, which are usually system files, from accidentally being modified or deleted by the user. Unfortunately viruses, spyware, and hijackers often hide there files in this way making it hard to find them and then delete them.

  • How to determine why Google Chrome is using a lot of memory or CPU Image
    How to determine why Google Chrome is using a lot of memory or CPU

    Unfortunately, it has become very common to find malicious Chrome extensions, poorly designed extensions, or extension monetization that causes Google Chrome to use up too much CPU or memory on a computer. This can cause the Chrome and the Windows to become slow, freeze, or crash. 



blog comments powered by Disqus
search tutorials


Remember Me
Sign in anonymously