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.

Fairground rides return to Valley Gardens for half term
Six teenage boys arrested after 'violent incident' in Harrogate
Your Skipton and Your Ilkley to launch on DAB next week
Police appeal after hit-and-run on Knaresborough High Street
Harrogate Town announce signing of Chesterfield midfielder
Free Fuel Friday: Another winner scoops free tank of fuel
Smiley/sad face speed signs set to remain banned in North Yorkshire
Harrogate primary school takes climate education to national stage
Historic village pub enjoys successful reopening under new ownership
Masham primary school unveils newly refurbished library
No motorists turned away from Harrogate waste centres due to rule change
RHS Harlow Carr to host Summer Garden Weekend
First look inside Furlong and Furrow ahead of reopening
Harrogate man and colleagues tackle Three Peaks in memory of his mum
Harrogate care organisation raises £500 at Nidderdale Walk
Mayor urged to "come to the table" to discuss road repair funding
Monthly IT support clinic for elderly people launched in Harrogate
Harrogate College celebrates milestone as new campus takes shape
Children are taking over the Leeds station tannoy this weekend – here's why
Vernon Kay joins lineup for Harrogate's Symphonic Ibiza event


