vbs and vbe files open with Notepad

microsoft-windows2,mail,live,pps,windows 8 keyboard shortcuts,dual boot,re-voltwindows 7 search,windows 7 administrator,folder,services,uninstall

If you use VBScript as a login script you might experience the following problem.

When user tries to login, login script is opened in Notepad rather than with Microsoft Windows Based Script Host.

The problem is in wrong setup for .vbs and .vbe file associations that are opening with Notepad application.

This is a per user setting and administrative privileges are needed to change this setting.

If needed add Administrative permission for this user and do the following:

Open Windows Explorer | Tools | File Types


Navigate to VBS and VBE extenstion, select it and click Change (if the button is grey, you don’t have administrative permissions).

From the list select Microsoft Windows Based Script Host and click OK.

Let the user login again and the script should now work fine.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

four × 3 =

This site uses Akismet to reduce spam. Learn how your comment data is processed.