If you can get it to start at all, it's not likely to be a pleasant gaming experience. The CPU is weak and the integrated GPU is weak for even an integrated GPU (the low-end Sandy Bridges have just about the weakest Intel HD Graphics version available).
Realistically, you'd need to upgrade the CPU, the GPU, probably the power supply if you upgrade the GPU, and ought to be on 8 GB of RAM. The basic problem is that this simply isn't a gaming rig, but a basic productivity PC from 5 years ago, so any upgrade to make it a competent 2017 gaming PC will involve a major overhaul that will be most of the cost of a new PC anyway.