Add Run as Administrator Context Menu Item for VBS and JS files

By default, Windows does not include the Run as Administrator option in the context menu for Vbscript (.VBS) and JScript (.JS) files. So, to run a script elevated, you either need to launch the script from elevated Command Prompt window, or use the VBScript self-elevation method as described in article How to Automatically Elevate a … Read more

Add “Edit HOSTS file” option in the context menu

The HOSTS file, originally introduced to resolve hostnames to IP addresses, is also an effective tool to block Malware. To modify the HOSTS file in Windows, you need to elevate Notepad.exe or any other text editor which you use. Otherwise, you’ll see the following error when trying to save the HOSTS file: Cannot create the … Read more

Task Scheduler Service Grayed Out in Services MMC

When you open the Services management console (services.msc), the Task Scheduler service may be in a disabled state. In the Task Scheduler properties page, all the options may be grayed out, and the service Startup type cannot be changed. RELATED: How to View and Modify Service Permissions in Windows This article tells you how to … Read more

How to Launch a Vbscript in Elevated Mode (Run as Administrator)

With the introduction of User Account Control (UAC) in Windows Vista, you usually open an elevated Command Prompt in order to run batch files and scripts that need administrative privileges. Applications can make use of manifest files (using the RequireAdministrator flag) to automatically run elevated. For scripts, this article provides you some neat little tricks … Read more