forget formatting if you're worried about losing programs and files - un-install all the programs you don't need from add or remove in control panel, run msconfig to remove un-necessary startup programs as described above, also insert your windows disc, run a repair instead of reformat re-install, it will reorganise all your windows files etc,
then go into computer properties,
advanced system settings,
advanced,
in the performance box, hit settings,
advanced,
in the virtual memory box - hit change
under custom size - make it something like 10000mb initial size and 15000mb maximum size, or less or more depending on how much hard disk space you can set aside
hit "set",
click ok,
this will increase the paging file area on your hard drive, uses it like ram to read faster,
but the best option is malwarebytes to clean all types of malware your antivirus can't detect,
you can get it from cnet.com - the free one's great,
you can also remove ad-ons you don't need in your browser.
and also clean your temporary files.
the best option is a reformat and re-install,
dunno why you change your laptop just coz of software issues,
once re-formatted and re-installed - it's back to factory settings,
and ccleaner is also a useful tool for decluttering since it does a lot of the work without you having to do it manually
apologies for the low video quality - it takes billions of years to upload to yt otherwise
if you get stuck - ask,