Taskbar New Command Hidden Notepad Processes
In this article
When you use the taskbar's "New" command (for example, right-clicking the taskbar and choosing "New toolbar" or creating a new folder via the context menu), Windows may start hidden Notepad processes in the background. This happens because the shell uses Notepad as a lightweight text handler for certain system operations, and these processes are often invisible to the user but appear in Task Manager.
Background: Why Notepad Is Involved
Notepad has been a core Windows component since 1985. Because it is small, fast, and always present, Windows itself uses it for internal tasks that require a basic text editor. These tasks include:
- Creating and editing shortcut files (.lnk) or configuration files (.ini, .cfg)
- Handling drag-and-drop text operations in Explorer
- Generating temporary files for the "New" context menu items
- Supporting the taskbar's "New toolbar" feature, which creates a folder and a text-based configuration
When you trigger a "New" command on the taskbar, Windows may launch Notepad in the background to write or read a temporary file. The process is not meant to be visible; it runs with a hidden window and exits quickly. If it does not exit, you see it in Task Manager.
How the "New" Command Triggers Notepad
The taskbar's "New" command is part of the Windows shell (explorer.exe). When you right-click the taskbar and select "New toolbar" or "New folder," the shell performs several steps:
- It creates a new folder or toolbar directory.
- It writes a desktop.ini file inside that folder to customize its appearance.
- It may use Notepad to open or verify that file, especially if the folder is set to display as a toolbar.
The desktop.ini file is a plain-text file that controls folder icons, tooltips, and other shell attributes. Because Notepad is the default handler for .ini files, the shell may launch it to read or modify the file. In most cases, Notepad opens and closes so quickly that you never notice it. However, if the file is locked or the shell encounters an error, the Notepad process can remain running in the background.
Common Reasons for Hidden Notepad Processes
Seeing multiple Notepad processes after using the "New" command is usually harmless, but there are specific causes:
- Stuck file handles: If a previous Notepad instance is still holding a file open, the new instance may wait for access, leaving it running.
- Shell extension conflicts: Third-party context menu tools (like 7-Zip or WinRAR) may add their own "New" items that invoke Notepad.
- Corrupted desktop.ini: If the file is malformed, Notepad may open it to display an error, and the window may be hidden.
- Windows Explorer restart: Sometimes Explorer restarts after a crash, and leftover Notepad processes from before the crash remain.
- Antivirus scanning: Security software may temporarily block Notepad from writing, causing it to wait in the background.
If you see one or two Notepad processes right after using the "New" command, they usually disappear within seconds. If they persist, there may be an underlying issue.
How to Check and Identify Hidden Processes
To see if a Notepad process is truly hidden, open Task Manager (Ctrl+Shift+Esc). Under the "Processes" tab, look for "Notepad" in the Apps section. If it appears there, it has a visible window. If it appears under "Background processes," it is running without a window.
To get more detail:
- Right-click the Notepad process and select "Go to details."
- In the "Details" tab, note the PID (Process ID).
- Right-click the process and choose "Open file location" to see which file it is accessing.
- If the file path is in your Temp folder or a folder you recently created, it is likely from the "New" command.
You can also use Command Prompt to list Notepad processes with their command lines:
wmic process where "name='notepad.exe'" get ProcessId,CommandLine
This shows the exact file Notepad is working on. If it is a desktop.ini or a temporary file, you can safely close the process.
Is It Safe to End These Processes?
Yes, it is generally safe to end a hidden Notepad process that was started by the "New" command. Notepad does not save data automatically, and if it is only holding a temporary file, closing it will not harm your system. However, if you have unsaved work in a visible Notepad window, ending the process will lose that data.
To end a process, right-click it in Task Manager and select "End task." Windows will close it immediately. If the process reappears after ending it, something is repeatedly triggering it, which may indicate a shell extension or a scheduled task.
Preventing Unwanted Notepad Launches
If hidden Notepad processes are frequent and annoying, you can reduce them:
- Check your context menu: Remove any third-party "New" items that you do not use. Tools like ShellExView can disable shell extensions.
- Set Notepad as default for .txt only: If you have changed the default app for .ini or .cfg files to something else, Windows may still use Notepad for internal operations. Resetting defaults to Notepad for text files can help.
- Run a system file check: Corrupted system files can cause Explorer to behave oddly. Open Command Prompt as administrator and run
sfc /scannow. - Clear your Temp folder: Leftover temporary files can cause Notepad to hang. Use Disk Cleanup to remove them.
If the issue only happens when you use the "New" command, it is likely a one-time occurrence and not a cause for concern.
Comparisons: Notepad vs. Other Text Handlers
Windows could use other text editors, but Notepad is chosen because it is built-in, has no dependencies, and supports UTF-8 encoding. Alternatives like WordPad are heavier and may introduce formatting. Third-party editors like Notepad++ are not preinstalled, so Windows cannot rely on them. For internal operations, Notepad is the most predictable choice.
This is why you see Notepad in the background, not another program. If you have changed the default text editor to a third-party app, Windows may still use Notepad for system tasks because it needs a guaranteed available handler.
Frequently Asked Questions
Why does Notepad open and close by itself when I right-click the taskbar?
This is usually the shell creating a temporary file for the context menu. Notepad opens to write or read the file, then closes. If it stays open, it may be waiting for input or the file may be locked.
Can a hidden Notepad process be a virus?
Notepad.exe is a legitimate Windows file. However, malware can disguise itself with the same name. Check the file location in Task Manager: the real Notepad is in C:\Windows\System32. If it is elsewhere, run a security scan.
How do I stop Notepad from starting automatically?
If Notepad starts without any action from you, check Task Manager's Startup tab. Also check Task Scheduler for tasks that run Notepad. The "New" command is not automatic; it only triggers when you use it.
Is it normal to see multiple Notepad processes?
Yes, if you have multiple Notepad windows open, each one is a separate process. Hidden ones from the "New" command are usually temporary. If you see more than three or four and they do not close, investigate the cause.
Will ending Notepad processes affect my open files?
Ending a Notepad process will close that instance. If you have unsaved text in a visible window, you will lose it. Hidden processes usually have no unsaved data, so ending them is safe.