Clearing the Way

Clearing the Way (displayed as Clearing the Way for (Location Name)) is a Minutemen radiant quest $$

Detailed walkthrough
After joining the Minutemen, this quest can be periodically obtained when talking to Preston Garvey or listening to Radio Freedom. The Sole Survivor is informed that a settlement needs help, with the details available from the settlers. Alternatively, the quest may be obtained directly from a settler even if the Sole Survivor has not joined the Minutemen (this occurs more frequently at unowned settlements).

To proceed with the quest the Sole Survivor must travel to the settlement and talk to their leader, who will give the details: a nearby area has been infested with hostiles that are threatening the settlement. The settler will ask that the Sole Survivor clear the infestation for the safety of the settlement, before mentioning that the infested area would be a good spot for another settlement.

To complete the objective, the Sole Survivor must travel to the soon-to-be settlement and clear it of enemies. Clearing the area will unlock the workshop, allowing the Sole Survivor to access it and complete the objective. With the threat neutralized, the Sole Survivor can talk to the settler from before to receive thanks and a reward of ~100 caps, as well as ownership of their settlement (if it wasn't already owned). Turning in the quest will also cause two settlers to spawn in the settlement that was cleared earlier. If the quest was given by Preston Garvey, the Sole Survivor must report back to him to turn in the quest; it will be completed immediately upon receiving the reward otherwise.

Bugs
In certain locations, NPCs might spawn in inaccessible locations (for instance, Roger Warwick at Warwick homestead might spawn inside the water cistern). This bug is shared with the other settlement quests.
 * This can be resolved by using the console command to teleport the NPC in question.
 * The Warwick homestead example can be resolved by building stairs into the cistern and a bell outside of it. Using the bell and waiting for an in-game hour (using the Wait option) will cause the NPCs to spawn near the bell.