The four-year order was obtained by Surrey Police and Waverley Borough Council at Staines Magistrates' Court against Shane Hadderton, of Springfield, Elstead, following a hearing last Thursday.
The court heard that Hadderton had been involved in a number of acts of antisocial behaviour in the Milford and Elstead area between January and July this year.
Examples included throwing eggs at Elstead Village Hall and youth workers, and disrupting meetings by throwing horse manure into the building.
He had been involved in similar incidents at Rodborough School in Milford, where he is a pupil, and his behaviour and that of others in Milford led partly to the instigation of the Section 30 dispersal order at Jubilee Fields earlier this year.
This legislation, brought in under the antisocial Behaviour Act 2003, allows police to disperse groups of two or more young people aged under 16 who are unsupervised in public places after 9 pm, if they believe that members of the public have been intimidated, harassed, alarmed or distressed as a result of their presence or behaviour.
If they fail to disperse ,or return to the same locality within 24 hours, they can be arrested.
Within a week of the Section 30 being introduced in Milford in May, there were no further reports of any problems.
The ASBO, which expires on November 10, 2008, prevents Hadderton from behaviour likely to cause alarm, harassment or distress to any person in England and Wales; inciting or encouraging others to engage in behaviour likely to cause alarm, harassment or distress and entering Stacey's Farm Road and Thursley Road between the junction of Westbrook Road and Farnham Road in Elstead.
An exception allows him to visit the cemetery of St James' Church if accompanied by a relative aged over 30, and to pass through in a vehicle provided he is accompanied by a relative aged over 30.
A breach of an order is a criminal offence, which is arrestable and recordable.
At the conclusion of the hearing, the district judge commended Witley, Milford and Elstead Neighbourhood Specialist Officer Pc Sam Barnett for her work within the community and for bringing the matter to court.
Area Sergeant John Eldridge said: "The ASBO obtained against Shane Hadderton sends out a clear message that we will not put up with antisocial behaviour.
"This youth has made life miserable for a number of local residents with his abusive and threatening behaviour, and must not be allowed to continue unchecked.
"Concerns about his behaviour had been raised by the local community, and it is with their help that we secured the full order. The police and borough council cannot obtain one of these orders alone.
"By securing a four-year order, the court has demonstrated what a serious problem they believe this individual to be and the extent of the disruption he has caused within the local community.
"With the conditions imposed, the court has recognised the level of Hadderton's involvement in the antisocial behaviour which makes the lives of local residents and other young people a misery. We hope these conditions will help protect innocent members of the public from further abusive and disruptive behaviour."
Sgt Eldridge also paid tribute to Pc Barnett's efforts in working with the local community to secure the order.
He added: "Despite several attempts by the family to discredit her, Sam has worked tirelessly to put together the application, and has used her local knowledge and contacts to gain the support and information necessary from the local community.
"I am very pleased that this was also recognised by the judge."
A spokesperson for Waverley Borough Council said: "Shane Hadderton has caused the community a great deal of alarm and distress over a period of time.
"The council is pleased to see an ASBO in place which will bring relief to residents in Elstead who have had to endure Shane Hadderton's antisocial behaviour.
"The ASBO demonstrates the council's commitment to multi-agency working, especially with Surrey Police, in dealing with antisocial behaviour on the council's estates on behalf of our tenants and their families who, in this case, have had to endure this youth's serious disregard for the community in which he lives."