So, rename your existing mame.ini to backup it, and execute mame.exe -cc to make a new mame.ini with default options. This new mame.ini has a new option to enable de hiscore support.
For future cases, I advise
copying the mame.ini file to a back file, and leave the old mame.ini file. Then run "mameABCXYZ -cc". This way all the valid options and their settings will transfer over, and mameABCXYZ will add/remove/fix any needed options. Awesome feature.
Of course, if you don't make any changes to mame.ini, you don't need to transfer any of the "old setting". But you don't need to make a backup either, nor need to delete the old file. So "mame -cc" over the old ini file works great here too.
I made so many changes in mame.ini file, I copy from the old version to the new (I put each mame in its own folder), and run the new
mame -cc to update the old mame.ini, any don't need to make the dozen or so change each time I update mame.