Microsoft Windows

VMware Fusion to run Windows on a mac

To run windows programs on Mac OS leopard, you can use the ability of installing Windows on a mac using VMware Fusion.
VMware Fusion makes it possilbe to run the most demanding Windows and Mac applications side-by-side. It is handled like a standard Mac-application to have easy access to all necessary windows programs.

Dropbox - Storing and sharing files in the cloud

Dropbox is a web-based file hosting service which uses cloud computing to enable users to store and share files and folders with others across the Internet using file synchronization. You can download it at

Dropbox can be installed on Windows, Mac OS X, Linux, iPhone, iPad, Android devices and more. After creating an account and installing, you will find a folder called "My Dropbox". All files in this folder will be synchronized seamlessly to every other device that has Dropbox installed. If you can't install the client, you can still use the web interface at - just log in with your username and password in the upper right corner.

Dropbox also offers a version history and sharing features. Using the version history you can easily revert back to previous versions. The sharing features are great for collaborating on files and folders.

Oracle connection error

Possible causes could be
-Bad configuration of TNSNAMES.ORA.
-No repository is located where is the service name identifier

The solution presented are:
-First Check TNSNAMES.ORA file of the database or the client you are using and check the settings, the most important are the HOST, SID and the ALIAS of the database, see if they match data from the computer that owns the database (server). The TNSNAMES is usually in a folder called Network or on NET80 in the case of some customers ORACLE.

A typical TNSNAMES of the database is as follows:
(ADDRESS = (PROTOCOL = TCP)(HOST = Server Name) (PORT = 1521))
(SERVICE_NAME = Service Name)

-Check that the service name matches the name that Windows provides, in the case of Oracle Database XE is always the XE service, other service facilities will be named as he was appointed at the time of creating the basis data.

Enabling Java in Firefox 3.6

1. Since Firefox 3.6, the Java is treated just like all other plugins and no longer has a enable check box in Tools > Options > Content. We can enable or disable Java plugin (and also all plugins) via Tools > Add-ons > Plugins.

2. What if the Java plugin does not appear in Tools > Add-ons > Plugins (you can also checked it by typing about:plugins in the address bar). It means that you have to install Java (before you can use Java in your Firefox). Since Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later.
These are how you can do it in various operating system (taken from

On Mac OS X
You can use the Mac OS X Software Update feature to update Java.
Note: The Java Embedding Plugin is bundled with current Mac distributions of Mozilla browsers, including Firefox and SeaMonkey. This utility allows browsers other than Apple's Safari to use the most recent versions of Java on Mac OS X.

On Linux
1. Download the Linux version of the Java software.
2. When the download is finished, execute the .bin file as root and follow the prompts.
3. When the installation has completed, run this command in the plugins directory of your Firefox installation:
ln -s /your_path_here/java/j2re1.5.0/plugin/i386/ns7/
4. Firefox 3.6 and later need the Next-Generation Java Plug-In
See Manual Installation and Registration of Java Plug-in for Linux (at
Run this command in the plugins directory of your Firefox installation to create a symbolic link to the Java plugin (replace xx with the current Java version):
ln -s /usr/your_path_here/java/jre1.6.0_xx/lib/i386/

On Solaris Intel
1. Install the Solaris Intel version of the Java JRE or SDK.
2. When the installation has completed, run this command in the plugins directory of your Firefox installation:
ln -s /your_path_here/jre/plugin/i386/ns610/ .

On Windows
Automatic update: The Java Update feature automatically checks for updates in Windows 2000/XP/Vista at scheduled intervals and notifies you when an update is available so that you can install it. If you have administrative privileges, you can also check for updates yourself and install them from the Java Control Panel (Start -> Control Panel -> Java -> "Update" tab).

Manual install or update:
1. Go to and click on the Free Java Download button.
2. Click on the Download Now button to start the online installation.
3. Close and restart your browser after the installation is complete.
If you prefer an offline installation, go to the Java SE Downloads page (see above for links) select the Java SE Runtime Environment (JRE) and save the offline installer (e.g., "jre-6u10-windows-i586-p.exe" for JRE 6 Update 10) to any convenient location, close your browser and run the installer.

Important: Previous to JRE 6 Update 10, installing or updating to a newer Java version would add a new Java Runtime Environment (JRE) instead of replacing the existing version. For example, if you already have JRE 6 Update 7 installed and later install JRE 6 Update 10, you would end up with two JRE versions installed in separate directories. You can remove older Java versions via Windows Control Panel "Add or Remove Programs", to save disk space and because older versions often contain security vulnerabilities.

Starting with JRE 6 Update 10, future Java updates will patch the current version by default instead of adding an additional version. For example, if you previously installed JRE 6 Update 10 in the C:\Program Files\Java\jre6 directory, and in the future you install JRE 6 Update 14, the version 6u14 installer does not create a new directory. Instead, it updates the pre-existing "jre6" directory with the new 6u14 content (JRE Update 10 will no longer exist). This will prevent an accumulation of unused and potentially insecure older JRE versions.

Watching movies online

In order to watch movies online:

  1. Your connection speed is key. If you are on a company network, DSL, or other broadband connection, you are wired for high quality.
  2. If you are connected by modem, the films will be a bit small, but you can see them nonetheless.
  3. Look for streaming video. This means that you don't have to download the entire movie, but you can start watching it as soon as the download starts.
  4. Get the software you need. All sites generally offer download links.
  5. Select a movie
  6. Close all other programs. Any software running in the background can slow your computer down and affect the quality of the film.
  7. Make some popcorn, turn down the lights, enjoy.

There are many popular movie players which allow you to watch movies online and to download your favorite movie some of them are:

  •   VLC player: VLC players acts as the cross-platform open-source multimedia framework, player and server which is capable of reading most audio and video formats like MPEG-2, MPEG-4, H.264, DivX, MPEG-1, mp3, ogg, and many others
  • Quick Time player: This is also one of the most popular movie players. You can download this player free of cost from online resources. This player supports both Windows and Mac
  • Real Player: Real Player and Windows media player can also be downloaded from the net free of cost but these players are suitable for some movies only
  • Windows Media Player: This players is mostly found in majority of the PCs

Applying group policies to distribute windows firewall settings

As for many tasks the group policies come in handy for this intent too.You can start the Group Policy Object Editor by running gpedit.msc. Navigate to the following path in the console tree: 

    Computer Configuration / Administrative Templates / Network / Network Connections / Windows Firewall

Depending on your environment choose the domain or the local profile.The setting 'Define port exceptions' allows entering a list of excepted TCP and UDP ports with the following syntax:  

    <port>:<protocol>:<allowed net>:<status>:<name>

 This line creates a rule named 'vnc' which accepts incoming tcp traffic on port 5900 from all networks:  


In a windows server environment you change this policy in the active directory and apply them to the according users/computers-group. The domain-clients get the update on the next restart or by manually executing 'gpupdate'. In a non server environment you can use the Secure Editor 'secedit' or the Group Policy Management Console 'gpmc' to import and export policies and distribute them among clients. 

Use Windows Sidbar Functionality and Ajax

The windows sidebar gadgets are noting more than small HTML files that are added by the OS to the sidebar automatically. The interface between the file and the OS is a XML file that specifies some important facts and looks like this:<code><?xml version="1.0" encoding="utf-8" ?><gadget>  <name>MyGadgetName</name>  <namespace>Namespace.Gadget</namespace>  <version>1.1</version>  <author name="">    <logo src="images/logo.png" />    <info url="" />  </author>  <copyright>&#169; Wien, 2009 </copyright>  <description>Newsgadget</description>  <icons>    <icon width="64" height="64" src="images/icon_64.png" />  </icons>  <hosts>    <host name="sidebar">      <base type="HTML" apiVersion="1.0.0" src="main.html" />      <permissions>Full</permissions>      <platform minPlatformVersion="1.0" />      <defaultImage src="images/bg_drag.png"/>    </host>  </hosts></gadget></code> The most important option is the base tag. It specifies the path to the entrypoint - in my example this is the main.html. There are some other options like logos, URLs or version numbers which can be figured out very easily. All that I had to do now was creating the main.html and writing some javascript code to parse the remote RSS feed:<code>function getRSS() {     try     {        var req = null;         if (window.ActiveXObject)        {            req  = new ActiveXObject('Microsoft.XMLHTTP');         }        feedUrl = ''+Math.random();"GET", feedUrl , true);         req.setRequestHeader("Content-Type", "text/xml");         req.onreadystatechange = function()            {                if(req.readyState == 4)                {                    if(req.status == 200)                    {                        var rssXML = req.responseXML;   // assign the XML file to a var                        if (parseRSS(rssXML) === true) {                            /* YESSSS */                        } else {                            /* UUPS */                            connectionError();                        }                                        }                        else                        {                        alert("Error: returned status code " + req.status + " " + req.statusText);                        connectionError();                    }                }            };        req.send(null);     }    catch(err)    {        alert("General Error: " + err);        connectionError();    }}</code>What this function does is creating a connection to a given rss feed and fetching the data. If that is possible it sends the data to another function named parseRSS() which looks like that:<code>function parseRSS(rssXML) {    var rssItems = rssXML.getElementsByTagName("item");    feedItems =[];    var feedCount=0;    var feedDate;        feedDate = rssXML.getElementsByTagName("dc:date");    if(feedDate[0] !== null) {        feedDate = feedDate[0].firstChild.nodeValue;    } else {        feedDate ="";    }        for(i=0;i<rssItems.length;i++) {        try {                    var title = rssItems[i].getElementsByTagName("title");            var description = rssItems[i].getElementsByTagName("description");            var link = rssItems[i].getElementsByTagName("link");                        if(title[0] !== null && description[0] !== null && link[0] !== null) {                    var feedItem = [];                var relatedItems= [];                    feedItem[0]= title[0].firstChild.nodeValue;                feedItem[1]= description[0].firstChild.nodeValue;                feedItem[2]= link[0].firstChild.nodeValue;                                feedItems[feedCount]= feedItem;                feedCount++;            }                         } catch(err) {}    }    if(feedCount>0) {        return true;    } else {        return false;    }}</code>No I have an associative array named feedItems[] which contains all the fetched RSS data. This information can now be desplayed very easily using basic javascript functionality.Finally I zipped all my files (gadget.xml, main.html, javascript-files, images, etc.) and changed the file suffix from .zip to .gadget. On Windows Vista or Windows 7 system a simple doubleclick on this archive is enough and the gadget will be installed.

Using Boot Camp to run XP and MacOS on the same computer

Boot Camp is software included with Mac OS X 10.5 Leopard that lets you run compatible versions of Microsoft Windows on an Intel-based Mac.I will be guiding you guys through how to setup Boot Camp in Mac OS X Leopard or Snow Leopard. Boot Camp is a utility that comes with every new Macintosh and can run on any Intel Macintosh. It allows you to natively boot and run Windows XP (SP2 or later), Vista or Windows 7 (Not officially supported yet). Here goes the tutorial:Step 1: Navigate to Applications>Utilities>Boot Camp Assistant and open it. Read the introduction and click continueStep 2: Pick a partition size and select “Partition”. Allow the assistant to partition your hard drive for you.Step 3: Follow the rest of the Boot Camp Assistant instructions, ending with inserting your Windows Installation DVD/CD.Step 4: For the rest of the steps in setting up and installing Windows on to your Mac, follow this Apple Boot Camp tutorial: 

Create a CD that will autorun

 To create a CD that will auto-run is actually very simple. All you need to do is to create the file ‘AUTORUN.INF’ in the CD's root directory and put some simple commands in the file to indicate what you want to be auto-run. The file ‘AUTORUN.INF is a simple text file - so use notepad to edit it.The ‘AUTORUN.INF’ file must start with the following line:


It can then include any of the following (optional) commands - with each command placed on a separate line:icon=icon.icoSpecifies the name of the icon file that will be used by explorer as the icon for that CD.This may be the name of an executable file that contains an icon. If the executable contains more than one icon then an optional index field can be specified to indicate which icon to use:icon=iconfile,indexlabel=text label Text label that will be displayed against the CD within the command that is to be autorun when the CD is first inserted. It may include a path and any arguments.ShellExecute=datafileSpecifies an application or data file that is to be opened. Windows will launch the application associated with that file type to open the datafile.Note: ShellExecute is not supported under older versions of Windows (i.e. under Windows 95 or Window 98). For example to create a CD that will autorun the program ‘setup.exe’ would require an AUTORUN.INF file similar to:


To create a CD that will autorun to open the html file ‘index.htm’ would require:


However, since some older versions of Windows do not support ‘ShellExecute’ a less elegant alternative would be:

open=command /c start index.htm

Be aware that the use of ‘command’ and ‘start’ restrict this to machines running Windows.   

Change MAC address under XP

Windows XP adds an option to change the MAC address on some network cards under the Advanced tab in the network adapter's Properties menu.A much easier and more reliable method to change a MAC address under Windows is to use a software utility program designed to do this for you.Macshift is a free utility that you can use to spoof your MAC address under Microsoft Windows.


Subscribe to Microsoft Windows