The cmdlet is running in local mode because the -Offline cmdlet flag was not specified. However, the local machine is either ...

The cmdlet is running in local mode because the -Offline cmdlet flag was not specified. However, the local machine is either not a domain controller or the directory service is currently unavailable. To run the cmdlet in local mode, please run it directly on the domain controller you intend to use as the cloning source machine. Otherwise, please specify the -Offline cmdlet flag to run the cmdlet in offline mode.