Skip to main content

Fix: An attempt was made to reference a token that does not exist

Some users have been reporting that they are unable to open Explorer.exe after upgrading to Windows 10 or after installing a Windows update (most likely the April’s Creators Update). The error message that is displayed is: “An attempt was made to reference a token that does not exist”.
This is not only occurring with the Explorer.exe program, and it’s also reported with a number of other Windows native utilities including Taskbar, Recycle Bin, MMC (Microsoft Management Console).

What causes the attempt was made to reference a token that does not exist error

After investigating the issue and looking at various user reports, we managed to create a list of potential culprits that might be responsible for this issue:
  • April Creators Update caused the issue – This update released with an inconsistency that corrupted the files of various built-in utilities. The issue has yet been fixed, so applying the update now will not produce the same result.
  • Corrupted system files – An inconsistent Windows update, a malware infection or manual interference might lead to this error if a series of system files get corrupted.

How to fix the attempt was made to reference a token that does not exist error

If you’re struggling to resolve this particular issue, this article will provide you with a basic set of troubleshooting steps. Below you have a collection of methods that other users in a similar situation have successfully used to either circumvent or treat the problem.
For the best results, we urge you to start with the first method and work your way down in the order that they are presented until you find a fix that is effective in resolving the “attempt was made to reference a token that does not exist” error. Let’s begin!

Method 1: Fixing corrupted files via Command Prompt

Some users finding themselves in a similar situation have managed to get the issue resolved after using an elevated Command Prompt to fix Registry system file corruption.
Keep in mind that this method will only be effective if the error message is actually triggered by file corruption. Here’s a quick guide on using an elevated Command prompt to resolve the “attempt was made to reference a token that does not exist” error:
  1. Press Windows key + R to open up a Run box. Then, type “cmd” and press Ctrl + Shift + Enter to open an elevated Command Prompt window. If prompted by the UAC (User account control) choose Yes.
  2. Just to make sure we’re in the right location, type the following command and press Enter:
    cd %WINDIR%\System32
  3. Type or paste the following command and press Enter to re-register a series of required DLL files that might have got corrupted during the updating process:
    for /f %s in (‘dir /b *.dll’) do regsvr32 /s %s
  4. Close the elevated Command Prompt and restart your computer. At the next startup, see if the issue has been resolved by opening the same utility program that was previously triggering the error message.
If the error is still not resolved, continue down with the next method below.

Method 2: Reverting to the previous version of Windows

If the issue was not resolved using Method 1, let’s confirm that the issue was not triggered by the last Windows Update that you installed.
Some users have managed to get the issue resolved after using the Advanced Recovery Option menu to revert to the previous Windows version. Most of them re-applied the update after a while and reported no further problems.
Here’s a quick guide on reverting to the previous Windows version:
  1. Press the Start key and click the Power icon while holding the Shift key pressed. Continue holding the Shiftkey and click on Restart. This will instruct your computer to open the Advanced Recovery Options menu at the next startup. To ensure that the procedure is successful, keep holding the Shift key until the menu appears on the screen.
  2. Once the Advanced Recovery Options menu appears, release the Shift key and click on Troubleshoot. Then, go to Advanced options and click on Go back to the previous version of Windows.
  3. Once the process is complete, wait for the next startup to complete and see if the error has been resolved. If it was, it’s up to you if you want to re-apply the update or not.
If the error is still occurring, continue down with the next method below.

Method 3: Performing a repair install

If the issue is caused by system file corruption, you’ll most likely be able to fix it by performing a clean install. But if you’re looking for an alternative that won’t make you lose your personal files and applications, consider performing a repair install.
A repair install will solely replace Windows files and dependencies while leaving your files and applications intact. If you decide to go through with it, follow our repair install step by step guide (here).

Comments

Popular posts from this blog

How to Fix the ‘Failed to Acquire the VirtualBox COM Object’ Error

Several users are reporting that they are unable to launch VirtualBox. The critical error message that comes up is  “Failed to acquire the VirtualBox COM object. The application will terminate”.  In some cases, the error is also accompanied by a second error message pointing towards the problem. The issue does not seem to be specific to a certain Windows version since it’s confirmed to occur on both Windows 8.1 and Windows 10. Failed to acquire the VirtualBox COM object. The application will now terminate. What is causing the ‘Failed to Acquire the VirtualBox COM Object’ error? We investigated this issue by looking at various user reports and the repair strategies that are commonly deployed successfully in this particular scenario. As it turns out, there are multiple culprits that might end up triggering this issue: VirtualBox is not installed with admin access  – Virtualbox is one of those software products that will require you to install them with a...

How to Format/Indent XML Files in Notepad++

Notepad++ is a free text and source code editor that is mostly used by programmers. It is an advanced alternate version of the default notepad which supports 50 programming, scripting and markup languages. It allows a user to edit codes within multiple tabs in a single window. However, it lacks the formatting for XML files or XML code. Users will find it difficult to edit or read the XML code without the correct format for code. How to Format/Indent XML Files on Notepad++ What is XML File? XML (stands for eXtensible Markup Language) which is a language designed to store and transport data. XML files are just plain text files that can’t do anything on their own. Custom tags are used in XML files to define objects and the data within each object. It defines a set of rules for encoding documents in such a format that both humans and machines could read. XML is similar to HTML but the difference is that HTML defines how data looks, while XML defines what data is. XML Code samp...

Fix: System Found Unauthorized Changes on the Firmware, Operating System or UEFI Drivers

Several users are struggling with the  System found unauthorized changes on the firmware error  at every startup or when trying to take their computer out of hibernation mode. Most affected users report that the issue started occurring after they installed some pending Windows updates. The issue is mostly encountered on Windows 7. The system found unauthorized changes on the firmware, operating system or UEFI drivers. Press [OK] to run the next boot device, or enter directly to BIOS Setup if there are no other boot devices installed. What is causing the System found unauthorized changes on the firmware error We investigated this particular issue by looking at various user reports. This error will occur whenever your system is checking the firmware one some computer hardware parts as part of a new security feature. To be precise, the error is occurring because not all Windows versions will support this new security feature. As it turns out, there are sev...