The car was equipped with an aftermarket Defa DVS 90 Alarm System that was attached to the cars wiring, which i have removed. The Car still starts and runs fine but I can´t tell if the door error was already there before I have removed the Alarm system or if the removal has caused the problem. I have already tried to manually trigger the door switch by locking the opened door with a screwdriver and tried to clean the contact in the door lock with some WD40 and a Q-Tip from outside.
I have attached some pictures of the connectors (EPB, Blue and EH1 Brown) that were modified for the installation of the alarm system:


How can i find out if one of the modified connectors is wired to the door lock switch? Is it safe to unplug them and start the ignition to test if one of them is connected to the door? I thought that if one of them is connected to the door wiring harness, the electric windows would not work if i disconnected the right connector. But I dont know if this could do any harm to any control unit so I didnt do this.
Regards,
Thomas