Abstract. Studying how deadwood mitigates the rockfall hazard in mountain forests is key to understanding the influence of climate-induced disturbances on the protective capacity of mountain forests. Both experimental quantification and numerical process modeling are needed to address this question. Modeling provides detailed insights into the rock–deadwood interaction and can therefore be used to develop effective forest management strategies. Here, we introduce an automatic deadwood generator (ADG) for assessing the impact of fresh woody storm debris on the protective capacity of a forest stand against rockfall. The creation of various deadwood scenarios allows us to directly quantify the mitigation potential of deadwood. To demonstrate the functionality of the proposed ADG method, we compare deadwood log patterns, deadwood effective height, and mesoscale surface ruggedness observed in field surveys in a natural windthrow area with their simulated counterparts. Specifically, we consider two sites near Lake Klöntal, Switzerland, where a major windthrow event occurred in 2019. We perform rockfall simulations for the time (a) before, (b) directly after, and (c) 10 years after the windthrow event. We further compare the results with (d) a simulation with complete clearing of the thrown wood: in other words, a scenario with no standing forest remaining. We showcase an integration of deadwood into rockfall simulations with realistic deadwood configurations alongside a diameter at breast height (DBH)- and rot-fungi-dependent maximum deadwood breaking energy. Our results confirm the mitigation effect of deadwood, which significantly reduces the jump heights and velocities of 400 kg rocks. Our modeling results suggest that, even a decade after the windthrow event, deadwood has a stronger protective effect against rockfall than that provided by standing trees. We conclude that an ADG can contribute to the decision-making involved in forest and deadwood management after disturbances.