A simple shortcut to quickly upgrade your apps using WinGet. No nonsense. Just 4 KB in size.
Alice: "winget upgrade" is two words! I don't need a shortcut for that!
Bob: The shortcut is a visual reminder, a nudge, to occasionally check for updates. Beginners don’t need to remember any command prompts. Power users conveniently switch to custom prompts.
Perfect for:
- Minimalists who believe less is more 🔧
- Friends who fear the command line 😱
- Parents who forget updates exist 🧓
- For Everyone: Not everyone is tech-savvy. It helps you, family, and friends stay updated.
- Shareable: Create once, share anywhere. Copy it to a flash drive or send it via Email or a messenger.
- Safe and Secure: No explicit admin rights required, no execution policy changes, no browser interaction.
- Full Control: No autostart, no scheduling, no interruptions — you decide when to run.
- Zero Nonsense: No third-party tools, no background processes, no notifications.
This script creates a WinGet.lnk shortcut on the Desktop. It assigns PowerShell as target, and icon 46 from shell32.dll.
-
Copy the following script
$shell = New-Object -ComObject WScript.Shell $shortcut = $shell.CreateShortcut([System.Environment]::GetFolderPath('Desktop') + '\WinGet.lnk') $shortcut.TargetPath = 'C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe' $shortcut.Arguments = '-NoExit -Command "winget upgrade; Write-Host ''''; $i = Read-Host ''Upgrade all packages? (Y/N)''; if ($i -match ''^[Yy]$'') { winget upgrade --all } else { Write-Host '''' }"' $shortcut.IconLocation = '%SystemRoot%\System32\shell32.dll,46' $shortcut.Save() exit
-
Press
Win + X
, then select Windows PowerShell / Terminal from the menu. -
Paste (Right-Click) the copied script into your PowerShell window. Confirm the multi-line warning. Window closes automatically.
-
(Optional) Once the shortcut is created, you can pin it to your Taskbar or Start Menu for easy access. Run it on Demand.
The shortcut itself runs the following command in PowerShell:
-NoExit -Command "
winget upgrade; Write-Host ''; # Lists available upgrades
$i = Read-Host 'Upgrade all packages? (Y/N)'; # Asks user how to proceed
if ($i -match '^[Yy]$') {
winget upgrade --all # Y ✅ : Upgrades apps automatically. Prompts UAC only when needed.
} else {
Write-Host '' # N ❌ : Lets user run custom prompts. Convenient for power users.
}"
Made with ❤️ for simplicity.