Block the launch of scripts and other potentially dangerous executable files by editing file associations in the registry. After executing the reg files, the corresponding extensions will open with notepad. If you still need to run them, then you can do this from the context menu, through "Run as administrator".
CMD | Command line script | |
BAT | Command line script | |
COM | DOS command file | |
HTA | HTML document executed | |
JS | Javascript script | |
JSE | Encrypted javascript script | |
PIF | Executable | |
SCR | Screensaver | |
VBE | Encrypted VB script | |
VBS | VB scenario | |
WSC | Windows script component | |
WSF | Windows scenario | |
WSH | Windows Scenario Settings |