PostgreSQL 9 install on Windows: “Unable to write inside TEMP environment path.”

后端 未结 22 2124
时光说笑
时光说笑 2020-12-15 04:30

I am attempting to install PostgreSQL 9 (postgresql-9.0.3-1-windows.exe) on my WinXP machine and get the following error at the start:

22条回答
  •  眼角桃花
    2020-12-15 04:48

    All the above did not work for me. I was getting an error like:

    Script output: CScript Error: Windows Script Host access is disabled on this machine. Contact your administrator for details.

    so after a couple of googling i found the solution: Navigate to the following key:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings

    In the right panel, you will see Enabled. If you see the entry 0, it means that the Windows Script Host access is disabled on your Windows machine.

    Double Click on it and give it Value Data 1 to enable it.

    A value of 1 will enable Windows Script Host A value of 0 will disable Windows Script Host.

    for windows 10 navigate to

    HKEY_CURRENT_USER\Software\Microsoft\Windows Script Host\Settings

提交回复
热议问题