President Barack Obama waged the first military action of his tenure Friday with missile strikes in the region.

Former Pakistani president Pervez Musharraf said of the airstrikes, 'Policies don't change with personalities.'

ISLAMABAD, Pakistan - The Pakistan military's top spokesman said attacks against suspected terrorists by pilotless U.S. drones - such as two alleged to have occurred Friday - are ''counterproductive'' because they undercut his country's efforts to oust militants from Pakistan's tribal region.

Seventeen people were killed Friday in the two missile strikes in the ungoverned tribal areas. One government official and two military officials said they were U.S. attacks. They are the first such strikes since President Barack Obama took office on Tuesday.

''It helps us in no way conducting our operations,'' Maj. Gen. Athar Abbas told CNN's Reza Sayah. ''We are trying to create to wean away the tribe at large from the militant component of the tribe. But it diminishes the line which divides the militant component and the tribe at large.''

''We face much more difficulty as a result of drone strikes, and we have conveyed our position on that'' to the United States, Abbas said.

Both hits were near the Afghan border, said local political official Nasim Dawar. The Pakistani military sources asked not to be named because they are not authorized to release such information.

The first strike, which killed 10 people, occurred about 5:15 p.m. (7:15 a.m. ET) in a village near Mir Ali in North Waziristan, the officials said. Seven people died in the second hit at 7:30 p.m. (9:30 a.m. ET) near Wana, the major town in South Waziristan, 17 miles (27 km) from Afghanistan, they said.

There was no immediate response from U.S. officials.

Former Pakistani President Pervez Musharraf, interviewed on CNN's ''The Situation Room,'' repeated that public opinion in his country is strongly against the strikes on Pakistan territory.

Musharraf was asked whether he is comfortable with the fact that the attacks are continuing, even with a new U.S. president in place.

''As far as this issue of the new president, President Obama, having taken over and this continuing ... I've always been saying that policies don't change with personalities.

''Policies have national interests and policies depend on an environment.''

The former leader added that he believes the environment and national interests of the United States'' are the same.

North Waziristan and South Waziristan are among seven districts in Pakistan's ungoverned tribal region, where the Taliban and other militants have sought haven.

The region has seen a sharp spike in the number of aerial attacks carried out by unmanned drones on suspected Taliban targets. The United States has the only military with drones operating in the area.

In 2008, there were 30 suspected U.S. missile strikes in Pakistan, based on a count by CNN in Islamabad.

The first U.S. strike on the tribal areas in 2009 came on New Year's Day. Two top al Qaeda terrorists were killed by a U.S. missile strike against a building in northern Pakistan, according to two senior U.S. officials.

The men, both Kenyans, were on the FBI's Most Wanted Terrorist list, one of the officials said, and were believed to have been responsible for the September suicide bombing at the Marriott Hotel in Islamabad.