How to prevent Command Prompt (CMD) from opening automatically when starting Windows 10?

Try this, works for me: Win 10 and 11 updates breaks –no-console