This occurs immediately upon launching. I see the postgresql splash, then this error occurs.
Everything I have found on the interwebs so far, i have tried. It includes:
Disabled all anti-virus software. I have also stopped everything in the startup.
Checked file associations for .VBS scripts. Nothing irregular (Windows Script Host registered)
Windows Script Host is Enabled.
I've tried installing as Administrator and other users that have admin rights.
I have created the key HKLM\SOFTWARE\PostgreSQL\Installationsmanually and give it full rights.
I have given Everyone full access to C:\Users\[username]\AppData\Local\Tempand c:\temp