Thanks for writing to us.
Flaking scabs on scalp
could be due to seborrhoeic dermatitis
/ simply called Dandruff
It can get infected with fungus also . Anti fungal Shampoos such as Nisoral can be very helpful.
If you have already treated Dandruff and it is long standing kindly consult a Dermatologist
There is a remote possibility of Psoariasis which initially may present as intractable case of Dandruff.
Get well soon.
Dr Lt Cdr ASN Bhushan.