Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Unable to manage permissions in Plesk File Manager: Error: Access is denied. (Error code 5) at GetTempFileName in C:WindowsTEMP

 
databasedbdomainsfile managergo

Symptoms

  • Unable to change permissions from a file or directory in Plesk File Manager at Domains > domain > File Manager > example_dir > change permissions > Apply or OK. The following error is show in Plesk:

    Error: Access is denied. (Error code 5) at GetTempFileName in C:WindowsTEMP
    at (tempFileName line 123)
    at loadFromConfig(C:Inetpubvhostsexample.com.plesk.Security, false, true)(DiskSecurity::EntryCollection::loadFromConfig line 907)
    at loadFromFile(C:Inetpubvhostsexample.com.plesk.Security, false)(HostingSecurity::SecurityManager::loadFromFile line 239)
    at execute "C:Program Files (x86)Pleskadminbinfilemng" enterprise-pro --permissions --set-common "--file=C:Inetpubvhostsexample.comhttpdocsexample_dir" "--xml=C:Program Files (x86)Plesktmp{e6fa0d08-5811-11ea-8bb8-94fb7cfc58de}" --inherit-from-parent(RunTime::RunAsUser::run line 223)
    (Error code 1)

  • Classic ASP.NET-based website fails to open with following error:

    error '80004005'
    /Index.asp, line 13

    OR

    Microsoft OLE DB Provider for ODBC Drivers error '80004005'

    [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.

  • The "Create files / write data" and "Create fodlers / append data" permissions is missing on Windows > right-click the C:windowstemp directory > Security (tab) > Advanced > select Users > click Edit:

    perms1.png

Cause

Some user groups do not have enough permissions on C:windowstemp directory, thus, fails to create temporary files in there from services that need it.

Resolution

Add the necessary permission on C:windowstemp:

  1. Connect to the server via RDP;

  2. Right-click C:windowstemp, go to Properties > Security (tab) > Advanced > select Users > click Edit, toggle the following two permissions:

    • Create files / write data
    • Create fodlers / append data

    perms2.png

  3. Check if there are any "Deny" rules for other groups
    Deny1.JPG

  4. Switch them to "Allow"

  5. Click OK.

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

How to Host a Go App on Plesk

Read More »

Exploring Plesk’s Added Value Solutions So Far in 2023

Read More »

Unveiling Sitejet Builder: The Perfect Match for Your Effortless Website Creation Needs

Read More »
Knowledge Base

Unable to access Horde webmail or rename a domain in Plesk: Table ‘horde.table_name’ doesn’t exist

Read More »

Website hosted on Plesk is not working: Microsoft OLE DB Provider for SQL Server error ‘80004005’

Read More »

Error while creating a domain: A specified logon session does not exist. It may already have been terminated.

Read More »

Unable to remove a MSSQL from Plesk: Login ‘jdoe’ owns one or more database(s). Change the owner of the database(s) before dropping the login.

Read More »

Hosting Wiki

  • Django
  • Content Security Policy ( CSP )
  • DBMS Interface
  • DB2
  • Server Redundancy
  • DBMS
  • Google Cloud CDN
  • Bare Metal Server
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • IBM DB2
  • ODBC
  • MongoDB
  • DBA
  • Domain
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family