Q-Hybrid fails with NT_STATUS_RPC_BAD_STUB_DATA
If your Q-Hybrid job fails with the error
NT_STATUS_RPC_BAD_STUB_DATA
please check to see if winexesvc is installed and running on the target VM.
If so, please disable the service and uninstall it, as it conflicts with Q-Hybrid's later version of the same executable.
You can check for the presence of winexesvc with the following powershell:
PS C:\Users\domadmin> get-service winexesvc | fl
It will produce this output, or similar, if you are impacted:
Name : winexesvc
DisplayName : winexesvc
Status : Stopped
DependentServices : {}
ServicesDependedOn : {}
CanPauseAndContinue : False
CanShutdown : False
CanStop : False
ServiceType : Win32OwnProcess
the working version has this output:
PS C:\Users\Administrator> Get-Service winexesvc | fl
Name : winexesvc
DisplayName : reevert Communication Agent
Status : Stopped
DependentServices : {}
ServicesDependedOn : {}
CanPauseAndContinue : False
CanShutdown : False
CanStop : False
ServiceType : Win32OwnProcess, InteractiveProcess