How to encode VBScripts using Microsoft Script Encoder
1) To encode a VBScript, you need to install the Microsoft Script Encoder (MSE). You can download MSE from the following site:
2) Once installed, the script encoder can be found in the following directory - "C:\Program Files\Windows Script Encoder\".
3) To encode a VBScript (vbs) to the encoded format (.vbe), open a command prompt and type the following command:
For more information on how to use screnc (Microsoft Script Encoder) tool, please have a look at the following help file.