Open .VBS files with Notepad.
This setting enables you to open a file with extension .VBS in Notepad and have a look at it before getting it executed.
Level: Recommended For Experts Only
Description:
Script files may contain malicious script commands that attempt to perform unwanted actions on your computer. Though its a powerful mechanism to automate certain tasks, its also a common source of security threat. The better option is to take a look at the script files before executing them. To avoid security violations, you can make the script files to open with notepad on a double click instead of executing the script. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. Now, right-click and modify the default string value to edit which can open .vbs files with notepad. However, if you want to revert to the original setting, delete the added value. The changes take effect after a restart or logoff. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.
Script files may contain malicious script commands that attempt to perform unwanted actions on your computer. Though its a powerful mechanism to automate certain tasks, its also a common source of security threat. The better option is to take a look at the script files before executing them. To avoid security violations, you can make the script files to open with notepad on a double click instead of executing the script. For this, go to start > run menu, enter regedit and navigate to the registry path listed below. Now, right-click and modify the default string value to edit which can open .vbs files with notepad. However, if you want to revert to the original setting, delete the added value. The changes take effect after a restart or logoff. When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.
Screenshots

First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type "regedit".

Go to <b>[HKEY_CLASSES_ROOT\VBSFile\Shell\]</b>, in the open area right-click on "(Default)" and click on 'Modify'.

Finally, enter the value "Edit" without quotation in the text box and click on 'OK'. Once you are done. After a restart or logoff, the changes take effect.
Registry Entries
- back to top- Path: [HKEY_CLASSES_ROOT\VBSFile\Shell\]
- Location: Root
- Value Name: Default
- Data Type: REG_SZ (String Value)
- Action Type: Modified
Tweak Library Terms
- back to top- Application Paths
- Authentication
- Auto Play
- Browser
- Console
- Control Panel
- CPU
- Desktop
- Display
- Error Reporting
- Explorer
- File System
- Files and Folders
- Firewall
- Fonts and Icons
- General Info
- Group Policies
- Hardware
- Input/Output Devices
- Installations
- Internet Explorer
- Memory Settings
- Messenger
- Microsoft Office
- Networks Cards
- Network Internet Connections
- Other Programs
- Outlook and Outlook Express
- Performance Settings
- Product Updates
- Scheduler
- Search
- Security
- Services
- Sound and Video Controllers
- Start Menu
- Startup and Shutdown
- Storage Devices
- System
- System Restore
- System Settings
- Taskbar
- User Interface
- Windows Applications
- Windows Firewall
- Windows Media Player
- Winzip
