Command line switches to setup.exe

Discussion in 'Scripting' started by haber123, Dec 4, 2022.

  1. haber123

    haber123 MDL Junior Member

    Nov 5, 2009
    57
    21
    0
    When I do an in place upgrade or version change of windows I call up a cmd window, type "setup /pkey defer" to not have to put in the serial number. When I search for setup.exe command line switches none have the "defer" option listed, not even Microsoft. So wonder what other switches and or options are there that are not documented?

    /PKey
    Supplies Windows Setup with the specific product key.

    Syntax
    /PKey <product key>
    Examples
    setup.exe /auto upgrade /pkey xxxxx-xxxxx-xxxxx-xxxxx-xxxxx

    Where does the defer co
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    16,197
    84,755
    340