Tag Archives: vbs as administrator

Add Run as administrator context menu item to VBS files

Add Run as administrator context menu item to VBS files

There are not many cases when you need to execute a VBS script (*.vbs file) as Administrator. But when you need it, it can be tricky. Instead of just double clicking a VBScript, you need to open an elevated command prompt and type the name of the VB script file at the correct path to execute the script as admin. To avoid this, you can add a context menu command for VBS files to the File Explorer app which will allow you to run the selected VBS file as administrator. Here is how.