Yes, it should be ok, 2gb isn't a lot but it'll work for sure minimum requirement says 1.5gb for Vista and seven is more optimised and need less ram...
I would not even try it. You don't even have a graphics card you have onboard graphics. The best games you are going to be able to play are Flash based games. Even an old game like GTA IV will not run on that system.