Applies To:
  • CitectSCADA
  • Vijeo Citect 7.00

After installing VijeoCitect v7.00 and rebooting, when I type 'ipconfig' at a command prompt I get:

"'ipconfig' is not recognized as an internal or external command, operable program or batch file."

How can I fix this?


This problem is caused by the installation of OFS, which occurs automatically after VijeoCitect has completed.  What happens is that the OFS installs modifies the 'Path' environment variable in the registry, but in doing so changes it from type REG_EXPAND_SZ to REG_SZ.  This means that parts of the path that have % signs will not be expanded by the OS (such as %SystemRoot%).  This causes the OS not to be able to find all the core tools installed in %SystemRoot%\system32 as well as causing many issues for other applications that rely on these tools. 

To fix:

On >= XP:

1.  Open regedit.
2.  Go to HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\
3.  Double-click the 'Path' variable and copy the value.
4.  Rename the 'Path' variable to 'PathBad'.
5.  Create a new 'Expandable String Value' and past the value copied in step 3.
6.  Delete the 'PathBad' string value.
7.  Reboot.

On <= 2000:

You cannot create 'Expandable String Values' using regedit.exe, so you must use regedt32.exe.  The steps above will be slightly trickier, but you will be able to achieve the same result. 

Note: This problem has been fixed in OFS v3.31.2317 SP10.