Disable Windows 11 file context menu.

Daniel Choi 26 Reputation points
2021-10-31T23:48:55.617+00:00

Hi, I'm a developer working on a security software, and I was wondering if I could get help with the new menu in windows 11.

It seems like windows 11 got a new menu on individual item's context menu from the taskbar.

Window 10 only had "Open", "Pin", "remove from list", and "Property" but it seems like "Print" and "Edit" got added to these lists.

I was wondering what API I need to use to access/modify/disable these menu items.

thanks!

145274-image.png

Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,803 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,661 Reputation points
    2021-11-03T09:25:14.853+00:00

    Hi there,

    The options which you have stated are only for certain file types like PPT, word, etc and it is not applicable to all apps in the Start.

    You can disable the new context menu in Windows 11 with registry settings.

    1. Open Run dialog by pressing Win +R
    2. Copy and paste the below and press enter
      reg.exe add "HKCU\Software\Classes\CLSID{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
    3. Click on the Task Manager icon on the taskbar, find Windows Explorer, and restart it.

    --If the reply is helpful, please Upvote and Accept it as an answer--


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.