2

After deleting ShellNew, the menu option throws me into Access and shows the 'create new file' window.

I want to remove the entry "Microsoft access database" from the 'create new' menu in Windows Explorer. The problem is that after deleting the entry, instead of creating a .accdb file, the option opens Access and the windows to create a new database. I want to completely remove the option from the context menu.

I want to unclutter my "Create New" context menu. I am removing entries by accessing HKEY_CLASSES_ROOT in the Windows Registry, finding the corresponding filename extension and removing the key "ShellNew".

  • What do you mean by "the menu option throws me into Access"? Your title sounds like you may want to remove a context menu entry: why context menu, where? But the body sounds like you want it to do something different. Please use a few more words and clarify what you're actually asking. – music2myear Jun 12 '17 at 23:00
  • @music2myear I want to remove the entry "Microsoft access database" from the 'create new' menu in Windows Explorer. The problem is that after deleting the entry, instead of creating a .accdb file, the option opens Access and the windows to create a new database. I want to completely remove the option from the context menu. – Lupilum Jun 13 '17 at 9:08
  • Please use the EDIT button below your question to correct your question so that this is more clear. – music2myear Jun 13 '17 at 16:04
  • Also, what method did you use to remove this entry, and is there a particular reason you wish to remove this? – music2myear Jun 13 '17 at 16:05
  • I want to unclutter my "Create New" context menu. I am removing entries by accessing HKEY_CLASSES_ROOT in the Windows Registry, finding the corresponding filename extension and removing the key "ShellNew". – Lupilum Jun 13 '17 at 16:36
4

You will have to actually delete two registry files because both *.accdb and *.mdb are Microsoft Access Database file formats.

You can delete the two registry keys with the following commands in elevated command prompt window:

reg delete "HKCR\.accdb\Access.Application.16\ShellNew" /f
reg delete "HKCR\.mdb\ShellNew" /f

Probably also a good idea to restart explorer.exe which you can do with:

taskkill /f /im explorer.exe & start explorer.exe
0

I'm guessing there's more than one Access-related ShellNew entry.

You should search the HKCR for all instances of the key ShellNew and see if any are in other Access-related file-types.

Just as a test now I deleted the following key in my registry:

HKEY_CLASSES_ROOT\.accdb\Access.Application.16\ShellNew

And the entire entry disappeared immediately from my right-click-New context menu.

  • I already removed that one, no effect. HKEY_CLASSES_ROOT\Access.* have "shell" and "New" -keys, but there are no ShellNew keys. – Lupilum Jun 13 '17 at 17:13
-1

I got this issue recently, there are 2 "Microsoft Access Database" in my CreateNew menu. And i found a good freeware to solve that problem.

You can download ShellMenuNew at nirsoft.net:

https://www.nirsoft.net/utils/shell_menu_new.html

Just unzip and run it. After running this small tool, you can see every single file type in the CreateNew menu, just choose everything about MS Access and disable that (by pressing the red button in the toolbar).

If you don't want to download anything, for this certain situation, you can delete this registry key (backup first):

HKEY_CLASSES_ROOT\.mdb\ShellNew

This is the ShellNew entry of ".mdb" type, same as the ".accdb" one, is used by MS Access.

  • I have deleted the key. Nothing changed. That is why I asked this question. – Lupilum Jul 29 '17 at 13:25
  • @Lupilum In your question, you said you just deleted the ".accdb" entry, not the ".mdb" one – deluxghost Aug 2 '17 at 0:16
  • Now I have deleted the .mdb key and rebooted multiple times, but nothing changed. But after this failed, the checked again what the menu item does, and now it actually creates a database in the folder instead of opening Access. And now I found ShellNew in the .accdb key. After deleting that, the menu item has disappeared. These changes may have to do with using CCleaner which checks the registry. – Lupilum Aug 2 '17 at 23:38
  • "New Access Database" was still in my context menu after deleting the entry under .accdb. Deleting HKEY_CLASSES_ROOT\.mdb\ShellNew as well removed it from my right-click menu. – Sly_cardinal Nov 13 '17 at 4:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.