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

automatically elevate vbscript runas

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 using which you can automatically elevate using the ShellExecute “runas” parameter.

(See also How to Automatically Elevate a Batch file to Run it as Administrator? for another auto-elevation method.)Read more

Desktop.ini file automatically opens when you start Windows

When you start your computer, the desktop.ini file may automatically open showing the following contents: [.ShellClassInfo] [email protected]%SystemRoot%\system32\shell32.dll,-21787 This happens if the hidden attribute for the desktop.ini file in the Startup folder is somehow removed. Follow these steps to resolve the problem: Open an elevated Command Prompt window and run these two commands: attrib +s +h … Read more

PNG images are not displayed on Web sites in Internet Explorer

When you open a Web page, the .PNG images in that page may not be displayed. Instead, a red X, or a placeholder, may appear in place of the images. However, all other image file types may display correctly in Internet Explorer. This problem may be seen after installing a third-party application which could have … Read more

Shell Commands to Access the Special Folders in Windows 10/8/7/Vista/XP

The shell: command can be used to open a special folder directly from the Start, Search menu or from the Run dialog. For example, the command shell:sendto opens the SendTo folder (%userprofile%\sendto) of your user profile. To launch the Documents folder of your user profile, you’d type shell:Personal. Below is a complete shell: commands listing … Read more

[Fix] .EXE Files Open in Notepad or Any Other Application when Double-clicked

.exe files open in notepad or any other application

Summary: Double-clicking .exe or .lnk (shortcut) files may open Notepad or any other application, displaying junk characters.

Did you accidentally use the Default Programs or Open With dialog to associate .exe file types with some application like Notepad? This causes every program to open in that chosen application. Unfortunately, Windows provides no option to reset the .exe file associations. You need to fix the association settings using a .reg file or script.Read more

Fix Send Page by E-Mail Option Grayed Out in Internet Explorer

When you try to send a webpage or link by email via the FileSend menu in Internet Explorer, the options Page by E-Mail… and Link by E-Mail… may be dimmed/grayed out. This happens if a default mail client is not correctly set. Use the instructions below to reset the default mail client.Read more

How to Open Elevated or Admin Command Prompt in Windows?

task manager -run command prompt elevated - create new task

Command Prompt is one of the most used tools in Windows. For tasks requiring administrator privileges, we need to start Command Prompt as administrator (“elevated”). This article describes different ways to open an elevated or administrator Command Prompt window.Read more