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 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...

How to Fix ‘The Local Security Authority Cannot be Contacted’ Error on Windows

This error appears when users try to login to other computers via a remote desktop connection. The problem prevents them from connecting and it displays the “The Local Security Authority Cannot be Contacted” error message. The problem often appears after an update has been installed on either the client or the host PC and it causes plenty of problems on many different versions of Windows. The Local Security Authority Cannot be Contacted There have been many unofficial fixes for the problem which were created by the users who had the same unfortunate experience. We have gathered the working methods in this article so make sure you follow it in order to resolve the problem. What Causes “The Local Security Authority Cannot be Contacted” Error on Windows? Pinpointing the correct cause for the problem is one of the most important steps when it comes to resolving one. That is why we have created a list of possible causes for the problem so make sure you check it out below: D...

Fix: The Active Directory Domain Services is currently unavailable ‘Windows 7, 8 and 10’

The error Active Directory Domain Services is currently unavailable means that the system is not able to find and connect to your printer, hence the process is stopped and cannot proceed further. This process allows the computer to manage and allocate resources. If this error occurs, it means that there is most probably a problem with the permissions, drivers, UAC etc. We have listed down a number of solutions for you to check. Start with the first one and work your way down. Solution 1: Resetting Printer Spooler Settings The spooler service is a software program which is responsible for managing all print jobs being sent to the computer printer. The print spooler service is usually visible to users and they can also cancel a print job which is being processed. It also allows them to manage jobs which are currently on the waitlist. We can try restarting this service and check if this solves the problem. Press  Windows + R  to launch the Run application. Type ...