This is a generic profile useful for installing or reinstalling BF2142 as well as the case if the user profile gets corrupted. This way you can still play singleplayer mods for Battlefield 2142. Ever since EA dropped support for BF2142, the game gets stuck at the master account logon prompt. You have to disconnect from the internet in order to get the game to allow you to logon with an offline account. However, you can't get this far if you are reloading or installing BF2142, because you can't set up a profile without logging into the master account server, which doesn't exist anymore. So, it's a catch-22 in this situation. You need an offline profile to play singleplayer, but the game requires initial logon to the now gone master account server.
A verified solution is here. I have created and tested this generic profile. The player name is 'singleplayer'
NOTE: You still have to disconnect from the internet in order to be able to bypass the master account server login. The game will try to login, fail and then give the option to play with an offline account. After selecting the offline account, you can connect back to the internet. But when you do select no when the game offers to connect to the master account server.
Unzip into your desktop or wherever is easiest, then move the Battlefield 2142 folder to your 'My Documents' folder.