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.

Pateley Bridge to host first New Year's Day cyclo-cross event
Harrogate MP welcomes government U-turn on family farm inheritance tax
Santa Paws: Festive photo competition winners revealed
DalesBus reveals timetable over Christmas period
Festive tractor run raises £45,000 for charity
CCTV appeal after Ripon shop theft
Yorkshire Vet Julian Norton meets fans in Harrogate
Santa delivers gifts to Harrogate children on all-electric sleigh
Rudy's Pizza set to open new Harrogate restaurant
75-year-old Ripon cyclist completes epic birthday challenge
Miriam Margolyes to visit Harrogate as part of upcoming tour
Towns must see benefits of any tourist tax, warns Harrogate MP
Police appeal for wanted man who could be in Ripon
Harrogate school 'takes Law into its own hands' with rare A Level course
CCTV appeal after motorbike stolen in Harrogate
Specsavers Harrogate hosts free after-hours clinic for homeless residents
Man charged following Pateley Bridge hit-and-run
Banyan in Harrogate set to close
Knaresborough boys 'devastated' after beloved cat goes missing
Knaresborough tug-of-war tradition to return on Boxing Day


