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.

Harrogate-based Sporting Influence Foundation to tackle 24 climbs in 24 hours
Giant vegetables take centre stage at Harrogate Autumn Flower Show
Alpamare waterpark to be sold to 'protect its future' with private investment
Roadworks causing growing disruption in Harrogate and Knaresborough, officials admit
Yorkshire artist brings Harrogate's Old Market Hall back to life
Martin House hosts first children's palliative care conference
Judge appointed to lead inquiry into North Yorkshire mental health trust
Harrogate group raise more than £40,000 with cycle to Bordeaux
Scotton pub wins Tripadvisor award for seventh year running
Almost 2,000 people sign Knaresborough landslip petition
Police appeal after Range Rover damaged in Knaresborough
St Aidan's teacher recognised at national Teacher of the Year Awards
Bramham Park to host its first Christmas market
Harvest gown unveiled for flower show's 50th anniversary
Ripon's Mario's Restaurant named among Tripadvisor's top 10%
Harrogate Rugby Club reveals plans for clubhouse expansion and padel courts
Police appeal after Lister House minibus vandalised in Ripon
Council urged to "show me the money" and provide evidence of home-to-school policy change savings
Kate Mosse and Prue Leith among stars of Harrogate Literature Festival
Ripon among UK's top cities for missing parcels


