iMac (24-inch Mid 2007) Take Apart — AC Power Inlet 183
Remove the 3. chassis.
Remove the AC power inlet from the rear housing4.