Why are updates marked as hidden also installed?
The default criteria (IsInstalled=0 and Type='Software') includes hidden and non-hidden updates. If you add IsHidden=0 then the updates you marked as hidden will be skipped. An example would be:
WuInstall /install /criteria "IsInstalled=0 and Type='Software' and IsHidden=0"
On Windows 10 version 1803 and later and on Windows 11 (not on Windows Server), the default criteria of WuInstall also finds updates that are offered as optional installations, such as feature updates. To keep these and still skip hidden updates, use:
WuInstall /install /criteria "IsInstalled=0 and DeploymentAction='Installation' and Type='Software' and IsHidden=0 or IsInstalled=0 and DeploymentAction='OptionalInstallation' and Type='Software' and IsHidden=0"