each process needs a fixed amount of reserved memory and hence setting it to 5000 has blown the limit for XE.
Under your Oracle installation, look for a file "alertXE.log" (or similar). It is the alert log for the database. Open that with text editor, and every time you start the database (or try to) you will see a listing of the parameters we tried to use. For example, this from mine:
System parameters with non-default values:
processes = 320
cpu_count = 4
sga_max_size = 6G
nls_language = "AMERICAN"
nls_territory = "AMERICA"
resource_manager_plan = "DEFAULT_PLAN"
sga_target = 6G
control_files = "C:\ORACLE\ORADATA\DB122\CONTROL01.CTL"
control_files = "C:\ORACLE\ORADATA\DB122\CONTROL02.CTL"
db_block_size = 8192
...
Extract these into a file called (say) "manual.ora" and adjust the processes parameter downwards in that file.
Now you can do:
sqlplus / as sysdba
create spfile from pfile = 'manual.ora';
startup