In regard of the situation as your described,
Please kindly refer to following procedure under SGSW-2840 Console interface and it can solve this issue.
1. Please use console cable to connect with PC and SGSW-2840 then set COM1 port parameter as 9600, 8, N, 1 then use communication tool (such as Hyper terminal) to get into console interface.
2. Please press "Esc" key when the "--------DONE----------" message appears, then please press "D" for delete file.
3. Please input "startup1.cfg" after File name to delete:, then the following message appears;
This is startup file, you sure you want to delete it (y/n)? Please input "y" for delete this file.
4. Please input "Q" to complete the factory default procedure of SGSW-2840, then the SGSW-2840 will reboot automatically.
5. After SGSW-2840 power on complete and it back to factory default mode.