In 1806, Adams moved his family to Phelps Corners, which is now located in part of the Village of Attica, which lies in the Town of Alexander. Adams served as lieutenant of light Infantry, captain of Grenadiers, second and first major, and division inspector of Infantry in the New York State Militia from 1806 until 1816. During the War of 1812, he was active on the Niagara frontier as Major, division inspector of Infantry, and commandant of the New York Volunteers.