Hello I am trying to open Local Security Policy but keep get this error.

Anonymous
2023-11-25T14:19:49+00:00

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.

0 comments No comments
Answer accepted by question author
Ramesh 181.6K Reputation points Volunteer Moderator
2023-12-03T18:05:49+00:00

Great, thanks for the update. The leftover AppLocker configuration file C:\Windows\System32\AppLocker\Script.AppLocker was causing all the trouble.

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments
Answer accepted by question author
Ramesh 181.6K Reputation points Volunteer Moderator
2023-12-04T16:53:07+00:00

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.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

63 additional answers

Sort by: Most helpful
  1. Anonymous
    2023-11-29T13:24:55+00:00

    Hello,

    Thank you for your reply and providing Information.

    Open Local GPO -> Go to User Configuration -> Administrative Templates -> System -> Open policy Prevent access to the command prompt -> Make it Enable and Select Disable the command prompt script processing also to Yes

    Reboot your computer then please check again.

    Best Regards,

    Prakash

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-11-28T15:47:34+00:00

    Hello Prakash

    The thing i am trying to is do you of python environment variables or My_Env it allow you to install that only that file can use but i can not activate it because group policy is blocking the activate.bat file to allow me to only install to that folder.

    It is still block on the other user account i tried and it say it.

    Best Regards,

    Marco

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-11-28T05:11:29+00:00

    Hello,

    Thank you for your reply and providing Information.

    Please let me know which type of App you are using ?

    Also ,Does this happen for All Apps or Some of Apps ?

    Please try to login with any of different user and try to Run App.

    Best Regards,

    Prakash

    Was this answer helpful?

    0 comments No comments