Saturday, December 14, 2013

How to uninstall LibreOffice from Ubuntu?

Type the following in terminal to remove libreoffice.

sudo apt-get remove --purge libreoffice*

sudo apt-get clean

sudo apt-get autoremove

Friday, December 13, 2013

DNS TCP/IP commands from command prompt

IP address, Subnet Mask, Default Gateway, DNS and WINS addresses
What do you use to configure these things? There are various applications or utilities also available to configure TCP/IP settings and many other options.
But you can also achieve all this through command prompt! Isn't it fantastic? Many of you might be familiar with ping, tracert and ipconfig commands available in windows xp. Let us see which other commands you can use from command prompt.
With the help of these commands you can view or modify the network configuration settings of a computer that is currently running.
    To get the command prompt...
    Press 'WinKey + R' type CMD [ENTER]
  • ping - Test Connectivity
  • tracert - Trace IP address Route
  • netstat - Displays the TCP/IP protocol sessions
  • route - Display Local Route
  • arp - Display Resolved MAC Addresses
  • hostname - Display Computer Name
  • netsetup.cpl - Network Setup Wizard
  • control netconnections - Network Connections
  • ipconfig /all - Connection Configuration
  • ipconfig /displaydns - Display DNS Cache Info
  • ipconfig /flushdns - Clear DNS Cache
  • ipconfig /release - Release All IP Address Connections
  • ipconfig /renew - Renew All IP Address Connections
  • ipconfig /registerdns - ReRegister the DNS connections
  • ipconfig /showclassid - Display DHCP Class Information
  • ipconfig /setclassid - Change/Modify DHCP Class ID

Knowledge of DNS, gateway and subnet mask is helpful while resolving network issues. The following questions provides you a short description of...

What is DNS?
Domain Name Service (DNS) numbers are IP addresses that a web server uses to refer to specific servers that resolve domain names to IP addresses.

What is a GateWay?
A gateway IP refers to a device on a network which sends local network traffic to other networks. In the technical language it is a hardware device or software application set up that translates between two dissimilar protocols.

What is Subnet Mask?
The subnet mask number helps to identify the relationship between the host (computers, routers, switches, etc.) and the rest of the workgroup or network. For the purpose of security and performance a subnet mask divides IP networks into two different parts.

Wednesday, November 6, 2013


Download and install the RSAT tools for Windows 7 from here: Install either the 32-bit or 64-bit depending on what version of Windows 7 you’re using.
Next, go to Start - Control Panel and click on Programs.
Next, you’ll see an option to Turn Window features on or off. Click on this option.
Under Remote Server Administration Tools - Role Administration Tools, find the option for Hyper-V Tools, check the checkbox and click OK. You can now type Hyper-V Manager at the Start Menu
You can now type Hyper-V Manager at the Start menu or go to Start - Administrative Tools -Hyper-V Manager.

Saturday, October 12, 2013

Windows XP reports that Windows Management Instrumentation (WMI) might be corrupted?

[[You may receive any of the following error messages in Windows XP:
Unable to view network properties. Windows cannot display the properties of
connection. Windows Management Instrumentation (WMI) might be corrupted.
Unable to view System Information (MSinfo32).

If you run Windows Management Instrumentation (WMI), wmimgmt.msc, you
receive: Failed to connect to local computer due to WMI:Generic failure.

These errors will occur if the %SystemRoot%\System32\Wbem\Repository folder
is damaged.

Step - 1
To fix this problem:
1. Use the Start menu to right-click My Computer.
2. Press the Manage item.
3. Double-click Services and Applications in the left-hand pane.
4. Press Services to expand it.
5. Scroll to Windows Management Instrumentation in the right-hand pane and
right-click it.
6. Press Stop.
7. Use Windows Explorer to delete all the files in the
%SystemRoot%\System32\Wbem\Repository folder.
8. Shutdown and restart your computer. The Windows Management
Instrumentation service will start and the files will be re-created.]]

Step - 2
%SystemRoot%\System32\Wbem\Repository. I had to run Error Checking
(Chkdsk.exe). And then try to delete the file.

[Windows Management Instrumentation - WinMgmt could not initialize the core
Go to Start/Run/CMD and then run each of these hitting enter after each:

winmgmt /clearadap
winmgmt /kill
winmgmt /unregserver
winmgmt /regserver
winmgmt /resyncperf

This may or may not repair the repository but will re-install wmi into the


[[WMIPRVSE hosts the provider that sends your events on WinXP. On WinXP
providers are out of process from the actual WMI service. You can specify
the wbemConnectFlagUseMaxWait which will cause the timeout to be 2 minutes
instead of the default DCOM one which is up to 20 minutes. What may help is
to ping the remote machine first before attempting a ConnectServer.

WMI relies on DCOM for remoting which in turn uses RPC which then uses
TCP/IP, so there could be several reasons why it isn't connecting initially.
This is a known issue. Basically, when the provider calls MSI, it doesn't
necessarily cancel the initial request and attempts to finish it so
wmiprvse.exe will still show cpu usage.

To correct permission issues:

1 - In the Management Console\Services STOP WMI and set to manual.
2 - Go to the WMI repository %Windows%system32%wbem and delete the
3 -Set the WMI service back to Automatic
4 - From %Windows%system32%wbem run "wbemtest" and connect to your
5 - Start/Run/Regedit and navigate to: Locate current

HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Class. Open the class
key and right click on the sub key 0000 and select permissions and make sure
that the permissions for you [administrator] are "Full".]]

Hope this helps. Let us know.

Friday, October 4, 2013

Create your own passport size photo online for free!


  • Easy to use tool to create passport, visa and ID photos.
  • Use it free of charge.
  • Automatic face detection.
  • Multiple print sizes.
  • Simple picture mode to prepare photos for CVs, MSN or Skype.
  • Standards for 73 countries.
  • Manual crop.
  • Brightness and contrast adjustment.
  • Perfectly suitable for taking passport size photos of children (babies/infants).

Thursday, June 6, 2013

SAP GUI on Ubuntu

1. Download SAPGUI for java here.

2. Install Java JRE

Open a Terminal:
sudo add-apt-repository ppa:ferramroberto/java
sudo apt-get update
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts

This will install these packages: gsfonts-x11 java-common odbcinst odbcinst1debian2 sun-java6-bin sun-java6-jre sun-java6-plugin unixodbc

3. Install SAP GUI:

java -jar PlatinGUI-Linux-700.jar
Follow installation steps (in graphic mode).
You have now an entry in Unity :)
SAP GUI on Ubuntu 11.10
4. Create a server in the SAP GUI:
New | Advanced | Expert mode checked. Use this format:
By example, for the SAP server with system number 01:
Creating a server entry in SAP GUI
The result....

Friday, May 3, 2013

Bulk Image Resizer for Ubuntu OS

Ubuntu/Nautilus Bulk Image Resize


Ubuntu/Nautilus Bulk Image Resize
On lots of occasions I find my self doing bulk image resizing normally because I like to take phones with high resolution for my image collection but if I want to use them on the web I need to reduce their size. Introducing the Nautilus Image Converter I will be explaining how to install and use this extension in Ubuntu.
What is Nautilus Image Converter?
It’s an extension to mass re-size or rotate images relying on ImageMagick’s convert tool.

In Ubuntu open up the software center and type nautilus-image-converter into the search window and you should see the package we want listed in the window. [See figure below]
Figure 1

Click install enter your password if prompted and let Ubuntu weave its magic. Now to use this fabulous extension you will have to restart Nautilus and to do this with out having to log out open up your terminal and type
nautilus -q
killall nautilus

If Nautilus doesn't automatically reopen try this from the Unity menu (press the Super key) or using the run command (Alt+F2) Type in "gksudo nautilus" and click on Run to execute the command.

Ok so now we should have the Nautilus Image Converter installed and ready to use so navigate to the directory containing the images you wish to re-size. Next select all the images you want to re-size and right click you should now see two new entries in the option list Re-size Images and Rotate Images. [See Figure Below]
Figure 2

Scroll down and select Re-size Images you will be confronted with a re-size image options window. [See Figure below]
Figure 3

You have two main option the first is Image Size here you can choose the following methods of resizing.
  • Select a size from the predefined option list I normally use this.
  • Scale the images by percentage the default value is by 50%.
  • Select a custom size (Make sure you scale proportionally).
The next section is related to the file name given to the re-sized images if you want to keep the originals select some text to be appended to the end of each image but if don't need the originals select Re-size in place. When you are happy with your settings hit Re-size and wait to be amazed.
You should now have a bunch of re-sized images ready to be used in what ever project you are working on. If you need to do a bulk re-name of images or files check out my guide in the doc's section.