Unblock Macros – Error Applying Attributes

If you’ve been following my blog in recent months you are aware that Microsoft is now blocking macros downloaded from external sources (e-mails, internet, …). If you aren’t aware then I urge you to review:

Now, I wrote about unblocking the macro so you could use the files again, refer to:

but recently a fellow MVP brought up a weird error when they tried to unblock a file and I thought I’d post the information here for all to benefit from.

Nature of the Problem

After checking the Unblock property and clicking on the Okay button, we would receive a series of error dialogs:

An error occurred applying attributes to the file:

Too many posts were made to the semaphore.Windows

Error Applying Attributes - Semaphore

 

You will need to provide administrator permission to change these attributesWindows

Access Denied

 

An error occurred applying attributes to the file:

An assertion failure has occurred.Windows

Error Applying Attributes - Assertion

and ultimately the file ins’t unblocked.

The Fix

So what’s the solution then?!

Actually, it is very simple, at least in my experience.

Open the file properties dialog by right-clicking on the file, selecting Properties from the context-menu and ensuring the file is NOT read-only, so make sure the Read-only checkbox is unchecked.

File Propertiesthen check the checkbox to Unblock the file.  That’s it.

And yes, Microsoft could most certainly make their error message make sense, but who are we kidding, that will never happen!

One response on “Unblock Macros – Error Applying Attributes

  1. Lucas Y S

    I was hours looking for this solution. To imagine that it was a simple “Read-only” check box…

    THANK YOU SIR!