Newly appointed NYPD Commissioner Dermot Shea vowed Sunday to ensure that cops get the respect they deserve — while asking the officers to double-down on neighborhood policing.

In a welcome message to all NYPD officers, the department’s 44th top cop said it was “an incredible honor” to take the reins of the largest police force in the nation.

“You already seem to do everything,” Shea wrote to the cops. “And now we’re going to ask you to do even more: To not just solve crimes, but to prevent them from happening in the first place; to take Neighborhood Policing to the next level by helping kids stay away from trouble, before they ever find it.

“But I assure you we’re going to reiterate the ground rules, including: Respect is a two-way street,” he said. “I know you exemplify that every day, but we will ask for that respect to be reciprocated – for people to recognize you as the professionals you are.”

The police boss said he will not tolerate violence against police officers and that he “will stand up and demand accountability” if any such acts occur.

Shea added that the department will work “in closer cooperation with all of our partners, both inside and outside city government” to do more for the public it serves and change the perception of the police.

“It frustrates me when the vast majority of people I talk to in our communities are incredibly supportive of you, but then I see a news story that paints the police in a different light,” Shea wrote.

“That narrative needs to be changed. And together, we’re going to change it. We’ll do so by continuing to be the most professional, respectful police agency in the world.”

Shea started his tour as the city’s police commissioner Sunday — taking over for James O’Neill, who retired after three years as commissioner and nearly 36 years on the job.