Invalid cmd setup

Solved

When I try to run win.11 in the command prompt, it tells me that setup is not a valid command, exactly this:

setup is not recognized as an internal or external command, an executable program, or a batch file.

4 answers

  1. I forgot to mention the name of my savior "Panth33ra" response from November 5th, 2024 at 9:31 AM

    1. Hello again, thank you very much for your information; I am almost 77 years old and thanks to you I managed to make the transition. A thousand thanks.

      1. Hello

        Well, you forgot a letter and two colons?

        Because it shows this error.

        ► The command prompt appears on the screen. Enter the drive letter corresponding to your USB key containing the Windows 11 installation files followed by two colons — for example, D: or F: — and confirm by pressing the Enter key on the keyboard.

        ► Now enter the following command – you can also copy and paste it to avoid typos – then confirm with the Enter key.

         Hello
        1. Hello too,

          Politeness is essential on the CCM Forum when you write. Please consult the Usage Charter... https://www.commentcamarche.net/infos/25855-charte-d-utilisation-de-commentcamarche-net-respect-d-autrui/#politesse

          How did you download Windows 11?


          1. Yes, well hello there...

            That said, when reading a tutorial, you have to follow it through to the end.

            Setup is not a DOS command, hence the error, but the name of the executable that launches the installation of Windows from its ISO or more broadly its installation source: you need to run this executable in that directory.

            Some sources say that Microsoft has patched setup.exe /product server to prevent this workaround and that you now need to execute

            setupprep.exe /product server

            https://lecrabeinfo.net/installer-windows-11-sur-un-pc-non-compatible-grace-a-une-simple-ligne-de-commande.html

            https://winaero.com/microsoft-has-patched-the-product-server-for-tpm-check-bypass/