cancel
Showing results for 
Search instead for 
Did you mean: 
Niranjanjayabal Student
Student
1 0 0 0
Message 1 of 2
16,985
Flag Post
HP Recommended

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

HP:Pavillion Notebook PC
Microsoft Windows 10 (64-bit)

I received an notification for software update and I did update. After updating my Laptop does not  work normally and when ever I try to open something it throws an error " an attempt was made to reference a token that does not exist '

1 REPLY 1
Highlighted
Retired
Retired
18,208 17,730 1,287 1,948
Message 2 of 2
16,845
Flag Post
HP Recommended

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

Hey there! @Niranjanjayabal, Thanks for stopping by the HP Support Forums!

 

I understand after updating your PC you have issues opening applications and you are getting an error- An attempt was made to reference a token that does not exist.

 

Don't worry I'd like to help you out.

 

Did you make any hardware or software changes on your PC?

 

Is your PC connected to the server?

 

Have you tried checking with a different keyboard?

 

As you mentioned after updating your PC you have issues opening applications and you are getting an error- An attempt was made to reference a token that does not exist.

 

Sometimes you try to open "Microsoft Management Console (MMC)" and you receive "An attempt was made to reference a token that does not exist" error.

 

Try the steps recommended below.

 

This error may be caused by corrupt files

Here is your Solution:

Open a Command Prompt (CMD) in ELEVATED MODE (run as administrator) and navigate to %WINDIR%\System32 and re-register the required DLL files using the following command:

For /F %s in ('dir /b *.dll') do regsvr32 /s %s

 

Also, try the steps recommended below.

 

In Windows, search for Command Prompt. In the search results, right-click Command Prompt and select Run as administrator. Then click Yes.
In Command Prompt, type sfc /scannow. Make sure to include the space between sfc and the /.
Press Enter and wait while System File Checker scans for corrupted files.
When scanning is complete, the results are displayed on the screen.
If the file checker found and replaced any corrupted files, restart the computer and check the performance.
If the file checker did not find any corrupted files or found corrupted files but could not replace them, go to the next step.
If System File Checker finds corrupted files but cannot replace them, use the Deployment Image Servicing and Management (DISM) tool. DISM checks the corrupted files; then downloads and replaces the files using Windows Update.
In Windows, open a web browser.
   NOTE:
You need to be connected to the Internet to use DISM.
In Windows, search for Command Prompt. In the search results, right-click Command Prompt and select Run as administrator. Then click Yes.
In Command Prompt, type dism.exe /Online /Cleanup-image /Restorehealth. Make sure to include the space before each / in the command line.
Press Enter and wait while DISM works. This might take several minutes.
If DISM finds corrupted files, it replaces them using Windows Update. If this occurs, after DISM is finished, restart your computer and see if the performance has improved.

 

Refer this article to further troubleshoot lock up or freezing issues with PC.

 

If the issue still persists try running a system diagnostics test on your PC and check if the hardware on your laptop is functioning correctly.

 

Refer this article to know more information about running system diagnostics on your PC.

 

 

If the solution provided worked for you, please mark accepted solution for this post.

 

Hope to hear from you soon!

Have a great day! 🙂

 

Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.

                                                                                                                               

Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

A4Apollo
I am an HP Employee

Reply
0 Kudos
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation