In response to a script request recently from one of our readers, here is a VBScript that I came up with, that displays last logon date/time details for each local user account in a computer.

[Download lastlogon.vbs] (more…)
In response to a script request recently from one of our readers, here is a VBScript that I came up with, that displays last logon date/time details for each local user account in a computer.

[Download lastlogon.vbs] (more…)
Changing the file type icons in Windows XP and earlier Operating Systems was a breeze, using the File Types tab in the Folder Options dialog. Unfortunately the File Types tab has been discontinued since Windows Vista and there is no alternate GUI provided to change a file type icon or to customize the right-click menu. Earlier we showed you how to change the file type icon manually using registry edits. In this article, we’ll see how to change a file type icon using the excellent Default Programs Editor utility, which we’ve covered before. (more…)
When a software installation which uses Windows Installer Package fails, you enable Windows Installer Logging and re-run setup to capture the output to a log file for troubleshooting. This can be done using three ways: using the Registry Editor, using the Group Policy Editor or by running the msiexec.exe command with required parameters.
The first two methods are documented in article How to Enable Windows Installer Logging. The third method uses the msiexec.exe command-line parameter. Here is an example:
This starts the 7-Zip .msi installation (7z465-x64.msi) and records all the results, including verbose output to a log file named mylog.txt located at D:\
Do you find it difficult to type the entire command-line everytime when you need to log application setups? No problem! You can implement this in the context menu for .msi files so that you can launch the installation with logging in a couple of mouse clicks. (more…)
Windows saves the desktop icon layout when the user logs off, and the setting is read during logon. Recently I came across a case where the desktop icons rearrange to their default positions after a restart or logoff/logon cycle. This turned out to be a Permissions issue with a registry key, which kept Windows from writing to it. Are you experiencing the same problem in your Windows XP/2003/Vista/7 PC? If so, here is a solution that you can give it a go. (more…)
If you’re greeted with the Windows Installer setup screen for an existing product everytime when you try to install a new program, you usually repair the existing application, or use the Windows Installer Cleanup Utility to remove the installer information of the existing application before reinstalling it. The problem is the Windows Installer Cleanup Utility Setup itself uses Windows Installer and hence it may not run in the above scenario. Here is an option which can be used to launch the Windows Installer Cleanup Utility without installing it. (more…)
Sometimes after uninstalling software, you may end up with blank entries in the System Configuration Utility (MSConfig.exe) in Windows XP. This happens if the startup entry is present in the registry with blank value data. This article tells you how to remove those orphaned entries by editing the registry.
When you open the Display Settings Control Panel applet and click the Screensaver tab, one of the following options are shown:


The second option is seen in systems which are connected to domain (which disables the Welcome screen.) If you enable this option, you’ll see the "Unlock Computer" classic logon prompt when resuming from screensaver mode. Whereas the former displays the Welcome screen when resuming from screensaver mode.
What if the "On resume, password protect" option is shown in a standalone system where the Welcome screen is enabled? What causes the "On resume, password protect" option to be shown in standalone systems and systems in a Workgroup?
This was asked by many Windows XP users over these years in various forums where I participate, but no entire explanation for this observation has been found anywhere. Hence this article was written.
The "On resume, password protect" is displayed if at least one the following conditions is true:
The Extended view of Services Management Console (services.msc) displays the service description and also has links to Start or Stop services. In some systems, the Extended view may appear blank, as in figure below:

This has to do with broken JScript.dll registration. To fix this problem, login as Administrator or equivalent, and then run the following command from Start, Run dialog:
Press {ENTER}
You should see the output message "DllRegisterServer in jscript.dll succeeded."
This fixes the Extended view. Close and re-open Services MMC.

A useful tip for mousers. Earlier we saw how to copy Command Prompt output to the Windows Clipboard. Did you know that you can accomplish the same using your pointing device (mouse)? Also, you can select a particular section (word or line) and copy it to the Clipboard. Here is how to do so.
1. Create a Command Prompt shortcut (cmd.exe) on the Desktop.
2. Right-click on the Command Prompt shortcut and choose Properties
3. In the Options tab, enable QuickEdit mode, and click OK.

4. Open a Command Prompt window (using the custom shortcut) and type a command.
5. To copy the output, select the text area using the mouse pointer and click the right-mouse button (or press ENTER.)

This tip applies to Windows Vista & Windows 7 as well.
Editor’s note: The above setting works only if you access the Command Prompt using the desktop shortcut that you created earlier. In one of the upcoming articles, we’ll instruct how to make the Quick Edit setting enabled by default, so that it works irrespective of the method you use to access the Command Prompt.