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.

Funding allocated for North Yorkshire's first fixed and average speed cameras
Enchantica's Spring Ball raises over £7,000 for Oatlands Junior School
New cricket and wellbeing programme launching in Harrogate
Harrogate RSPCA appeal after underweight and wounded dog found outside pub
Harrogate MP calls out Mayor for 'stealing away' £4million funding
Ripon knitters unveil handcrafted Easter designs across city centre
Plans submitted for new three-screen cinema in Ripon
Harrogate Town midfielder joins AFC Fylde on loan
Yorkshire Shepherdess Amanda Owen to return as Harrogate Dog Show judge
Crime writer leads children's storytelling workshops
Three's A Crowd owner 'proud' of venue's success ahead of seventh birthday
Suspended sentence for thieves who stole chocolate worth £5,000
Harrogate business delivers 70 Easter eggs to local schoolchildren
Council has one of country's worst records on unreasonable planning decisions
Slingsby Gin brand finds new buyer - but shop set to close
Harrogate sets out plan to be named UK's first Town of Culture
Harrogate school to host unique circus fundraising event
Harrogate women to host padel tournament in aid of breast cancer charity
Himalayan Gardens near Ripon to reopen for new season
Willow Tree Primary secures £150,000 grant for new nursery


