hostname is not recognized as an internal or external command operable program or batch file

Created:

2016-11-16 12:41:29 UTC

Modified:

2017-05-23 04:21:10 UTC

0

Was this article helpful?


Have more questions?

Submit a request

hostname is not recognized as an internal or external command operable program or batch file

Applicable to:

  • Plesk

Symptoms

Plesk pre-upgrade checking fails with error:

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

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

hostname is not recognized as an internal or external command operable program or batch file

Cause

Incorrect Windows environment variables. If you open Windows command prompt and ran:

hostname

It returns the same error. Make sure that you have:

C:\\Windows\\system32\\hostname.exe

Resolution

Follow the Microsoft article .

Have more questions? Submit a request
Please sign in to leave a comment.