We prove the existence and uniqueness of a discrete nonnegative harmonic function for a random walk satisfying finite range, centering and ellipticity conditions, killed when leaving a globally Lipschitz domain in Z d . Our method is based on a systematic use of comparison arguments and discrete potential-theoretical techniques.2010 Mathematics Subject Classification: Primary 60G50, 31C35; Secondary 60G40, 30F10.