Pakistan Army has the ‘will and resolve’ to defeat terrorists, restore peace and establish the writ of the state in violence-hit areas, Chief of Army Staff (COAS) General Ashfaq Kayani told troops during his visit to Swat on Wednesday.