On Wednesday night a section 60 order was put in place to advance stop and search powers.
The order followed the attack on the Nidderdale Greenway last Wednesday.
Extra officers were were in the Harrogate and Knaresborough area on 31 July to provide a visible presence and to minimise violence.
One person was arrested, three dangerous weapons were seized, and several people were stopped and searched.
Detective Inspector Matt Wilkinson said:
“The section 60 order was put in place following an incident where a 17-year-old boy was found with a laceration wound.
This type of crime is thankfully rare in Harrogate and this why we have introduced these heightened measures.
“We are committed to disrupting any criminal activity and removing drugs and dangerous weapons from the town.
“We had extra officers on the ground to search any individuals or groups causing such issues, and to provide reassurance to residents living there.
I would ask members of the public to remain vigilant and to come forward if you know anything about last week’s incident or see any suspicious activity.”
Anyone with information about the Nidderdale Greenway incident who has yet to reported it can contact North Yorkshire Police on 101 and select option 1, quoting reference 12240132370.