Move your GE dishwasher away from the wall, then unplug the unit from the wall outlet.
Use a Philips screwdriver to remove the two screws on the lower kickplate, which is the access panel on the bottom front of the unit.
Locate the drain valve in the center on the unit near the motor. A small hose connects the motor to the valve.
Disconnect the two wires attached to the solenoid, which is a coil within the drain valve.
Detach the screw that connects the solenoid to the drain valve. Pull the solenoid gently out of the dishwasher.
Place the old or new solenoid back into the drain valve, then reinsert the screw to the solenoid.
Reconnect the two wires to the solenoid, then place the lower kickplate back on the dishwasher.
Secure the kickplate with the two screws. Reconnect the power supply.