How to reinstall OneNote for Windows 10 without using the Microsoft Store?
You can generate links to the APPX files provided the by the Microsoft Store URL on AdGuard. These download links are directly from Microsoft.
OP Update for future readers:
Once the .appx or .appxbundle file is downloaded, it can be added back into the package root with the following PowerShell command:
add-appxprovisionedpackage -online -packagepath <path to appx file> -skiplicense
Disclaimer: I have tested the following procedure in a virtual machine. So, it may not work in real environment. Also the procedure may require admin permissions to take ownership of folder. Make sure you have the same version of Windows 10 ISO file which is already installed.
Procedure:
- Mount the same version of Windows 10 ISO file. Assume the mounted drive
letter is
F:\
. Now detect the index matched with installed Windows 10 edition. Run this command in Command Prompt as administrator:
- Mount the same version of Windows 10 ISO file. Assume the mounted drive
letter is
dism /Get-WimInfo /WimFile:F:\sources\install.wim
For example, Windows 10 Pro will be in Index : 6
.
- Open
F:\sources\install.wim
file in 7ZIP. Goto the index number (here 6) > Program Files > Windows Apps and extract theOneNote
andVCLibs
folders. Folder version may be different.
Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe
Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe
Microsoft.Office.OneNote_16001.11126.20076.0_x64__8wekyb3d8bbwe
Microsoft.Office.OneNote_16001.11126.20076.0_neutral_~_8wekyb3d8bbwe
Paste those folder in the actual installed Windows 10
C:\Program Files\WindowsApps\
folder. This may require admin permissions to take ownership of that folder. Follow this procedure.Run these following commands in Powershell to register those Appx using Add-AppxPackage cmdlet with the full path of
ApxManifest.xml
file:
Add-AppxPackage -DisableDevelopmentMode -register "C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.26706.0_x86__8wekyb3d8bbwe\AppxManifest.xml"
Add-AppxPackage -DisableDevelopmentMode -register "C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.26706.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
Add-AppxPackage -DisableDevelopmentMode -register "C:\Program Files\WindowsApps\Microsoft.Office.OneNote_16001.11126.20076.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
Add-AppxPackage -DisableDevelopmentMode -register "C:\Program Files\WindowsApps\Microsoft.Office.OneNote_16001.11126.20076.0_neutral_~_8wekyb3d8bbwe\AppxManifest.xml"