- In search box type Services | press Enter
- Scroll down to WMI Performance Adapter| right click | select Start
- While you are at it scroll up to Windows Installer and Start that process too
Failing that you may need to try the Script you posted.
Regedit32