We report on a new method for CdS films preparation based on potassium nitrilotriacetate that eliminates the problems of ammonia volatility and toxicity.