Hi Tom,
What programs are you trying to run?
Try to open a command prompt by going to Start > Run and typing cmd
then typing the program you want to run
On the other hand, if this happens with regedit and msconfig, probably
you have a virus, do a scan with your AV and the latest definitions.
Good luck