Their line eventually became extinct; the daughter of the last Baron Rauber was the mother of the historian Johann Weikhard von Valvasor.
The communist authorities converted the structure into a sanatorium for wounded military officers; in 1953, it was given to the Municipality of Domžale, which subdivided it into apartment housing.
In 1985, the Krumperk holdings were partitioned; the castle went to Agrokombinat and the estate was taken over by Biotechnical Faculty of the University of Ljubljana, which established an equestrian center.
The castle meadow hosts the Krumperk Equestrian Club, sponsored by the Veterinary Faculty of the University of Ljubljana.
Tales of the castle's past are collected in the book Jutro ob kresu (Morning Beside the Bonfire) by Ivan Sivec.