How to Fix "Access is denied" Error When Creating an Emergency Disk?

Luna - Technical Writer at Hasleo Technology
Written by Luna
Technical Editor at Hasleo Technology, focuses on data protection and practical solutions.
Updated on October 9, 2026 | Free Windows Backup Software
💬 I encountered an error while creating an emergency disk: Hasleo Backup Suite Home refused to write to the media disk. Do you have a solution that can resolve this issue quickly? Error code: 0x0D1B000900000005

Access is denied error 

We have analyzed error code 0x0D1B000900000005. Windows returned 0x5 (Access is denied) when Hasleo Backup Suite attempted to write to the USB drive. This error during rescue disk creation is typically caused by real-time protection in antivirus software (e.g., Windows Defender) or MBR protection software (e.g., Acronis Active Protection) blocking the process.

Microsoft Access is denied error message 

To resolve this, temporarily disable your antivirus, or add Hasleo Backup Suite to the list of allowed applications (sometimes called "Trusted Apps" or "Whitelisted Apps") or the exclusion list, and then try again. The steps below use Windows Defender as an example.

 

Why Do I Get a Permission Error When Creating an Emergency Disk?

The root cause is an interception by Windows Defender's Controlled Folder Access. This feature is a ransomware protection mechanism built into Windows Security Center. By default, it protects critical system and user data folders to prevent unauthorized applications from encrypting or deleting files. Once enabled, it will:

  • Prevent untrusted applications from modifying files in protected folders (such as Documents, Pictures, and Desktop).
  • Block formatting operations on removable storage devices (e.g., USB flash drives and external drives).

When Hasleo Backup Suite attempts to write an emergency disk image to a USB drive, Controlled Folder Access identifies this as a "suspicious operation" and blocks the write, resulting in an "Access Denied" error.

 

Solution A: Set the Hasleo Process as an Exclusion 💡

After adding the Hasleo process to Microsoft Defender's exclusions, Defender will no longer scan that item, resolving this issue.

Step 1. Type Windows Security into the Windows search box and open the app.

Open Windows Security from search 

Step 2. Click Virus & threat protection in the left-hand menu.

Click Virus and threat protection 

Step 3. Scroll down the page, locate the Virus & threat protection settings section, and click Manage settings.

Manage the protection settings 

Step 4. Then, on the page that opens, locate Exclusions and click Add or remove exclusions below it.

Add or remove the exclusions 

Step 5. On the Exclusions screen, click Add an exclusion and select Process.

Choose add an exclusion and process 

Step 6. In the pop-up box, enter the name of a Hasleo Backup Suite process, such as BackupService.exe.

Enter the name of a Hasleo Backup Suite process 

Step 7. Repeat the above steps to add multiple processes. After successfully adding the processes, restart Hasleo Backup Suite and create the emergency disk again

Add multiple Haselo processes 

If you're not sure whether other processes exist, you can add all the .exe files in the Hasleo Backup Suite installation directory to the list (e.g., C:\Program Files\Hasleo\Hasleo Backup Suite\bin).

 

Solution B: Add the Hasleo Process to the Allowlist 💡

Adding the relevant Hasleo Backup Suite processes to the Allowed Apps list in Windows Defender can effectively resolve this issue.

Step 1. Still in the Virus & Threat Protection section, scroll down to locate the Ransomware protection section, then click Manage ransomware protection.

Click Manage ransomware protection 

Step 2. Under Controlled folder access, ensure the feature is turned on (if it is off, this issue will not occur). Then click Allow an app through Controlled folder access.

Allow apps through Controlled folder access 

Step 3. Click Add an allowed app, then select Browse all apps.

Click Add an allowed app then Browse all apps 

Step 4. Navigate to the Hasleo Backup Suite installation directory (e.g., C:\Program Files\Hasleo\Hasleo Backup Suite\bin\), locate executable files such as BackupService.exe and BackupWorker.exe, and add them one by one.

We recommend adding all .exe files in the installation directory - especially BackupService.exe and BackupWorker.exe - to the Windows Defender exclusion list. This helps prevent security software from blocking them and causing task creation failures.

Step 5. After successfully adding the files, restart Hasleo Backup Suite and create the emergency disk again - it should now work normally.

Hasleo processes added to allowed apps list 

 

Other Possible Causes and Solutions 🎯

If the methods above do not resolve the issue, we recommend troubleshooting with the following steps:

Verify the USB Drive's Status

  • Try using a USB drive of a different brand or capacity.
  • Check in File Explorer to ensure the drive can be read from and written to normally.
  • Run the chkdsk command to check for file system errors.

Verify the Software Installation

  • Ensure the bin\WinPE\Program Files directory in the Hasleo Backup Suite installation folder is intact. If it is missing or corrupted, the creation process may fail.
  • Try uninstalling and reinstalling Hasleo Backup Suite to restore the complete file structure.

Check Third-Party Antivirus Software

  • If you use third-party antivirus software (e.g., Acronis Active Protection, McAfee, Norton), temporarily disable its "Protected Folders" or "MBR Protection" features.
  • Alternatively, add the Hasleo process or the entire installation folder to the software's trust list or whitelist.
If you're unsure which process is being blocked, check the Protection History in Windows Security or use Event Viewer to identify the blocked application, then add it as an exception.

 

Frequently Asked Questions 🔥

Q: Why do I get a permission error when creating an emergency disk?

A: This error is typically caused by antivirus software—most commonly Windows Defender's Controlled Folder Access feature—which blocks Hasleo Backup Suite from writing to the USB drive. To resolve it, add the Hasleo processes to the allowed list in Windows Defender.

Q: What if the issue persists after adding Hasleo to the allowed list?

A: Try the following troubleshooting steps: check the USB drive status and try a different drive, verify the software installation is complete, temporarily disable other third-party antivirus software, or check the Windows Security protection history to identify which process was blocked.

Q: Will disabling Controlled Folder Access resolve the issue?

A: You can temporarily disable this feature to test if it is the cause. However, we do not recommend leaving it off for long, as this reduces protection against ransomware.

Q: Do I need to add all .exe files from the Hasleo installation directory?

A: Yes, we recommend adding all .exe files in the installation directory - especially BackupService.exe and BackupWorker.exe - to the Windows Defender exclusion list. This helps prevent antivirus blocking that could cause task creation failures.

 

Conclusion

If you encounter a "Access is denied" error while creating a Hasleo Backup Suite emergency disk, the root cause is usually your antivirus software blocking the program's attempts to format and write to the USB drive. The fix is simple: add Hasleo Backup Suite to your antivirus whitelist (or exclusion list). This approach maintains real-time protection while granting the necessary permissions, ensuring security and successful emergency disk creation.

Download Best Free Windows Backup Software for Windows

 

Table of Contents<
>
📖
Image preview