October 1944 saw a detachment of the squadron operating from Cape York in Far North Queensland to bases in the Dutch East Indies. Additional detachments were located at Townsville, Queensland, and Coomalie Creek, Northern Territory. In February 1945, No. 34 Squadron commenced a relocation to Morotai in the Dutch East Indies, under the control of the Australian First Tactical Air Force, and was fully established at its new base by mid-April. The squadron supported the invasion of Borneo, and its Dakotas were the first Allied aircraft to land at Labuan and Tarakan after the islands were captured. It remained at Morotai until the end of the war, at which time it became involved in repatriating Australian former prisoners of war from Singapore, and then in courier flights supporting the formation of the British Commonwealth Occupation Force in Japan. No. 34 Squadron returned to Australia between January and March 1946 and disbanded at RAAF Station Richmond, New South Wales, on 6 June.