Re: [PC] Battlefield 4 automatically saves and closes.
Game closing problems like this are often related to Punkbuster and Battlelog plugins if it only happens in multplayer.
Seeing as you've updated Punkbuster (and made sure BF4 is added to it https://help.ea.com/uk/article/punkbuster-technical-issues ) you could try re-downloading and installing the latest Battlelog plugins.
First uninstall the old Battlelog plugin by going to windows "Control Panel\Programs\Programs and Features" and removing "battlelog web plugin".
Then log in to Origin and go to battlelog page where you'll be prompted to download the latest web plugin.
After you have installed it you should clear your cache, exit your browser. Then restart your browser, and then re-login to Origin to ensure proper install.
If this doesn't work then you should try a different browser (Chrome/Maxthon/Firefox, etc)
Can you play ok in single player?
If not then check the following:
-Update your Microsoft .NET framework.
http://www.microsoft.com/en-us/download/details.aspx?id=17851
-Reinstall DirectX.
1:go to C:\Program Files (x86)\Origin Games\Battlefield 4\__Installer\directx\redist
2:Find file named DXSETUP.exe and double click it (while connected to the internet). Install it. It should update your DirectX install.
3: You might need to reboot computer first.
4: try to launch game.
-Reinstall C++ redistributables.
1:go to C:\Program Files (x86)\Origin Games\Battlefield 4\__Installer\vc\vc2012Update3\redist
2: Double click vcredist_x64.exe/ vcredist_x86.exe and follow onscreen prompts.