Great, thanks for the update. The leftover AppLocker configuration file C:\Windows\System32\AppLocker\Script.AppLocker was causing all the trouble.
Hello I am trying to open Local Security Policy but keep get this error.
Hello.
I am using windows 11 pro and every time i try and open Local Security Policy I getting an error and I need to access it like now.
The error I keeping getting is this
An attempt was made to reference a token that does not exist.
Please assist me if you.
Thank you
Windows for home | Windows 11 | Settings
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Download AdvancedRun from Nirsoft.
Launch cmd.exe as TrustedInstaller. This opens a Command Prompt window with highest privileges.
(See also: How to Run Programs as TrustedInstaller)
From that Command Prompt window, run services.msc
See if you can stop or disable the service you want to stop/disable.
63 additional answers
Sort by: Newest
-
Ramesh 181.6K Reputation points Volunteer Moderator2023-12-03T17:06:50+00:00 I've added two links that can help you reset AppLocker completely. Hope that information will resolve the issue.
That won't stop you from using AppLocker in the future.
-
Anonymous
2023-12-03T17:03:55+00:00 ok i will but does this i can never use AppLocker again
-
Ramesh 181.6K Reputation points Volunteer Moderator2023-12-03T16:58:44+00:00 Please try this.
Open services.msc
Double-click "Application Identity"
Set it to "Disabled"
Reboot Windows.
* * *
Service description: Determines and verifies the identity of an application. Disabling this service will prevent AppLocker from being enforced.
* * *
See also:
How to Fix Windows 10/Windows Server 2019 AppLocker rules/policies still enforced after Application Identify services is disabled: https://dannyda.com/2021/09/09/how-to-fix-windows-10-windows-server-2019-applocker-rules-policies-still-enforced-after-application-identify-services-is-disabled/
and
"To clear AppLocker policies on a single system or remote systems" https://learn.microsoft.com/en-us/windows/security/application-security/application-control/windows-defender-application-control/applocker/delete-an-applocker-rule