UPDATE - 1/10/2023 - I see at the following link, there is an autorecovery feature for keeping the licenses...
https://supportportal.juniper.net/s/a...
Configuration Basics
Identify the main elements for configuring Junos devices
Factory-default state
zeroize (be careful of removing licenses)
load factory-defaults (keeps logs)
storage clean-up
Logging
messages, chassis, interactive-commands
show version and haiku (Thanks Chad!)
Links...
JNCIA-Junos Playlist
• Juniper JNCIA-Junos
Juniper and Cisco EVE-NG Playlist
• Juniper & Cisco Labs in EVE-NG