Error:
the delayed auto start flag for print spooler could not be set error 87
Go to RegEdit (Registery Editor)> Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AmdPPM and change its hexadecimal value from 3 (auto) to 4 (i.e. delayed auto start). And check after rebooting the pc.
I did it on Windows11 and would check after reboot.
2nd option: Run this command in Power Shell: Get-Service -Name ServiceName | Set-Service -StartupType AutomaticDelayedStart