In September 1938, when Germany claimed Czechoslovak territories, "Ehrensköld", together with , were the only mobilized destroyers in the Swedish Navy. In April 1940, when Germany invaded Denmark and Norway, she was demobilized in Karlskrona and the staff shortage in the navy made it difficult to man the ship. Only after many exercises with new crew could the ship be put into service on 2 September.