The device can fail to read and load a saved configuration file after it starts. This situation occurs if you enable the factorydefaults boot configuration flag. Configure the flag to false: no boot config flags factorydefaults.
Switch:1> enable
Switch:1# configure terminal
Switch:1(config)# no boot config flags factorydefaults