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.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

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

The Windows Path environmental variable lacks the path to the NetWorker binaries, or is not ordered correctly with C:\Windows\System32 ahead of the path to the NetWorker binaries.

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

 

Affected Products

NetWorker

Products

NetWorker
Article Properties
Article Number: 000057215
Article Type: Solution
Last Modified: 30 May 2024
Version:  3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.