Software⏱️ 3 min read📅 2026-06-15

How to Fix: Error starting OneNote from command prompt

Error starting OneNote from command prompt

Quick Answer: Disable the Microsoft Office Trust Center settings to resolve the issue.

Error starting OneNote from command prompt occurs when attempting to launch Microsoft Office applications, including OneNote 2013, from a command prompt. This issue affects users who have installed OneNote on their system and are experiencing security concerns while trying to start the application from the command line.

This error can be frustrating for users as it prevents them from using OneNote through batch files or scripts, which may be necessary for automation tasks or other productivity purposes.

🛑 Root Causes of the Error

  • The primary reason for this error is due to the way Microsoft Office applications handle security settings. When you try to launch an Office application from a command prompt, it triggers the security warning about potential threats from hyperlinks.
  • Another possible cause could be related to the specific configuration of your system or OneNote installation, which may require additional troubleshooting steps.

🚀 How to Resolve This Issue

Disabling Security Warning

  1. Step 1: Open the Command Prompt and navigate to the directory where OneNote is installed.
  2. Step 2: Type the following command to disable the security warning: "regsvcs /u Microsoft.Office.OneNote.14" (replace 14 with your OneNote version number). This will remove the OneNote server component from the registry, disabling the security warning.
  3. Step 3: Restart the Command Prompt and try launching OneNote again.

Resetting Office Application Settings

  1. Step 1: Open the Registry Editor (Regedit.exe) and navigate to the following key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\AddIns.
  2. Step 2: Find the OneNote Add-in and right-click on it, then select 'Disable'.
  3. Step 3: Restart the Command Prompt and try launching OneNote again.

🎯 Final Words

By disabling the security warning or resetting Office application settings, you should be able to resolve the error starting OneNote from a command prompt. If the issue persists, further troubleshooting may be necessary.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions