You're probably running a version of NETDOM which is intended for a different operating system.

For example you are running a Windows 2000 or higher version of NETDOM on an NT workstation.

The error is caused because the supporting DLLs or APIs are not available on your operating system