Rufus Error: Access to the device is denied [0x00000005]

When you try to create a bootable USB drive from an ISO using Rufus, you may encounter the Access Denied error. The full error message is below:

Error: Access to the device is denied.

rufus error access is denied

I received the above error when creating a Ubuntu boot disk from the ISO using Rufus. The Rufus log file showed these entries:

WARNING: 'Controlled Folder Access' appears to be enabled on this system
You may need to disable this feature, or add an exception, for Rufus to work...
Requesting disk access...
Will use 'G:' as volume mountpoint
Opened \\.\PhysicalDrive2 for exclusive write access
Analyzing existing boot records...
Drive has a Zeroed Master Boot Record
Clearing MBR/PBR/GPT structures...
Erasing 128 sectors
Write error [0x00000005] Access is denied.
Retrying in 5 seconds...
Write error [0x00000005] Access is denied.
Retrying in 5 seconds...
Write error [0x00000005] Access is denied.
Retrying in 5 seconds...
Write error [0x00000005] Access is denied.
Could not reset partitions
Re-mounted volume as G: after error

Cause

The error [0x00000005] Access is denied occurs if Microsoft Defender’s Controlled Folder Access feature is enabled and it has blocked Rufus from taking excluding write access to the drive.

rufus error access is denied - defender controlled folder access

If you’re not using Microsoft Defender, then check out the equivalent setting in the respective antivirus program.



Solution

To prevent this error from occurring, try disabling Microsoft Defender’s Controlled Folder Access feature temporarily.

Alternatively, you may try adding Rufus’s executable to the list of allowed programs. To allow an app, click “Allow an app through Controlled folder access” option in Windows Defender Security Center. For more information, see the section “Add (whitelist) apps for Controlled folder access” in the article Configure Controlled Folder Access.

Also, refer Official FAQ page of Rufus for additional information.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support. It won't take more than 10 seconds of your time. The share buttons are right below. :)

Ramesh Srinivasan is passionate about Microsoft technologies and he has been a consecutive ten-time recipient of the Microsoft Most Valuable Professional award in the Windows Shell/Desktop Experience category, from 2003 to 2012. He loves to troubleshoot and write about Windows. Ramesh founded Winhelponline.com in 2005.

4 thoughts on “Rufus Error: Access to the device is denied [0x00000005]”

  1. I used your taskkill . Something command in win r abd niw I’ve got no start menu down the bottom only ms edge and if I minimise it, it’s blank underneath!??

    Reply
  2. this is not a comment but a suggested solution (which works for me)

    Try rufus 3.0 and not 3.22

    ((but this page requires my name and email
    My question is – why the f//k are either required? since this solution may work for you . How the f//k would knowing my name or email address change anything

    Reply

Leave a Comment