A mounting assembly of a computer enclosure includes a chassis (90), a front panel (10) slidably mounted to the chassis (90), a pair of locking members (30) attached to the front panel (10), a pair of sliding members (50) fixedly attached to the chassis (90) and a pair of pressing members (70) movably mounted to the chassis (90) for unlocking the locking members (30). Each sliding member (50) has a sliding portion (53). Each locking member (30) defines a sliding groove (31) therein. The sliding portion (53) of the sliding member (50) is engaged in the sliding groove (31) for securing the front panel (10) on the chassis (90).