Office Settings & Configuration

How to Open a Quick Note Using OneNote Command-Line Switches

Huma Ashraf ChHuma Ashraf Ch Nov 4, 2026 870 views

Question details

The user is looking for a specific command-line switch for OneNote (OneNoteM.exe) to instantly launch a new Quick Note, ideally to be triggered by a Surface Pen or a custom shortcut.

How to Open a Quick Note Using OneNote Command-Line Switches
Product
Microsoft OneNote
Device & OS
Windows
Scenario
Creating a custom shortcut or configuring a Surface Pen click to immediately open a Quick Note interface without launching the full OneNote application window.
Observed behavior
Available command-line switches for OneNote appear limited, and standard commands may open notes in existing virtual desktops rather than at the user's current location on the screen.
Before you start

Ensure that your Microsoft OneNote application is fully updated and running properly on your Windows device, as command-line switches require the core executable to be intact.

Solution 1Recommended

Use the /sidenote Command-Line Switch

Create a custom shortcut using the /sidenote switch to force OneNote to launch directly into the Quick Note interface.

Although official documentation for OneNote startup switches is no longer actively maintained by Microsoft, the /sidenote switch remains one of the most reliable methods for triggering a Quick Note from a command line or shortcut.

1
Locate the OneNote executable

Find the path to your OneNote executable file (usually named onenote.exe). This is typically located in C:\Program Files\Microsoft Office\root\Office16\ or a similar directory depending on your installation version.

2
Create a new shortcut

Right-click on your Windows desktop, select 'New', and then choose 'Shortcut'.

3
Add the command-line switch

In the location field, enter the path to the executable wrapped in quotes, followed by a space and the switch. For example: "C:\Program Files\Microsoft Office\root\Office16\ONENOTE.EXE" /sidenote

4
Assign to Surface Pen

If you are using a Surface Pen, go to Windows Settings > Devices > Pen & Windows Ink, and assign your pen's shortcut button to launch the classic app shortcut you just created.

Use the /sidenote Command-Line Switch
Virtual Desktop Behavior: Be aware that using this switch might open the Quick Note in the existing OneNote virtual desktop rather than your current active screen location.
Free Microsoft Office alternative

Discover WPS Office: A Lightweight and Free Office Suite

While you configure your note-taking shortcuts, consider upgrading your primary document workflow with WPS Office. It is a completely free, highly compatible alternative to Microsoft Office that loads incredibly fast and supports all major document formats.

  1. 1. Download the installer: Visit the official WPS website and download the free installer for Windows.
  2. 2. Install the software: Run the setup file and follow the on-screen instructions to install WPS Office on your device.
  3. 3. Open your files: Double-click any Word, Excel, or PowerPoint file to instantly open and edit it within WPS Office.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Incredibly lightweight, ensuring fast startup times on any Windows device.Features a built-in PDF editor to manage, merge, and sign documents seamlessly.Offers a familiar, tabbed user interface, making the transition effortless.
microsoft office alternative - wps office

Frequently Asked Questions

Why does the /sidenote switch open the Quick Note in a different virtual desktop?

This is a known Windows environment behavior. If the main OneNote application process is already running on a different virtual desktop, Windows often attempts to group new windows spawned by that executable into the original virtual desktop.

Are there other useful OneNote command-line switches available?

Yes, while Microsoft has removed the official documentation, users have found switches like /print (to print a document to OneNote) and /safeboot (to troubleshoot OneNote startup issues) to be functional in various versions.

Can I map the Windows + N shortcut directly to my Surface Pen?

Yes. Through the Windows 'Pen & Windows Ink' settings, you can customize the behavior of the Surface Pen's tail button. Instead of launching a classic app, you can use third-party tools like AutoHotkey to map the pen click to the 'Windows + N' keystroke.