 US 17 briefly passes through the town limits of Warrenton while heading northwest to a partial interchange with the northern end of US 17 Business (James Madison Highway).US 17 heads north out of Warrenton as James Madison Highway.The highway follows Cedar Run through a gap between Waters Mountain and Pignut Mountain.