Sets the location of the recovery image used by system reset. Note: Permissions on the recovery image file must be set so ...

Sets the location of the recovery image used by system reset.

Note: Permissions on the recovery image file must be set so that only users
in the Administrators group can write to and modify it.

%1 /setosimage /path  /index  [/target ]

  /path       - Specifies the directory that contains the
                          recovery image.
  /index   - Index of the recovery image Windows imaging (WIM)
                          file to be used by system reset.
  /target     - Specifies the Windows installation. If this argument
                          is not specified, the running operating system is
                          used.

  Example:
    %1 /setosimage /path r:
ecovery\WindowsRE /index 1
    %1 /setosimage /path r:
ecovery\WindowsRE /index 1 /target C:\Windows