Chosen Solution

Hi After using bootcamp to install wondows 10 The wondows installation stratup and whene it finished it rebooted the mac stuck on the black screan i have dealt with it once before so I have of course tried reseeting pvram..etc nvram But this time no response + i can’t access the startup manager or recovery or hardware test mode I open the the device and removed the ssd after that i can access startup manager …etc and i was able to boot from external USB hard drive So what is the problem why the mac won’t boot if the ssd connected

At this point I think you’ll need to wipe the drive down and set it up again. One of the risks with running Windows is Trojan’s and other nasties that can spill out into the boot sectors. I fear you may have encountered one here. Go into internet recovery or if you have a OS-X bootable USB drive boot up under it wipe the drive down completely then re-install the Mac OS (get all of the updates installed) then setup BootCamp and then Windows (install all of the Microsoft updates). Don’t install any apps yet! As you’ll want to install a dual Mac OS-X/Mac OS & Windows antivirus app and make sure its up to date with all of the definition files. Then install your Apps, make sure you’ve gotten them from the company directly, be careful here with ‘Free’ apps that are normally paid for as many are infected with spyware.