I imagine that holding a territory is difficult if you should be fortunate enough to take it from Taliban. But the clean up has to start someplace, and I think it has to be done by neighboring countries. e.g. Pakistan
No external force will be able to erase Taliban in Afghanistan. You have to understand that Taliban in Afghanistan is as much a ethic Pakhtun movement as much as it is military or political. Think of IRA in Ulter. Whilst it had understones of historical Catholic versus Protestant rivalry it was more than that. The only differance is in this part of the world religion plays a bigger role so by definition the Taliban are more religious and orthodox in their views but let not any of that hide the blunt fact that it is in fact a Pakhtun nationalist movement dressed in religion.
The point of "not be able to erase" can be seen that after nearly 19 years of US war the Taliban are still standing - indeed standing tall. As you guys know I have little time for Islam but I actually support Taliban because they are a reality and will have to play a role in Afghanistan whether I, you or Americans or anybody else likes it.
If you notice all other parties in Afghanistan are also clustered around ethnic groups and the map makes that clear. Yellow Uzbeks, blue Tajiks, dirty pink Mongol Hazara, green can be taken as Pakhtuns.
Below ethnic map of Afghanistan.
And the reason why Pakistan is inexorably tied with Afghanistan with our shared ethnic groups. Whatever happens in Afghanistan always spills in to Pakistan.