Ensure that the specified computer name is a clustered file server or a node of a cluster, and then try the operation again. ...

Ensure that the specified computer name is a clustered file server or a node of a cluster, and then try the operation again.

It's also possible that %ComputerName; cannot be resolved with DNS. Ensure that there is network communication with the DNS server or use IP address.