When you right-click on a Windows batch file (.bat) file and click Edit, Notepad opens the file by default. If you have a Notepad replacement software installed in your system, you can set it as the default editor for Windows batch files.
registry
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
Desktop Icons Covered with White Boxes or Black Squares
Here is a mysterious case of the icon overlap problem, which the screenshot below explains perfectly. You can see the original icon for shortcuts is overlapped by a generic white overlay (which is shown for unknown file types). An incorrect icon overlay setting is causing the problem.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:
Make sure that the path and the file name are correct.
Register and Unregister DLLs Elevated via Right-click Context Menu
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.
How to Save and Restore Desktop Icon Layout Automatically in Windows
When testing various display resolutions or after completing a remote desktop session, the desktop icons may go out of order. Another case is that when you accidentally use the Ctrl+ Scroll button (mouse) on your desktop, the Desktop icon size changes. But reverting to the original icon size may not restore the custom icon positions on your desktop. You can quickly undo the icon rearrangement by terminating explorer.exe forcefully, but that works only in certain circumstances.
In this article, we’ll see how to automatically save and restore desktop icons layout using different methods in Windows.Read more
How to Remove NVIDIA and Intel Control Panel from Right-click menu?
Installing the graphics driver software for your video card (Intel, NVidia, etc.) adds the respective Control Panel entry in the Desktop right-click menu. If you don’t use the menu option, you can remove it from the registry to speed up right-click menu display on the desktop.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.
This article tells you how to configure the Task Scheduler service using a couple of methods.Read more