How to Launch Microsoft OneNote from the Command Prompt
Question details
The user wants to launch OneNote from the Windows Run dialog or Command Prompt but cannot find its executable.

- Product
- Microsoft OneNote
- Device & OS
- Windows
- Scenario
- The user wants a command-line or Run dialog shortcut for opening OneNote.
- Observed behavior
- The OneNote package folder does not appear to contain a traditional executable that can be added to PATH.
Make sure OneNote is installed and appears in the Windows Start menu. The folder under %LOCALAPPDATA%\Packages may contain app data rather than an executable suitable for PATH.
Launch OneNote using its Windows app ID
Use the app ID to open an installed OneNote app without finding an executable or changing PATH.
Open Windows PowerShell from the Start menu and run: Get-StartApps | Where-Object { $_.Name -like '*OneNote*' } | Format-List Name, AppID
Find the OneNote entry you want in the PowerShell results and copy its AppID value.
In Command Prompt or the Windows Run dialog, enter explorer.exe "shell:AppsFolder\<AppID>", replacing <AppID> with the copied value, and press Enter.

Add the desktop OneNote executable folder to PATH
Use this method if your installed desktop version has an accessible ONENOTE.EXE file.
Create and organize notes in WPS Writer
WPS Office is a free, lightweight alternative with a familiar interface and Microsoft Office format compatibility for easy migration. Use WPS Writer to create and organize notes in documents; it does not fix OneNote launch issues.

Frequently Asked Questions
Why can't I find ONENOTE.EXE in the Packages folder?
The folder under %LOCALAPPDATA%\Packages can contain app data rather than a traditional executable. Use Get-StartApps in PowerShell to find the app ID and launch OneNote through shell:AppsFolder.
Can I open OneNote from the Run dialog without changing PATH?
Yes. After finding its app ID with Get-StartApps, press Windows+R and enter explorer.exe "shell:AppsFolder\<AppID>", replacing <AppID> with the actual ID.
What should I add to PATH for desktop OneNote?
Add the folder containing ONENOTE.EXE, not the executable itself. Find the path through the OneNote shortcut's Properties, then edit Path in the Windows environment variables settings.
Why doesn't the onenote.exe command work after I edit PATH?
Open a new Command Prompt so it picks up the updated PATH. Also check that the added entry is the folder containing ONENOTE.EXE and that the file opens when you enter its full quoted path.




