NetWorker: When the Windows PATH is not ordered with NetWorker bin directory first, the C:WindowsSystem32recovere.exe is used and hence "Invalid parameter - -d" returned.
Symptoms
The Windows operating system provides C:\Windows\System32\recovere.exe.
The Windows PATH includes C:Windows\System32
C:\Windows\System32>set | findstr Path
Path=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windo
ws\System32\WindowsPowerShell\v1.0\;C:\Windows\SysWOW64\WindowsPowerShell\v1.0\Modules\TShell\TShell\
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
C:\Windows\System32>
When the recover.exe is not located in the current working directory, the Windows Operating System relies on the Path to retrieve the executable from. This results in the command failng with
C:\Windows\System32>.\recover -vvv -d C:\Test -S <ssid> -I -
Invalid parameter - -d
Cause
Resolution
As directed in the NetWorker Administration Guide.
For Windows hosts only, to ensure that you use the NetWorker recover.exe
command and not the Windows OS recover command, perform one of the following
tasks:
Ensure that NetWorker_install_path\bin appears before %SystemRoot%
\System32 in the $PATH environment variable.
When you start the recover command include the path to the binary. For
example: NetWorker_install_path\bin\recover.exe