With virtually no mining industry or infrastructure in place today, it will take decades for Afghanistan to exploit its mineral wealth fully. “This is a country that has no mining culture,” said Jack Medlin, a geologist in the United States Geological Survey’s international affairs program. “They’ve had some small artisanal mines, but now there could be some very, very large mines that will require more than just a gold pan.”

The mineral deposits are scattered throughout the country, including in the southern and eastern regions along the border with Pakistan that have had some of the most intense combat in the American-led war against the Taliban insurgency.

The Pentagon task force has already started trying to help the Afghans set up a system to deal with mineral development. International accounting firms that have expertise in mining contracts have been hired to consult with the Afghan Ministry of Mines, and technical data is being prepared to turn over to multinational mining companies and other potential foreign investors. The Pentagon is helping Afghan officials arrange to start seeking bids on mineral rights by next fall, officials said.

“The Ministry of Mines is not ready to handle this,” Mr. Brinkley said. “We are trying to help them get ready.”

Like much of the recent history of the country, the story of the discovery of Afghanistan’s mineral wealth is one of missed opportunities and the distractions of war.

In 2004, American geologists, sent to Afghanistan as part of a broader reconstruction effort, stumbled across an intriguing series of old charts and data at the library of the Afghan Geological Survey in Kabul that hinted at major mineral deposits in the country. They soon learned that the data had been collected by Soviet mining experts during the Soviet occupation of Afghanistan in the 1980s, but cast aside when the Soviets withdrew in 1989.

During the chaos of the 1990s, when Afghanistan was mired in civil war and later ruled by the Taliban, a small group of Afghan geologists protected the charts by taking them home, and returned them to the Geological Survey’s library only after the American invasion and the ouster of the Taliban in 2001.