Massoud Andarabi said this in a ceremony to introduce Emal Niazi as new police chief in eastern Nangarhar province, where Daesh first appeared in 2014 and established a stronghold.
Andarabi said that small Daesh cells were surrendering to Afghan forces and those shifting to other provinces would be dismantled in operations.
He said that by preventing Daesh to gain foothold in Nangarhar, residents proved that they would not allow any foreign network in their province.
He also pledged Afghan forces will prevent targeted killings in the province and dismantle crime rings.
Afghan affiliate of Daesh announced its formation in January 2015 and has carried out some deadly attacks on civilian and military targets.
Officials say that the group has grown weaker recently as its numerous members have been killed in clashes or had surrendered.