Valid HTML 4.01 Transitional Valid CSS Valid SVG 1.0

Me, myself & IT

Odds and Ends for Microsoft® Windows NT

Purpose
Reason
Odds & Ends
Typeless File
MIME Content Types
OOXML and OpenXPS®
Microsoft Office 2010 Applications
Batch Script Console Window
Execute Context Menu Entry
Run as Administrator Context Menu Entry of Windows Explorer
UAC Shield Icon for .inf Extension
Icon for .p10 Extension
Install as Administrator Context Menu Entry
Install as Administrator Context Menu Entry for .msi Extension
Extract here Context Menu Entry for .msi Extension
.cab Viewer Shell Extension for .msu Extension
Decompile here Context Menu Entry for .chm Extension
Open 'Command Prompt' here Submenu for Directories and Drives
System File Associations
Default Programs
Folder Options
Contacts and Contact Groups

Purpose

End some oddities of Microsoft Windows NT

Reason

Odds & Ends

To apply the following Registry changes, save the scripts as .reg files, then merge them.

Caveat: the fixes presented below are not applicable to all versions of Windows NT, so verify that they don’t modify existing settings in undesired or unintended ways.

Typeless File

Add the file type Typeless file for files without extension, i.e. without a dot in their filename:
REGEDIT4

; Copyright © 2004-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\.]
"Content Type"="application/octet-stream"
"EditFlags"=dword:00020009
"FriendlyTypeName"="Typeless file"
"NoRecentDocs"=""

[HKEY_CLASSES_ROOT\.\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\.\OpenWithList\WordPad.exe]

[HKEY_CLASSES_ROOT\.\OpenWithProgIDs]
"WordPad.Document.1"=hex(0):

[HKEY_CLASSES_ROOT\.\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.\Shell]
@="Edit"

[HKEY_CLASSES_ROOT\.\Shell\Edit]
;@="&Edit"
"NeverDefault"=""

[HKEY_CLASSES_ROOT\.\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

MIME Content Types

Add missing and fix some existing but wrong MIME content type definitions:
REGEDIT4

; Copyright © 2004-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\.cab]
"Content Type"="application/vnd.ms-cab-compressed"

[HKEY_CLASSES_ROOT\.chm]
"Content Type"="application/vnd.ms-htmlhelp"

[HKEY_CLASSES_ROOT\.com]
"Content Type"="application/x-msdos-program"

[HKEY_CLASSES_ROOT\.cpl]
"Content Type"="application/vnd.microsoft.portable-executable"

[HKEY_CLASSES_ROOT\.dll]
"Content Type"="application/vnd.microsoft.portable-executable"

[HKEY_CLASSES_ROOT\.eot]
"Content Type"="application/vnd.ms-fontobject"
"PerceivedType"="System"

[HKEY_CLASSES_ROOT\.exe]
"Content Type"="application/vnd.microsoft.portable-executable"

[HKEY_CLASSES_ROOT\.gz]
"Content Type"="application/gzip"

[HKEY_CLASSES_ROOT\.ico]
"Content Type"="image/vnd.microsoft.icon"

[HKEY_CLASSES_ROOT\.iso]
"Content Type"="application/x-iso9660-image"
"PerceivedType"="Application"

[HKEY_CLASSES_ROOT\.manifest]
"Content Type"="application/x-ms-manifest"

[HKEY_CLASSES_ROOT\.msi]
"Content Type"="application/x-ole-storage"
"PerceivedType"="System"

[HKEY_CLASSES_ROOT\.msm]
;@="MSI.MergeModule"
"Content Type"="application/x-ole-storage"
"PerceivedType"="System"

[HKEY_CLASSES_ROOT\.msp]
"Content Type"="application/x-ole-storage"
"PerceivedType"="System"

[HKEY_CLASSES_ROOT\.mst]
;@="MSI.Transform"
"Content Type"="application/x-ole-storage"
"PerceivedType"="System"

[HKEY_CLASSES_ROOT\.ocx]
"Content Type"="application/vnd.microsoft.portable-executable"

[HKEY_CLASSES_ROOT\.rdp]
"Content Type"="application/x-rdp"
"PerceivedType"="Text"

[HKEY_CLASSES_ROOT\.scr]
"Content Type"="application/vnd.microsoft.portable-executable"
"PerceivedType"="System"

[HKEY_CLASSES_ROOT\.sys]
"Content Type"="application/vnd.microsoft.portable-executable"

[HKEY_CLASSES_ROOT\.udf]
"Content Type"="application/x-iso13346-image"
"PerceivedType"="Application"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/gzip]
"Extension"=".gz"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/sql]
"Extension"=".sql"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.microsoft.icon]
"Extension"=".ico"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.microsoft.portable-executable]
"Extension"=".exe"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.ms-cab-compressed]
"Extension"=".cab"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.ms-fontobject]
"Extension"=".eot"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.ms-htmlhelp]
"Extension"=".chm"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-iso13346-image]
"Extension"=".udf"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-iso9660-image]
"Extension"=".iso"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-ms-manifest]
"Extension"=".manifest"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-msdos-program]
"Extension"=".com"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-ns-proxy-autoconfig]
"Extension"=".pac"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-ole-storage]
"Extension"=".msi"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/x-rdp]
"Extension"=".rdp"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/zip]
"Extension"=".zip"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/comma-separated-values]
"Extension"=".csv"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/csv]
"Extension"=".csv"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/markdown]
"Extension"=".md"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\text/tab-separated-values]
"Extension"=".tsv"

OOXML and OpenXPS®

Add OOXML and OpenXPS file extensions, plus their MIME content type definitions; also enable the .zip folder shell extension for them:
REGEDIT4

; Copyright © 2007-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\.docm]
@="OpenXML WordProcessing Document (Macro Enabled)"
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.docm\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.docm\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.docx]
@="OpenXML WordProcessing Document"
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.docx\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.docx\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.dotx]
@="OpenXML WordProcessing Template"
"Content Type"="application/vnd.openxmlformats-officedocument.wordprocessingml.template"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.dotx\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.dotx\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.oxps]
@="OpenXML Paper Specification"
"Content Type"="application/oxps"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.oxps\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.oxps\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.potm]
@="OpenXML Presentation Template (Macro Enabled)"
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.template"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.potm\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.potm\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.potx]
@="OpenXML Presentation Template"
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.template"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.potx\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.potx\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.ppsm]
@="OpenXML Presentation SlideShow (Macro Enabled)"
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.slideshow"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.ppsm\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.ppsm\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.ppsx]
@="OpenXML Presentation SlideShow"
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.slideshow"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.ppsx\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.ppsx\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.pptm]
@="OpenXML Presentation (Macro Enabled)"
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.presentation"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.pptm\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.pptm\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.pptx]
@="OpenXML Presentation"
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.presentation"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.pptx\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.pptx\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.rels]
@="OpenXML Relationships"
"Content Type"="application/vnd.openxmlformats-package.relationships"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.rels\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.rels\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.sldx]
@="OpenXML Presentation Slide"
"Content Type"="application/vnd.openxmlformats-officedocument.presentationml.slide"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.sldx\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.sldx\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.xlam]
@="OpenXML SpreadSheet Add-In"
"Content Type"="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.xlam\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.xlam\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.xlsb]
@="OpenXML SpreadSheet (Binary)"
"Content Type"="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.xlsb\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.xlsb\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.xlsm]
@="OpenXML SpreadSheet (Macro Enabled)"
"Content Type"="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.xlsm\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.xlsm\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.xlsx]
@="OpenXML SpreadSheet"
"Content Type"="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.xlsx\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.xlsx\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.xltm]
@="OpenXML SpreadSheet Template (Macro Enabled)"
"Content Type"="application/vnd.openxmlformats-officedocument.spreadsheetml.template"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.xltm\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.xltm\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.xltx]
@="OpenXML SpreadSheet Template"
"Content Type"="application/vnd.openxmlformats-officedocument.spreadsheetml.template"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.xltx\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.xltx\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.xps]
@="Microsoft XML Paper Specification"
"Content Type"="application/vnd.ms-xpsdocument"
"InfoTip"="Contains compressed data"
"PerceivedType"="Document"

[HKEY_CLASSES_ROOT\.xps\OpenWithProgIDs]
"CompressedFolder"=hex(0):

[HKEY_CLASSES_ROOT\.xps\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.ms-xpsdocument]
"Extension"=".xps"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.presentationml.presentation]
"Extension"=".pptx"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.presentationml.slide]
"Extension"=".sldx"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.presentationml.slideshow]
"Extension"=".ppsx"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.presentationml.template]
"Extension"=".potx"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.spreadsheetml.sheet]
"Extension"=".xlsx"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.spreadsheetml.template]
"Extension"=".xltx"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.wordprocessingml.document]
"Extension"=".docx"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-officedocument.wordprocessingml.template]
"Extension"=".dotx"

[HKEY_CLASSES_ROOT\MIME\Database\Content Type\application/vnd.openxmlformats-package.relationships]
"Extension"=".rels"

Microsoft Office 2010 Applications

Add missing entries for associations of Microsoft Excel 2010, Microsoft PowerPoint 2010, Microsoft Publisher 2010 and Microsoft Word 2010 with Default Programs:
REGEDIT4

; Copyright © 2011-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Presentation\Microsoft PowerPoint\Capabilities]
"ApplicationDescription"="…"
"ApplicationName"="Microsoft PowerPoint 2010"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Presentation\Microsoft PowerPoint\Capabilities\FileAssociations]
".odp"="PowerPoint.OpenDocumentPresentation.12"
".pot"="PowerPoint.Template.8"
".pothtml"="powerpointhtmltemplate"
".potm"="PowerPoint.TemplateMacroEnabled.12"
".potx"="PowerPoint.Template.12"
".ppa"="PowerPoint.Addin.8"
".ppam"="PowerPoint.Addin.12"
".pps"="PowerPoint.SlideShow.8"
".ppsm"="PowerPoint.SlideShowMacroEnabled.12"
".ppsx"="PowerPoint.SlideShow.12"
".ppt"="PowerPoint.Show.8"
".ppthtml"="powerpointhtmlfile"
".pptm"="PowerPoint.ShowMacroEnabled.12"
".pptmhtml"="powerpointmhtmlfile"
".pptx"="PowerPoint.Show.12"
".pptxml"="powerpointxmlfile"
".pwz"="PowerPoint.Wizard.8"
".sldm"="PowerPoint.SlideMacroEnabled.12"
".sldx"="PowerPoint.Slide.12"
".thmx"="OfficeTheme.12"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Publishing\Microsoft Publisher\Capabilities]
"ApplicationDescription"="…"
"ApplicationName"="Microsoft Publisher 2010"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Publishing\Microsoft Publisher\Capabilities\FileAssociations]
".ols"="OfficeListShortcut"
".pub"="Publisher.Document.14"
".pubhtml"="publisherhtmlfile"
".pubmhtml"="publishermhtmlfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Spreadsheet\Microsoft Excel\Capabilities]
"ApplicationDescription"="…"
"ApplicationName"="Microsoft Excel 2010"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Spreadsheet\Microsoft Excel\Capabilities\FileAssociations]
".csv"="Excel.CSV"
".dqy"="dqyfile"
".iqy"="iqyfile"
".ods"="Excel.OpenDocumentSpreadsheet.12"
".oqy"="oqyfile"
".rqy"="rqyfile"
".slk"="Excel.SLK"
".xla"="Excel.Addin"
".xlam"="Excel.AddInMacroEnabled"
".xlb"="Excel.Sheet.8"
".xld"="Excel.Dialog"
".xlk"="Excel.Backup"
".xll"="Excel.XLL"
".xlm"="Excel.Macrosheet"
".xls"="Excel.Sheet.8"
".xlsb"="Excel.SheetBinaryMacroEnabled.12"
".xlshtml"="Excelhtmlfile"
".xlsm"="Excel.SheetMacroEnabled.12"
".xlsmhtml"="excelmhtmlfile"
".xlsx"="Excel.Sheet.12"
".xlt"="Excel.Template.8"
".xlthtml"="Excelhtmltemplate"
".xltm"="Excel.TemplateMacroEnabled"
".xltx"="Excel.Template"
".xlw"="Excel.Workspace"
".xlxml"="Excelxmlss"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Word Processing\Microsoft Word\Capabilities]
"ApplicationDescription"="…"
"ApplicationName"="Microsoft Word 2010"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Word Processing\Microsoft Word\Capabilities\FileAssociations]
".doc"="Word.Document.8"
".dochtml"="wordhtmlfile"
".docm"="Word.DocumentMacroEnabled.12"
".docmhtml"="wordmhtmlfile"
".docx"="Word.Document.12"
".docxml"="wordxmlfile"
".dot"="Word.Template.8"
".dothtml"="wordhtmltemplate"
".dotm"="Word.TemplateMacroEnabled.12"
".dotx"="Word.Template.12"
".htm"="wordhtmlfile"
".html"="wordhtmlfile"
".odt"="Word.OpenDocumentText.12"
".rtf"="Word.RTF.8"
".wbk"="Word.Backup.8"
".wiz"="Word.Wizard.8"
".wll"="Word.Addin.8"

Batch Script Console Window

Don’t close the Command Processor window after execution of batch scripts from Windows Explorer:
REGEDIT4

; Copyright © 2004-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\batfile\Shell\Open\Command]
@="C:\\Windows\\System32\\Cmd.exe /K Call \"%L\" %*"

[HKEY_CLASSES_ROOT\cmdfile\Shell\Open\Command]
@="C:\\Windows\\System32\\Cmd.exe /K Call \"%L\" %*"
Note: the modified command line also disables exploitation of the security vulnerability MS14-019 alias 2922229.

Execute Context Menu Entry

Replace the wrong and misleading Open context menu entry of executable files with Execute:
REGEDIT4

; Copyright © 2009-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\batfile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\cmdfile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\comfile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\exefile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\htafile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\jsfile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\jsefile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\vbefile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\vbsfile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\wsffile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

[HKEY_CLASSES_ROOT\wshfile\Shell\Open]
"MUIVerb"="@C:\\Windows\\System32\\Shell32.dll,-12710"

Run as Administrator Context Menu Entry of Windows Explorer

Remove the dysfunctional Run as administrator and Run as different user context menu entries from Explorer.exe:
REGEDIT4

; Copyright © 2009-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\exefile\Shell\RunAs]
"AppliesTo"="System.FileName:<>Explorer.exe"

[HKEY_CLASSES_ROOT\exefile\Shell\RunAsUser]
"AppliesTo"="System.FileName:<>Explorer.exe"

UAC Shield Icon for .inf Extension

Add the missing (mandatory) shield icon to the Install context menu entry of .inf scripts:
REGEDIT4

; Copyright © 2009-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\inffile\Shell\Install]
"HasLUAShield"=""

Icon for .p10 Extension

Add the missing icon for .p10 files:
REGEDIT4

; Copyright © 2009-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\p10file\DefaultIcon]
@="C:\\Windows\\System32\\CryptUI.dll,-3410"

Install as Administrator Context Menu Entry

Add the missing Install as administrator context menu entry to .cer, .crl, .ctl, .der, .p7r, .pfx, .spc and .stl files:
REGEDIT4

; Copyright © 2004-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

; BUG: 'CryptExt.dll' fails with (properly) quoted file/pathname!

[HKEY_CLASSES_ROOT\cerfile\Shell\RunAs]
"Extended"=""
"HasLUAShield"=""
"MUIVerb"="@C:\\Windows\\System32\\CryptExt.dll,-6127"

[HKEY_CLASSES_ROOT\cerfile\Shell\RunAs\Command]
@="C:\\Windows\\System32\\RunDLL32.exe C:\\Windows\\System32\\CryptExt.dll,CryptExtAddCER %1"

[HKEY_CLASSES_ROOT\crlfile\Shell\RunAs]
"Extended"=""
"HasLUAShield"=""
"MUIVerb"="@C:\\Windows\\System32\\CryptExt.dll,-6129"

[HKEY_CLASSES_ROOT\crlfile\Shell\RunAs\Command]
@="C:\\Windows\\System32\\RunDLL32.exe C:\\Windows\\System32\\CryptExt.dll,CryptExtAddCRL %1"

[HKEY_CLASSES_ROOT\p7rfile\Shell\RunAs]
"Extended"=""
"HasLUAShield"=""
"MUIVerb"="@C:\\Windows\\System32\\CryptExt.dll,-6127"

[HKEY_CLASSES_ROOT\p7rfile\Shell\RunAs\Command]
@="C:\\Windows\\System32\\RunDLL32.exe C:\\Windows\\System32\\CryptExt.dll,CryptExtAddP7R %1"

[HKEY_CLASSES_ROOT\pfxfile\Shell\RunAs]
"Extended"=""
"HasLUAShield"=""
"MUIVerb"="@C:\\Windows\\System32\\CryptExt.dll,-6150"

[HKEY_CLASSES_ROOT\pfxfile\Shell\RunAs\Command]
@="C:\\Windows\\System32\\RunDLL32.exe C:\\Windows\\System32\\CryptExt.dll,CryptExtAddPFX %1"

[HKEY_CLASSES_ROOT\spcfile\Shell\RunAs]
"Extended"=""
"HasLUAShield"=""
"MUIVerb"="@C:\\Windows\\System32\\CryptExt.dll,-6127"

[HKEY_CLASSES_ROOT\spcfile\Shell\RunAs\Command]
@="C:\\Windows\\System32\\RunDLL32.exe C:\\Windows\\System32\\CryptExt.dll,CryptExtAddSPC %1"

[HKEY_CLASSES_ROOT\stlfile\Shell\RunAs]
"Extended"=""
"HasLUAShield"=""
"MUIVerb"="@C:\\Windows\\System32\\CryptExt.dll,-6131"

[HKEY_CLASSES_ROOT\stlfile\Shell\RunAs\Command]
@="C:\\Windows\\System32\\RunDLL32.exe C:\\Windows\\System32\\CryptExt.dll,CryptExtAddCTL %1"
Warning: CryptExt.dll fails with the completely misleading wrong error message This file is invalid for use as the following: … when the (path)name of the input file is properly quoted!

Install as Administrator Context Menu Entry for .msi Extension

Add the missing Install as administrator context menu entry to .msi and .msp files:
REGEDIT4

; Copyright © 2004-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\MSI.Package\Shell\RunAs]
"HasLUAShield"=""
"MUIVerb"="@C:\\Windows\\System32\\MSIMsg.dll,-36"

[HKEY_CLASSES_ROOT\MSI.Package\Shell\RunAs\Command]
@="C:\\Windows\\System32\\MSIExec.exe /I \"%L\" %*"

[HKEY_CLASSES_ROOT\MSI.Patch\Shell\RunAs]
"HasLUAShield"=""
"MUIVerb"="@C:\\Windows\\System32\\MSIMsg.dll,-39"

[HKEY_CLASSES_ROOT\MSI.Patch\Shell\RunAs\Command]
@="C:\\Windows\\System32\\MSIExec.exe /P \"%L\" %*"

[HKEY_CLASSES_ROOT\MSI.Patch\Shell\RunAsUser]
@="@C:\\Windows\\System32\\Shell32.dll,-50944"
;@="@C:\\Windows\\System32\\TWinUI.dll,-8502" ; �
"Extended"=""
"SuppressionPolicyEx"="{F211AA05-D4DF-4370-A2A0-9F19C09756A7}"

[HKEY_CLASSES_ROOT\MSI.Patch\Shell\RunAsUser\Command]
"DelegateExecute"="{EA72D00E-4960-42FA-BA92-7792A7944C1D}"

Extract here Context Menu Entry for .msi Extension

Add an Extract here context menu entry to .msi files:
REGEDIT4

; Copyright © 2004-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\MSI.Package\Shell\Extract]
@="&Extract here"

[HKEY_CLASSES_ROOT\MSI.Package\Shell\Extract\Command]
;@="C:\\Windows\\System32\\MSIExec.exe /A \"%L\" TARGETDIR=\"%W\" /NoRestart /Passive"
@="C:\\Windows\\System32\\MSIExec.exe /A \"%L\" TARGETDIR=\"%W\""
Note: to let MSIExec.exe (eventually) create an arbitrary subdirectory in the CWD alias . and extract the files into it, append two backslashes and the name of that subdirectory to the placeholder %W.

.cab Viewer Shell Extension for .msu Extension

Enable the .cab viewer shell extension for .msu files:
REGEDIT4

; Copyright © 2004-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\.msu]
"Content Type"="application/vnd.ms-cab-compressed"
"PerceivedType"="Compressed"

[HKEY_CLASSES_ROOT\.msu\OpenWithList\Explorer.exe]

[HKEY_CLASSES_ROOT\.msu\OpenWithProgIDs]
"CABFolder"=""

[HKEY_CLASSES_ROOT\.msu\PersistentHandler]
@="{098F2470-BAE0-11CD-B579-08002B30BFEB}"

Decompile here Context Menu Entry for .chm Extension

Add a Decompile here context menu entry to .chm files:
REGEDIT4

; Copyright © 1999-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\chm.file\Shell\Decompile]
@="&Decompile here"

; BUG: 'HH.exe -Decompile' fails with (properly) quoted file/pathname!

[HKEY_CLASSES_ROOT\chm.file\Shell\Decompile\Command]
;@="C:\\Windows\\HH.exe -Decompile \"%W\" \"%L\""
@="C:\\Windows\\HH.exe -Decompile . %L"
Warning: HH.exe fails silently when the (path)name of the output directory and/or the (path)name of the Compiled HTML Help input file is enclosed in double quotes!

Note: to let HH.exe (eventually) create an arbitrary subdirectory in the CWD alias . and write the decompiled files into it, replace the single dot with the (short) name of that subdirectory.

Open 'Command Prompt' here Submenu for Directories and Drives

Add a submenu Open 'Command Prompt' here with entries As current user, As administrator and As different user to the context menu of directories and drives:
REGEDIT4

; Copyright © 2009-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\Directory\Background\Shell\Prompt]
@="@C:\\Windows\\System32\\Shell32.dll,-8506"
"ExtendedSubCommandsKey"="SubMenus\\Prompt"
"Icon"="C:\\Windows\\System32\\Cmd.exe"

[HKEY_CLASSES_ROOT\Directory\Shell\Prompt]
@="@C:\\Windows\\System32\\Shell32.dll,-8506"
"ExtendedSubCommandsKey"="SubMenus\\Prompt"
"Icon"="C:\\Windows\\System32\\Cmd.exe"

[HKEY_CLASSES_ROOT\Drive\Shell\Prompt]
@="@C:\\Windows\\System32\\Shell32.dll,-8506"
"ExtendedSubCommandsKey"="SubMenus\\Prompt"
"Icon"="C:\\Windows\\System32\\Cmd.exe"

[HKEY_CLASSES_ROOT\SubMenus\Prompt\Shell\Open]
@="As current user"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\SubMenus\Prompt\Shell\Open\Command]
@="C:\\Windows\\System32\\Cmd.exe /S /K PushD \"%V\""

[HKEY_CLASSES_ROOT\SubMenus\Prompt\Shell\RunAs]
@="As administrator"
"HasLUAShield"=""
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\SubMenus\Prompt\Shell\RunAs\Command]
@="C:\\Windows\\System32\\Cmd.exe /S /K PushD \"%V\""

[HKEY_CLASSES_ROOT\SubMenus\Prompt\Shell\RunAsUser]
@="As different user"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\SubMenus\Prompt\Shell\RunAsUser\Command]
@="C:\\Windows\\System32\\Cmd.exe /S /K PushD \"%V\""
"DelegateExecute"="{EA72D00E-4960-42FA-BA92-7792A7944C1D}"

System File Associations

Add missing System File Associations:
REGEDIT4

; Copyright © 2004-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\SystemFileAssociations\.bat\OpenWithList\Cmd.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.bat\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.bat\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.bat\Shell\Open\Command]
@="C:\\Windows\\System32\\Cmd.exe /D /K Call \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.bat\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.chm\OpenWithList\HH.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.chm\Shell\Open\Command]
@="C:\\Windows\\HH.exe \"%L\""

; BUG: 'HH.exe -Decompile' fails with (properly) quoted file/pathname!

[HKEY_CLASSES_ROOT\SystemFileAssociations\.chm\Shell\Extract\Command]
@="C:\\Windows\\HH.exe -Decompile . %1"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.cmd\OpenWithList\Cmd.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.cmd\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.cmd\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.cmd\Shell\Open\Command]
@="C:\\Windows\\System32\\Cmd.exe /D /K Call \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.cmd\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.cpl\OpenWithList\Control.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.cpl\Shell\CplOpen\Command]
@="C:\\Windows\\System32\\Control.exe \"%L\",%*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.cpl\Shell\RunAs\Command]
@="C:\\Windows\\System32\\RunDLL32.exe C:\\Windows\\System32\\Shell32.dll,Control_RunDLLAsUser \"%L\",%*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.hta\OpenWithList\MSHTA.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.hta\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.hta\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.hta\Shell\Open\Command]
@="C:\\Windows\\System32\\MSHTA.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.hta\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.inf\OpenWithList\InfDefaultInstall.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.inf\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.inf\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.inf\Shell\Install\Command]
@="C:\\Windows\\System32\\InfDefaultInstall.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.inf\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.log]
"PerceivedType"="Text"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.js\OpenWithList\CScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.js\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.js\OpenWithList\WScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.js\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.js\Shell\Open\Command]
@="C:\\Windows\\System32\\WScript.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.js\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.jse\OpenWithList\CScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.jse\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.jse\OpenWithList\WScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.jse\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.jse\Shell\Open\Command]
@="C:\\Windows\\System32\\WScript.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.jse\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msc\OpenWithList\MMC.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msc\Shell\Author\Command]
@="C:\\Windows\\System32\\MMC.exe /A \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msc\Shell\Open\Command]
@="C:\\Windows\\System32\\MMC.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msc\Shell\RunAs\Command]
@="C:\\Windows\\System32\\MMC.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msi\OpenWithList\MSIExec.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msi\Shell\Extract\Command]
@="C:\\Windows\\System32\\MSIExec.exe /A \"%L\" TARGETDIR=\"%W\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msi\Shell\Open\Command]
@="C:\\Windows\\System32\\MSIExec.exe /I \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msi\Shell\RunAs\Command]
@="C:\\Windows\\System32\\MSIExec.exe /I \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msp\OpenWithList\MSIExec.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msp\Shell\Open\Command]
@="C:\\Windows\\System32\\MSIExec.exe /P \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msp\Shell\RunAs\Command]
@="C:\\Windows\\System32\\MSIExec.exe /P \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msu\OpenWithList\WUSA.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.msu\Shell\Open\Command]
@="C:\\Windows\\System32\\WUSA.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1\OpenWithList\PowerShell.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1\Shell\Open\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.psc1\OpenWithList\PowerShell.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.psc1\Shell\Open\Command]
@="\"C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\PowerShell.exe\" -p \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.rdp\OpenWithList\MSTSC.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.rdp\Shell\Connect\Command]
@="C:\\Windows\\System32\\MSTSC.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.rdp\Shell\Edit\Command]
@="C:\\Windows\\System32\\MSTSC.exe -Edit \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.rdp\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.reg\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.reg\OpenWithList\RegEdit.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.reg\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.reg\Shell\Open\Command]
@="C:\\Windows\\RegEdit.exe /M \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.reg\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.scp]
"PerceivedType"="Text"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sct]
"PerceivedType"="Text"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sed\OpenWithList\IExpress.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sed\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sed\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sed\Shell\Open\Command]
@="C:\\Windows\\System32\\IExpress.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.sed\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbe\OpenWithList\CScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbe\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbe\OpenWithList\WScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbe\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbe\Shell\Open\Command]
@="C:\\Windows\\System32\\WScript.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbe\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbs\OpenWithList\CScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbs\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbs\OpenWithList\WScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbs\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbs\Shell\Open\Command]
@="C:\\Windows\\System32\\WScript.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.vbs\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsf\OpenWithList\CScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsf\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsf\OpenWithList\WScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsf\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsf\Shell\Open\Command]
@="C:\\Windows\\System32\\WScript.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsf\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsh\OpenWithList\CScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsh\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsh\OpenWithList\WScript.exe]

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsh\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsh\Shell\Open\Command]
@="C:\\Windows\\System32\\WScript.exe \"%L\" %*"

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wsh\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_CLASSES_ROOT\SystemFileAssociations\.wtx]
"PerceivedType"="Text"

Default Programs

Register several standard applications and their associations with Default Programs:
REGEDIT4

; Copyright © 1999-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\.sed]
@="sedfile"
"Content Type"="text/plain"
"PerceivedType"="text"

[HKEY_CLASSES_ROOT\.sed\OpenWithList\IExpress.exe]

[HKEY_CLASSES_ROOT\.sed\OpenWithList\NotePad.exe]

[HKEY_CLASSES_ROOT\.sed\OpenWithList\WordPad.exe]

[HKEY_CLASSES_ROOT\.sed\OpenWithProgIDs]
"WordPad.Document.1"=hex(0):

[HKEY_CLASSES_ROOT\.sed\PersistentHandler]
@="{5E941D80-BF96-11CD-B579-08002B30BFEB}"

[HKEY_CLASSES_ROOT\.sed\ShellNew]
"Command"="C:\\Windows\\System32\\IExpress.exe \"%L\""

[HKEY_CLASSES_ROOT\sedfile]
@="Self Extractor Directives"

[HKEY_CLASSES_ROOT\sedfile\Shell\Edit]
;@="&Edit"

[HKEY_CLASSES_ROOT\sedfile\Shell\Edit\Command]
@="C:\\Windows\\System32\\NotePad.exe \"%L\""

; BUG: 'IExpress.exe' fails with (properly) quoted file/pathname!

[HKEY_CLASSES_ROOT\sedfile\Shell\Open\Command]
@="C:\\Windows\\System32\\IExpress.exe %1"

[HKEY_CLASSES_ROOT\sedfile\Shell\Print\Command]
@="C:\\Windows\\System32\\NotePad.exe /P \"%L\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\Capabilities]
"ApplicationDescription"="Command Processor"
"ApplicationName"="Command Processor"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor\Capabilities\FileAssociations]
".bat"="batfile"
".cmd"="cmdfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\Capabilities]
"ApplicationDescription"="HTML Help"
"ApplicationName"="HTML Help"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\Capabilities\FileAssociations]
".chm"="chm.file"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IExpress Wizard\Capabilities]
"ApplicationDescription"="IExpress Wizard"
"ApplicationName"="IExpress Wizard"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\IExpress Wizard\Capabilities\FileAssociations]
".sed"="sedfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\INF Default Install Application\Capabilities]
"ApplicationDescription"="INF Default Install Application"
"ApplicationName"="INF Default Install Application"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\INF Default Install Application\Capabilities\FileAssociations]
".inf"="inffile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Management Console\Capabilities]
"ApplicationDescription"="@C:\\Windows\\System32\\MMC.exe,-128"
"ApplicationName"="@C:\\Windows\\System32\\MMC.exe,-128"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft Management Console\Capabilities\FileAssociations]
".msc"="mscfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft HTML Application Host\Capabilities]
"ApplicationDescription"="@C:\\Windows\\System32\\MSHTA.exe,-6412"
"ApplicationName"="@C:\\Windows\\System32\\MSHTA.exe,-6412"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft HTML Application Host\Capabilities\FileAssociations]
".hta"="htafile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NotePad\Capabilities]
"ApplicationDescription"="@C:\\Windows\\System32\\NotePad.exe,-9"
"ApplicationName"="@C:\\Windows\\System32\\NotePad.exe,-9"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NotePad\Capabilities\FileAssociations]
".log"="txtfile"
".scp"="txtfile"
".txt"="txtfile"
".wtx"="txtfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\Capabilities]
"ApplicationDescription"="@C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\PowerShell.exe,-111"
"ApplicationName"="@C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\PowerShell.exe,-109"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\Capabilities\FileAssociations]
".ps1"="Microsoft.PowerShellScript.1"
".ps1xml"="Microsoft.PowerShellXMLData.1"
".psc1"="Microsoft.PowerShellConsole.1"
".psd1"="Microsoft.PowerShellData.1"
".psm1"="Microsoft.PowerShellModule.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Terminal Server Client\Capabilities]
"ApplicationDescription"="@C:\\Windows\\System32\\MSTSC.exe,-1004"
"ApplicationName"="@C:\\Windows\\System32\\MSTSC.exe,-1004"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Terminal Server Client\Capabilities\FileAssociations]
".rdp"="RDP.File"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\RegEdit\Capabilities]
"ApplicationDescription"="@C:\\Windows\\RegEdit.exe,-16"
"ApplicationName"="@C:\\Windows\\RegEdit.exe,-16"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Applets\RegEdit\Capabilities\FileAssociations]
".reg"="regfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Compressed Folder\Capabilities]
"ApplicationDescription"="@C:\\Windows\\System32\\ZipFldr.dll,-10133"
"ApplicationName"="@C:\\Windows\\System32\\ZipFldr.dll,-10133"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Compressed Folder\Capabilities\FileAssociations]
".zip"="CompressedFolder"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Capabilities]
"ApplicationDescription"="C:\\Windows\\System32\\Control.exe,-1"
"ApplicationName"="C:\\Windows\\System32\\Control.exe,-1"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Capabilities\FileAssociations]
".cpl"="cplfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Capabilities]
"ApplicationDescription"="@C:\\Windows\\System32\\MSIMsg.dll,-27"
"ApplicationName"="@C:\\Windows\\System32\\MSIMsg.dll,-28"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\Capabilities\FileAssociations]
".msi"="MSI.Package"
".msp"="MSI.Patch"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Capabilities]
"ApplicationDescription"="@C:\\Windows\\System32\\WScript.exe,-1"
"ApplicationName"="@C:\\Windows\\System32\\WScript.exe,-1"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Script Host\Capabilities\FileAssociations]
".js"="jsfile"
".jse"="jsefile"
".vbe"="vbefile"
".vbs"="vbsfile"
".wsf"="wsffile"
".wsh"="wshfile"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Update Standalone Installer\Capabilities]
"ApplicationDescription"="Windows Update Standalone Installer"
"ApplicationName"="Windows Update Standalone Installer"
"Hidden"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Update Standalone Installer\Capabilities\FileAssociations]
".msu"="Microsoft.System.Update.1"

[HKEY_LOCAL_MACHINE\SOFTWARE\RegisteredApplications]
"Command Processor"="SOFTWARE\\Microsoft\\Command Processor\\Capabilities"
"Compressed Folder"="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Compressed Folder\\Capabilities"
"Control Panel"="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Control Panel\\Capabilities"
"HTMLHelp"="SOFTWARE\\Microsoft\\HTMLHelp\\Capabilities"
"IExpress Wizard"="SOFTWARE\\Microsoft\\IExpress Wizard\\Capabilities"
"INF Default Install Application"="SOFTWARE\\Microsoft\\INF Default Install Application\\Capabilities"
"Microsoft HTML Application Host"="SOFTWARE\\Microsoft\\Microsoft HTML Application Host\\Capabilities"
"Microsoft Management Console"="SOFTWARE\\Microsoft\\Microsoft Management Console\\Capabilities"
"Microsoft PowerShell 1"="SOFTWARE\\Microsoft\\PowerShell\\1\\Capabilities"
"NotePad"="SOFTWARE\\Microsoft\\NotePad\\Capabilities"
"Registry Editor"="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Applets\\RegEdit\\Capabilities"
"Terminal Server Client"="SOFTWARE\\Microsoft\\Terminal Server Client\\Capabilities"
"Windows Installer"="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\Capabilities"
"Windows Script Host"="SOFTWARE\\Microsoft\\Windows Script Host\\Capabilities"
"Windows Update Standalone Installer"="SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WUSA\\Capabilities"

Folder Options

Add a check box Suffix new shortcuts with ' - Shortcut' to Folder Options:
REGEDIT4

; Copyright © 1999-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\ShortcutSuffix]
"CheckedValue"=dword:00000001
"DefaultValue"=dword:00000001
"HelpID"=""
"HKeyRoot"=dword:80000001
"RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer"
"Text"="Suffix new shortcuts with ' - Shortcut'"
"Type"="CheckBox"
"UncheckedValue"=dword:00000000
"ValueName"="Link"

Contacts and Contact Groups

Suppress the display of the file extensions .contact and .group in Windows Explorer:
REGEDIT4

; Copyright © 2009-2024, Stefan Kanthak <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>

[HKEY_CLASSES_ROOT\contact_wab_auto_file]
"NeverShowExt"=""

[HKEY_CLASSES_ROOT\group_wab_auto_file]
"NeverShowExt"=""

Contact and Feedback

If you miss anything here, have additions, comments, corrections, criticism or questions, want to give feedback, hints or tipps, report broken links, bugs, deficiencies, errors, inaccuracies, misrepresentations, omissions, shortcomings, vulnerabilities or weaknesses, …: don’t hesitate to contact me and feel free to ask, comment, criticise, flame, notify or report!

Use the X.509 certificate to send S/MIME encrypted mail.

Note: email in weird format and without a proper sender name is likely to be discarded!

I dislike HTML (and even weirder formats too) in email, I prefer to receive plain text.
I also expect to see your full (real) name as sender, not your nickname.
I abhor top posts and expect inline quotes in replies.

Terms and Conditions

By using this site, you signify your agreement to these terms and conditions. If you do not agree to these terms and conditions, do not use this site!

Data Protection Declaration

This web page records no (personal) data and stores no cookies in the web browser.

The web service is operated and provided by

Telekom Deutschland GmbH
Business Center
D-64306 Darmstadt
Germany
<‍hosting‍@‍telekom‍.‍de‍>
+49 800 5252033

The web service provider stores a session cookie in the web browser and records every visit of this web site with the following data in an access log on their server(s):


Copyright © 1995–2024 • Stefan Kanthak • <‍stefan‍.‍kanthak‍@‍nexgo‍.‍de‍>