Up until Widows 8.1, you could use wuapp to start the Windows Update panel.
For a while, Windows 10 needed a cumbersome language specific workaround described at Windows 10 – language neutral batch file to start Windows.
That stopped working after a few builds, but I forgot to make a note in which build exactly. Already in Windows 10 build 10122, the icon in wucltux.dll
, so this might have been shortly after the initial “RTM” (retroactively named 1507).
So for a while, I had this batch file:
Since then I had to maintain too many locales running Windows 10. So here is the batch file:
for /f "delims=" %%A in ('PowerShell -Command "(Get-Culture).Name"') do explorer "%LocalAppData%\Packages\windows.immersivecontrolpanel_cw5n1h2txyewy\LocalState\Indexed\Settings\%%A\AAA_SystemSettings_MusUpdate_UpdateActionButton.settingcontent-ms"It uses these tricks:
- Set output of a command as a variable (in this case a for loop variable)
- Execute PowerShell script in a .bat file
- PowerShell Get-Culture (which gets a .NET CultureInfo instance)
- CultureInfo.Name property (which has the nl-NL, en-US, etc codes in it)
But now I have extended it to support old and new Windows versions:
if exist %windir%\System32\wuapp.exe ( %windir%\System32\rundll32.exe url.dll,FileProtocolHandler wuapp.exe ) else ( %windir%\explorer ms-settings:windowsupdate )
–jeroen
via: Windows Update Shortcut – Create in Windows 10 – Windows 10 Forums