I declined thinking this was a scam.
Smart move but as Patrick noted, if he was able to control your mouse cursor, remote control malware was already on your system. Since the user is ALWAYS the weakest link in security, this infestation likely happened because (1) Windows was not kept current, (2) anti-malware software was not used and/or kept current, (3) a firewall was not used and/or (4) the user clicked (or failed to unclick

) on some unsolicited option - typically through a "socially engineered" offer designed to trick users to "fall for" the offer and click on a button, link, download, or unsolicited attachment.
I agree you need to have one of Sysnative's Malware Removal experts have a look to make sure you are clean.
BTW - this scam goes on the assumption every household in the world has a Windows based computer in the house. So these fake MS Engineers can simply pick a name and number out of the phone book and with 1.4 billion plus Windows machines out there today, there is a good chance they will pick a number that does indeed have a Windows computer in the house - thus fooling the user to thinking they really can see your computer.
What information did you provide? Did he ask for your IP address?
He asked me to open msconfig which I did
How?