Friday, January 30, 2015

Remove Outdated Java Plugins From Firefox Web Browser

Currently I have two Java Deployment Toolkit Firefox plugins that have red exclamation mark against them. The error message is like they are "known to be vulnerable. Use with caution.". One refers to Java 6 Deployment Toolkit and another one from Java 7.

Moreover I have Java 6 SE plugin disabled with message "Java(TM) Platform SE 6 U 26 is known to cause security or stability issues.". All these messages are there because I still have older Java versions in my computer.

If I only had latest Java 8, I wouldn't have got these error messages in Firfox add-ons page. So if you don't really need, just uninstall older Java versions and you won't get these messages anymore. But if you need to use multiple Java versions for development at different times, you need to find an alternative. Enter "about:plugins" in Firefox address bar. The page will show you details of all the add-ons installed in your browser. Just search with the plugin name like "Java Deployment Toolkit". You will get the complete file path for that plugin. Just go there and delete .dll file like "C:\Program Files (x86)\Java\jre6\bin\new_plugin\npdeployJava1.dll" in this case.

So this way you can keep multiple versions of Java in your machine and still you won't see any error message in Firefox  add-ons page as you will use plugins only from latest Java version.

Friday, January 23, 2015

How To Monitor User CPU Utilization And Kernel CPU Utilization Through Windows Task Manager

When you open Task Manager in Windows 7 or some other Windows version, click on Performance tab. That is the place where you monitor CPU and Memory utilization in real time. Today I will just talk about CPU utilization statistics.

So CPU Usage box at top left side bar shows you overall CPU utilization at real time over all the cores. Under CPU Usage History, you will see CPU utilization graph moving along in real time. But that will be separate box for each core. My processor is Intel i7 2 core. But I still get to see four boxes. Why is it like that even when my multi-processor is just dual core? It's because of Intel's SMT technology, where due to hardware multi-threading each physical core behaves like 2 separate cores. So my machine basically have 4 logical processors. And Windows Task Manager shows separate box for each logical core. Now the graph that you see in the box displays the overall CPU utilization for a particular logical processor. You need to figure out User CPU utilization and Kernel CPU utilization separately. Time spent on the application code is basically User CPU utilization. And when application executes kernel code on behalf of the application, that constitutes your Kernel CPU utilization like doing disk I/O or allocating memory.

Click on View > Show Kernel Times. Now you will get a red line graph. That shows your Kernel or System CPU utilization. The portion between green line and red line is basically User CPU utilization.

Saturday, January 17, 2015

How to Change Windows Update Settings Bypassing Group Policy

When you are trying to change Windows Update settings, you are getting "Some settings are managed by your system administrator" message and drop-down box to change Windows Update settings is disabled.

This happens because your IT administrator has changed Windows Group Policy and set some deault settings for Windows Update. But suppose you sometimes use internet connection that has limited bandwidth pack. In that case you would probably like to save some bandwidth and download Windows Update files later. You would want to choose "Check for updates but let me choose whether to download and install them" option. Here is a quick solution to bypass Windows Group Policy and enable the drop-down options for Windows Update.
  • Open Registry Editor. You can do it by typing "regedit" in Start search box.
  • Go to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows
  • Look for key WindowsUpdate under that. If it's not there, create one.
  • Look for AU key under WindowsUpdate. If it's not there, create it. Finally, path should look like HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
  • Now select AU key. On right-side, create a new DWORD with name AUOptions and set value to 5 which will allow local admin to modify the settings.
It's done. Now you can go to Windows Update page and change the settings as you want.

Thursday, January 15, 2015

Download npower Test Series Flash Game For Free

This is about a flash cricket game that I used to play a lot. It's called npower Test Series. You have 10 wickets and 12 overs. You just stay there and press the arrow buttons when you see the ball coming. If your timing is right, you will hit the ball and based on that you will get runs like 2, 4 or 6 etc. It's simple and fun.

Recently I wanted to play it again. But this flash game file seems to be pretty hard to find and download online. After a lot of searching I was able to get it. So I thought of uploading it so that people like me who love this flash game can download and play. Here is the free download link for npower Test Series flash game.