On 6 November 1939 he was confirmed as
pilot officer, during a winter of intensive training. On 13 April 1940 he was posted to
No. 57 Squadron RAF based at
Montdidier in northern France. Serving operationally as a pilot with
No. 57 Squadron RAF, he went into action on 10 May 1940 carrying out a photo-reconnaissance mission of a section of the German-Dutch border. During this mission, he was attacked by three
Messerschmitt Bf 109 fighters. His aircraft was machine gunned, although he did manage to escape. Back at his base, 237 bullet holes were counted in the aircraft. Ten days later, the squadron returned to England. The squadrons of
Bristol Blenheim and
Fairey Battle light bombers had been almost wiped out in ten days, the majority of their airmen killed in action. Very shortly after their return, Hayter was assigned to fly a military officer into one of the last remaining airfields accessible to British forces in France. He carried plans for the evacuation of troops from that region. Hayter managed to land, avoiding multiple bomb craters. As the airfield was attacked, he took cover in a ditch, and once the officer had delivered his package, he brought him back to England, a feat earning him a
mention in dispatches. On 24 June 1940, he was transferred temporarily to
RAF Coastal Command in Scotland. About 4 weeks later, while awaiting permission to take off, his
Bristol Blenheim was struck by a
Vickers Wellington, which crippled his observer and destroyed his aircraft. He was promoted to
flying officer on 6 November 1940. His attachment was uneventful after that, and over the winter of 1940/41 he converted to fly the
Vickers Wellington heavy bomber on which he returned to operational flying in raids on 18 March 1941 against an oil terminal in the Netherlands and 27 March 1941 against the German target Cologne before bombing Berlin on 9 April 1941. Notice the criss-cross geodesic construction through the perspex fuselage panels. On 23 April 1941 he was posted to the Middle East and left for Gibraltar, taking off for Malta on 6 May 1941 flying a diversionary mission from there before being posted to No. 253 Wing Communications Flight in Egypt on 12 July 1941. By September he was acting
flight commander being promoted to
flight lieutenant on 6 November 1941. On 10 January 1942 Hayter as assigned to
No. 148 Squadron RAF flying
Vickers Wellington bombers over the Western Desert where on 8 February 1942 he had to crashland Wellington Mark II (serial number "Z8430" near Wadi Natrun after engine failure. Operations continued from
RAF Luqa,
Malta mainly against German occupied
Benghazi over the next two months. ==Prisoner of war==