I side with Quantos on this one... unless you already have the parts or are getting them inexpensively, the money would best be towards a newer computer.
Additionally the Pentium E2200 CPU is very very weak in processing power and even with Windows 7 32-bit that would have been not that well performing.
If you have a tight budget and need to have it running Windows 10 OS, I'd find a replacement with 8 GB of RAM if possible. There are places online that sell refurbished desktops with a warranty and a legal copy of Windows 10 installed. A few months ago a friend of mine got some 2nd Generation Core i5 Dells with Windows 10 64-bit and 8GB RAM with 1TB HDD and 256GB SSD refurbished for $129.99 USD.
If your budget is not enough to get a more modern Core i3 or i5 and you dont need to have Windows OS, I'd suggest a refurbished ASUS Chromebook of the model C202SA which I was able to get myself for $35 USD each and free shipping. The ASUS C202SA has 4GB RAM and 16GB eMMC internal storage, but supports USB flash drives and external hard drives if needing to store or access data greater than 16GB in capacity. Additionally with a gmail account you can sign into the Chromebook and it will sync with your 15GB or larger cloud storage with Google if you configure it to do this.
I use to tell people to avoid Chromebooks because of their limitations and the price new to which they were sold between ($149.99 and $349.99 ), but at around $35 for a refurbished Chromebook they are suddenly worth having around as $35 to do all that they can do and 8 hours or longer battery life after full charge is really good. Chromebooks work well with webpage surfing, watching streaming and video content, playing games and running software located at the google play store, as well as for accessing and editing/creating Office documents. *Only catch to the cheap Chromebooks out there is that eventually the OS version of Chrome OS ( based on Linux ) will become obsolete and online features may become deminished. But if your a heavy user and looking to get a few years out of a computer for $35 USD before features may deminish it might be worth it to buy cheap and save up for something better later.
As for myself I use the ASUS C202SA Chromebook for greater than 95% of everything I do anymore and so I am getting my $35 moneys worth out of it. Its only when I want to play games intended for being run on Windows OS that I have to use my Windows 10 computer instead.
And lastly the ASUS C202SA is a Special Edition Chromebook that was never intended to be sold to the public. It was a model designed for heavy use for the education system for students and teachers and so it is of rugged design intended to get bumped around in a back pack etc and take bumps and drops. Additionally its designed in a way that is of modular component assembly which means they were designed to be able to be repaired by the school staff who purchased them easily. So I bought 1 of these and liked it so much that I bought 3 more for a total of 4 of them to have them precharged and myself and my family and friends can just grab one and use it then plug it in to charge when done with it. No more people having to take turns at a family computer.