Hey Francis, have you tried the powershell uninstall command: Uninstall-WindowsFeature -Name Windows-Defender Reference: https://winservicehub.com/powershell-commands/uninstall-windowsfeature/
Can i run onboarding scripts from 2 different tenants on the same machine ?
I have a test machine and a tenant (Lets say tenant abc)
Now, i downloaded onboarding script from the abc tenant . the installation was successful . But, the machine doesn't report the report to MDE portal . This is a network issue .(I'm not worried about this now). But, the sense service is running on the machine and i wanted to remove this . So i ran the offboarding script that i got from tenant abc. Now i get the error :
[Error Id: 70, Error Level: 1] Offboarding script for org xxxx-xxxx-xxxx-xxxx-xxxxxxxx .
Machine is onboarded to a different org. Error message:
For more information, visit: https://go.microsoft.com/fwlink/p/?linkid=822807
At this point i had access to only 1 tenant - abc.
My question is :
- Is there any way to force uninstall MDE from this machine ?
- If i get the network connection sorted, and i run another onboarding script will it overwrite the current one ? or do we have any way to force onboard to a different ? (at this time , as im writing this post, I have acces to another tenant as well )
Any help is greatly appreciated !