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

Migration/backup/restore/import/export of a Microsoft SQL database fails in Plesk: “Operating system error 5(Access is denied.). terminating abnormally.”

 
backupbackup restore migrationdatabasemicrosoftoperating system

Symptoms

Migration/backup/restore/import/export of a Microsoft SQL database fails with one of the following error messages:

Cannot open backup device 'C:Program FilesPleskPrivateTempTemp47385.tmp'. Operating system error 5(failed to retrieve text for this error. Reason: 15105).
BACKUP DATABASE is terminating abnormally.


Unable to backup database content. Database db_example. Db server .MSSQL2016:
Cannot open backup device 'C:WindowsTEMPtmp78C9.tmp'. Operating system error 5(Access is denied.).
BACKUP DATABASE is terminating abnormally.


Cannot open backup device 'C:Program Files (x86)ParallelsPleskvarmodulespanel-migratorsessions20180910022943target-servermssql-dumpsdb_backup_example.com_db_example'. Operating system error 5(Access is denied.). VERIFY DATABASE is terminating abnormally.

Cause

Insufficient permissions for the user used by Microsoft SQL instance on a folder from the error message.

Resolution

  1. Connect to the Plesk server via RDP.

  2. Find the current Microsoft SQL system user:

    2.1. Start a command prompt as an administrator and run the following command to launch Windows Services:

    C:> services.msc

    2.2. In Windows Services, double-click on SQL Server to open its Properties.

    2.3. In the SQL Server Properties window, switch to the Log On tab and copy the full name of the account:

    Note: The MSSQL user has to be "NT ServiceMSSQL$MSSQLSERVERXXXX" where XXXX is a Microsoft SQL version.

    3.PNG

  3. Now grant this MS SQL user a full control to the folder from the error message.

    In the example below, we are granting the MS SQL user a full control to the folder %plesk_dir%varmodulespanel-migratorsessions20180910022943 from the error message.

    3.1. Right-click on the folder %plesk_dir%varmodulespanel-migratorsessions20180910022943 to open its Properties.

    3.2. In the Properties window, switch to the Security tab and click Edit....

    3.3. On the Permissions window, click Add....

    3.4. In the opened window, past Microsoft SQL user name from step to and click Check Names. Click OK.

    4.PNG

    3.5. On the Permissions window, select the added user and allow him full control. Click OK to apply the changes.

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

You Are Always Safe When You Have an Up-To-Date Plesk Backup

Read More »

Plesk with Centralized Database and Network File System

Read More »

All You Need to Know About the Plesk WP Toolkit 4.10 Release

Read More »
Knowledge Base

Unable to import/migrate/restore a SQL database in Plesk: The database was backed up on a server running version xxxx. That version is incompatible with this server

Read More »

mssqlmng.exe, DNSMng.exe, php.exe and pmm-ras.exe are marked as infected by Microsoft Security / Windows Defender

Read More »

Subscription backup finished with warning “The transaction log for database ‘X’ is full” on Plesk server

Read More »

How to add an already installed Microsoft SQL server in Plesk

Read More »

Hosting Wiki

  • Content Security Policy ( CSP )
  • Server Redundancy
  • PostgreSQL
  • AMP
  • Bare Metal Server
  • Backup
  • MySQL
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • MSSQL
  • SQL
  • 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