During World War II, Nazi Germany created military-led regimes in occupied territories which were known as a Military administration or Military administration authority (German: Militärverwaltung).
These differed from Reichskommissariate which were led by Nazi Party officials.
A Military administration was normally led by a "military commander" (Militärbefehlshaber, official acronym MilBfh.).
Officials of the Military administration, regardless serving in the Wehrmacht, war economy, military education facilities, or in the military-led regimes in occupied territories, etc., wore military rank insignias similar to these of the Wehrmacht, characterised by the main corps colour (de: Hauptfarbe) dark-green, and various secondary colours (de: Nebenfarben) as well.
Here are a select few of ranks in the Military administration.