Around 400 people were turned away from an illegal rave in Lincolnshire, while two were arrested.
Saturday's planned event, at Sturton by Stow, was subject of police warnings for revellers to stay away.
And although 400 tried to get into the site, described by police as "dilapidated farm buildings", they were prevented from doing so.
The force added that the premises were not licensed, did not have fire safety measures or medical facilities in place and presented a "significant risk" to people.
Superintendent Phil Vickers, from Lincolnshire Police, said: "As we warned, every power available to us in law was used and we worked with partners at West Lindsey District Council to ensure the safety of those intending to access the site and enforce noise nuisance legislation.
"In advance, we told people not to waste their time and money because they would be turned away and that is exactly what happened.
"For example we stopped a car of people who had travelled in excess of 150 miles from Surrey.
"We had engaged with the organisers in advance, hoping that they would prevent people from wasting their journey, but they declined to do this.
"We had a number of checks in place on roads in the area and a significant volume of "Section 27" Orders were issued (requiring people leave the area as we believed there would be alcohol-related Anti-Social Behaviour).
"Cars were seized and two men were arrested - one on suspicion of drink driving and one for possession of an offensive weapon and controlled drugs.
"Our clear message to organisers of any similar events in the future is that this is the Policing response they can expect to be greeted with - Unlicensed music events and raves that present a risk to those attending, as well as significant disruption to rural communities will be Policed robustly in Lincolnshire."