AD Disable operation throws this error :["Error(s) reported back from the IQService - Before Script returned non-zero exit code : -1073741502 : "]

Hi Everyone,

I’m encountering the following error when attempting to disable an account in Active Directory:

["Error(s) reported back from the IQService - Before Script returned non-zero exit code : -1073741502 : "]

This same error also occurs when trying to create or modify accounts in AD. These operations were working fine previously, but they’ve suddenly started failing with this error.

Is anyone else facing this issue? If you have any insights or suggestions to resolve it, please let me know.

Thanks,
Naveen

@naveenkarthikkrk - As you said, this was working previously, was there any recent update to the IQService, PowerShell, or Windows environment ?
Also, was there any change in permissions or security settings affecting script execution?

HI @nithyamn13 ,
I have checked the permissions , it seems to be right . There is no change in the permission or security settings .

Hi Naveen please delete non-TLS ports in IQService registry and the code starts working as usual

Hi @HussainshaSyed001 ,

Do you mean to update the non-TLS port to zero ?? If no , then how to delete the non -TLS ports in IQService registry?

Thanks,
Naveen

yes please to zero. IQService.exe -p 0 if it wont work use -1 in place of zero

Hi @HussainshaSyed001 , The non-TLS port are already disabled in our instance .Is there any other way to resolve it?