How to Fix 'Permission 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 August 28, 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?

If you encounter a "permission denied" error while creating a rescue disk, it is typically caused by real-time protection in antivirus software (e.g., Windows Defender) blocking the process. To resolve this, temporarily disable your antivirus, or add Hasleo Backup Suite to its allowed applications list (sometimes called "Trusted Apps" or "Whitelisted Apps"), and 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: Add the Hasleo Process to the Allowlist 💡

The most direct and effective way to resolve this issue is to add the relevant Hasleo Backup Suite processes to the Allowed Apps list in Windows Defender.

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 to Ransomware protection, then click Manage ransomware protection.

Click Manage ransomware protection 

Step 4. 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 5. Click Add an allowed app, then select Browse all apps.

Click Add an allowed app then Browse all apps 

Step 6. 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 7. 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 "Permission 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 (trusted 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