How do you remove all locations except HQ

Log into All Orders as the administrator, 

Go to File -> Maintain -> Backup 

Then from the Location List select the location(s) you want to delete then right click your mouse and press on delete selected