Lloyd became Assistant Director of Military Survey at the War Office in October 1943 and, after being promoted to temporary lieutenant-colonel on 27 January 1944, he became Deputy Chief of Staff for 21st Army Group in April 1944.