{"componentChunkName":"component---src-templates-blog-js","path":"/blog/postgresql-unable-to-write-inside-temp-environment-variable-path-fix","result":{"data":{"contentfulBlogPost":{"title":"PostgreSQL - Unable to write inside TEMP environment variable path [FIX] ","publishedDate":" 02 September, 2020","body":{"json":{"nodeType":"document","data":{},"content":[{"nodeType":"paragraph","content":[{"nodeType":"text","value":"After a recent fresh windows install I had the \"Unable to write inside TEMP environment variable path\" error while trying to install PostgreSQL (version 12.4)","marks":[],"data":{}}],"data":{}},{"nodeType":"paragraph","content":[{"nodeType":"text","value":"And to my surprise the fix wasn't that easy to find... lots of notepad youtube bois 🙄","marks":[],"data":{}}],"data":{}},{"nodeType":"paragraph","content":[{"nodeType":"text","value":"So... long story short here's how I managed to fix it:","marks":[],"data":{}}],"data":{}},{"nodeType":"paragraph","content":[{"nodeType":"text","value":"Go to the Registry Editor (hit the win key and type \"reg\", ","marks":[],"data":{}},{"nodeType":"text","value":"Registry Editor","marks":[{"type":"bold"}],"data":{}},{"nodeType":"text","value":" should pop up right there on the top)","marks":[],"data":{}}],"data":{}},{"nodeType":"paragraph","content":[{"nodeType":"text","value":"Open up ","marks":[],"data":{}},{"nodeType":"text","value":"HKEY_CURRENT_USER ","marks":[{"type":"bold"}],"data":{}},{"nodeType":"text","value":"then ","marks":[],"data":{}},{"nodeType":"text","value":"SOFTWARE","marks":[{"type":"bold"}],"data":{}},{"nodeType":"text","value":" then ","marks":[],"data":{}},{"nodeType":"text","value":"Microsoft ","marks":[{"type":"bold"}],"data":{}},{"nodeType":"text","value":"and then near the bottom you should see ","marks":[],"data":{}},{"nodeType":"text","value":"Windows Script Host,","marks":[{"type":"bold"}],"data":{}},{"nodeType":"text","value":" expand it and click on ","marks":[],"data":{}},{"nodeType":"text","value":"Settings.","marks":[{"type":"bold"}],"data":{}}],"data":{}},{"nodeType":"embedded-asset-block","content":[],"data":{"target":{"sys":{"space":{"sys":{"type":"Link","linkType":"Space","id":"cuzyu4ryoqwb","contentful_id":"cuzyu4ryoqwb"}},"id":"c5zaxBoE72oqSKfmENvdx5J","type":"Asset","createdAt":"2020-09-02T22:27:13.071Z","updatedAt":"2020-09-02T22:27:13.071Z","environment":{"sys":{"id":"master","type":"Link","linkType":"Environment","contentful_id":"master"}},"revision":1,"contentful_id":"5zaxBoE72oqSKfmENvdx5J"},"fields":{"title":{"en-US":"reg edit"},"description":{"en-US":"postgresql temp error fix screenshot"},"file":{"en-US":{"url":"//images.ctfassets.net/cuzyu4ryoqwb/5zaxBoE72oqSKfmENvdx5J/e22c7ed2e879f4a9e3bc0f2b37af800a/regedit.jpg","details":{"size":52926,"image":{"width":1084,"height":484}},"fileName":"regedit.jpg","contentType":"image/jpeg"}}}}}},{"nodeType":"paragraph","content":[{"nodeType":"text","value":"In my case there was only the (Default), so I created a new ","marks":[],"data":{}},{"nodeType":"text","value":"REG_DWORD","marks":[{"type":"bold"}],"data":{}},{"nodeType":"text","value":" and called it \"enabled\" (not that it matters, I guess...) and set the value to ","marks":[],"data":{}},{"nodeType":"text","value":"1.","marks":[{"type":"bold"}],"data":{}}],"data":{}},{"nodeType":"paragraph","content":[{"nodeType":"text","value":"Hit OK and proceed with your PostgreSQL installation, everything should work now.","marks":[],"data":{}}],"data":{}},{"nodeType":"embedded-asset-block","content":[],"data":{"target":{"sys":{"space":{"sys":{"type":"Link","linkType":"Space","id":"cuzyu4ryoqwb","contentful_id":"cuzyu4ryoqwb"}},"id":"c5EwAvDXF91w69IYU8QOfw9","type":"Asset","createdAt":"2020-09-02T22:39:18.688Z","updatedAt":"2020-09-02T22:39:18.688Z","environment":{"sys":{"id":"master","type":"Link","linkType":"Environment","contentful_id":"master"}},"revision":1,"contentful_id":"5EwAvDXF91w69IYU8QOfw9"},"fields":{"title":{"en-US":"great success "},"file":{"en-US":{"url":"//images.ctfassets.net/cuzyu4ryoqwb/5EwAvDXF91w69IYU8QOfw9/286fe6f551184636532bb5c7190cd995/giphy.gif","details":{"size":569893,"image":{"width":480,"height":270}},"fileName":"giphy.gif","contentType":"image/gif"}}}}}},{"nodeType":"paragraph","content":[{"nodeType":"text","value":"","marks":[],"data":{}}],"data":{}}]}}}},"pageContext":{"slug":"postgresql-unable-to-write-inside-temp-environment-variable-path-fix"}},"staticQueryHashes":["3159585216","440568431"]}