How to Rebuild Icon Cache in Windows 10

tips bulb icon

We may face the icon cache corruption issue sometimes in Windows 10 and earlier OS. The icon cache corruption causes the wrong icons to show up for certain programs or in certain areas of the Windows shell, or no icons at all. For example, your pinned taskbar shortcuts may show up with the wrong icon.Read more

Clear Recent Files history Using Script in Windows 10

Did you notice that in Windows it takes exactly half a dozen mouse clicks to clear the recent items history? This post has a VBScript to clear the recent documents history in a single click in Windows 10 and earlier. Clear Recent Files history in Windows In Windows 10, here … Read more

Reset the Always ask before opening this type of file setting

When downloading files using Internet Explorer, you may see the Open/Save confirmation box (as shown below) for certain file types. If you uncheck the Always ask before opening this type of file check box, the preference is saved in the user part of the registry. Also, the configuration is stored in a separate registry value for each file type.

Here is how to reset the Open/Save choice for a specific file type or all file types in Internet Explorer.Read more

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 Vbscript to Run it as Administrator?

Besides that, you can add the Run as Administrator option to the context menu so that you can run a script elevated from the right-click menu.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 C:\Windows\system32\drivers\etc\hosts file.

Make sure that the path and the file name are correct.

Read more

Register and Unregister DLLs Elevated via Right-click Context Menu

regsvr32 error 0x80004005

This post tells you how to add register and unregister commands to the right-click menu for DLL and OCX files in Windows Vista, 7, 8 and 10.

To register a DLL or OCX file, you usually need to run regsvr32.exe from an elevated Command Prompt. Registering system DLLs from a non-elevated state may cause an error. For example, try to register the system module JScript.dll from Start, Search box (i.e., without elevating it). You’ll see the error 0x80004005 or 0x80007005 (“ACCESS IS DENIED”) when you do so.

Read more