Syed Jahanzaib Personal Blog to Share Knowledge !

February 29, 2012

IBM DOMINO: Howto increase Mail Quota for Already Registered Users

Howto increase user mail quota who is already registered:

Open Domino Admin
on your right , Right click on user and select QUOTA
As shown in the image below . . .

Now click on User and set its database limit as per requirements.


For more info,


Syed Jahanzaib

February 28, 2012

Howto View and Kill Tasks on Local/Remote PC


To view Tasks on Local PC.


you will see running tasks and there PID
As shown in the image below
. . .

To kill any task on Local PC.

taskkill /F /IM notepad.exe

To kill multiple task on Local PC.

taskkill /F /IM notepad.exe /IM mspaint.exe

To kill task by PID on Local PC. First find out PID of your program by running

then note down the PID, its the numeric number written just after application name, for example
notepad.exe                 5768 Console                 0      3,644 K
so 5768 is the PID number, to kill it by PID number, use the following

taskkill /F /PID 4556


To view Running Tasks on Remote PC.

tasklist /s remote_comp_name
(or ip

To kill any task on Local PC.

taskkill /F /S COMP_NAME /IM notepad.exe

To kill task by PID on Local PC. First find out PID of your program by running

tasklist /s remote_comp_name
(or ip
then note down the PID, its the numeric number written just after application name, for example
notepad.exe                 3624  Console                 0      3,644 K
so 3624 is the PID number, to kill it by PID number, use the following

taskkill /F /S COMP_NAME /PID 3624

Howto Create Scheduled Task on Remote Computer

To create Scheduled Task on Remote Windows PC.
You can use the following command.
[Note: You must belong to Administrators group to perform this action.]

schtasks /create /s computer_name /tn "Weekly Backup" /tr c:\Backup_folder\backup.bat /sc weekly  /D FRI /st 13:00:00 /sd 02/28/2012 /ru "domain\admin_user" /rp "admin_password"

The above command will create an scheduled task which will run on every Friday at 1:00pm and it will execute backup.bat  file.

You can copy backup.bat to remote pc using \\computer_name\c$ and paste it where ever you like.
backup.bat can contain any action like taking backup. For example

C:\windows\system32\xcopy.exe c:\Backup_folder\*.* d:\Autobackup /S /D /C /Y

The above command will copy all data from c:\Backup_folder to d:\Autobackup. Next time when this file will be executed it will run as incremental backup, means only files that have been changed or added will be copied to destination folder.
We used this method to copy user data file to remote File Server :)~



Syed Jahanzaib

February 27, 2012

Ubuntu in HYPER-VISOR / Network Card not detected [SOLVED]

If you have installed ubuntu in HyperV and network interface cards not detected. then you have to load the hyper visor modules in ubuntu.

To do this, edit the file /etc/initramfs-tools/modules by following command

nano /etc/initramfs-tools/modules

and add the following four lines:


Then, update the initramfs image:

sudo update-initramfs –u

Now reboot your ubuntu box. after rebooting, issue command


and you will see you network interface cards. Finally configure the interface cards either via GUI or CLI.
For example:


VMWARE Workstation: Windows not detecting LAN card in Guest OS:

Add the line in vmx file of your vm guest.

ethernet0.virtualDev = “e1000”


Syed Jahanzaib

February 23, 2012

Forefront TMG 2010 installation failed “SQL Installation Error” [Solved]

Today at my company I was installing TMG 2010 on Windows 2008 R2 64bit on MS Hyper-visor VM and encounter following errors during installation related to SQL 2008  ,
# Forefront TMG Installation terminates – SQL Express 2008 Could Not Be Installed
# Error installing TMG 2010: failed to install SQL Express 2008 (reporting instance)
After some googling, I managed to resolved this problem. This is what I did:

#    Go to Control Panel   >   Uninstall Programs
#    Uninstall Microsoft SQL Server 2008
#    Uninstall Microsoft SQL Server 2008 Native Client
#    Go to C:\Program Files
#    Delete folders ‘Microsoft Forefront Threat Management Gateway‘ and ‘Microsoft SQL Server’
#    Go to C:\Program Files (x86)
#    Delete folders ‘Microsoft SQL Server’
#    Reboot your windows
#    Right click on TMG Setup and select ‘Run as Administrator‘ , and follow on the screen setup.

This time installation went smooth.

After this I installed TMG SP1 and SUP1 from

You can download SP1 from :

and you can download SU1 from :

Afterwards, download TMG SP2 , and install it.




Forefront Remote Management Tool error
Refresh Failed. The parameter is incorrect.

If you have installed Forefront Remote Management tool to manage your tmg remotely via your workstation, and you received following error

Forefront Remote Management Tool error
Refresh Failed. The parameter is incorrect.



Make sure that you have the same level of Service packs and patches that are installed on TMG Server. Also make sure that your ip is added TMG Rmote Management Policy Section. (In Firewall System Policy)

SU1,  SP1 , SP2  (Software Update 1, Service Pack 1, Service Pack 2)

I hope these steps will help you too 🙂


Syed Jahanzaib

February 22, 2012

Vmware ESXi 4.x Installation Guide [Short Reference]

Filed under: VMware Related — Tags: , , , — Syed Jahanzaib / Pinochio~:) @ 12:35 PM

I received many emails regarding howto install and configure Vmware ESXi Server .
Following is an short reference guide for beginners. This guide will illustrate you howto install ESXi from beginning till creating Virtual machines in ESXi using VSPHERE Client. Believe me its realy simple :)~

First, Some Overview to VMWARE ESXi and it’s features.

ESX and ESXi do not run on a general purpose OS like Windows or Linux.  They install and run directly on your server hardware, which is why they are called “bare-metal hypervisors
it does not run atop a third-party operating system,but instead includes its own kernel. Up through the current ESX version 5.0, a Linux kernel is started first, and is used to load a variety of specialized virtualization components, including VMware’s vmkernel component. This previously-booted Linux kernel then becomes the first running virtual machine and is called the service console.

Ok let’s START 🙂

First you have to register yourself at vmware site, the registration is free 🙂
Just goto

and on the right side ” Register to download your Free Product ” window, click on CREATE an ACCOUNT,
After registration process, login with your id and you will see all vmware products for downloads.
Select VMware vSphere Hypervisor 4.1 License (ISO Format)

After downloading, burn it to CD (or if you trying it in vmware workstation , use it to boot)

Boot from ISO image OR CD, You will see VMware Boot screen.
As shown in image below

Select ENTER to select ESXi installer,

Now It will start detecting  your hardware After it, Welcome screen will appear.

Press ENTER to continue

END User license screen will appear,

Press F11 to continue

Now HDD / Storage Selection screen will appear,
select your hdd and press ENTER
As shown in the image below

Now Confirm Install screen will come.
Press F11 to confirm and the installation will begin.

It usually takes 3-5 minutes to install, After Installation complete screen appears, press ENTER to Reboot. By default you have 60 days time to enter License, after 60 days it will expire. (See the Tips ‘n Trick section of this article)

After reboot completes, VMWARE ESXi will start loading its kernel and other components
Now you will see following window.

To customize ESXi for id/password and network management,
Press F2 and you will be prompted to ENTER id password
default id is ‘ root
and password is empty, just ENTER ,
Now you will see something like

First configure your root password. (its necessary so that it can secured)

Now set IP address for ESXi so that you can manage it remotely using vmware Vshpere Client 😀
Select “Configure Management Network
Select “IP configuration

Here Select “Set Static IP Address
and enter your IP Address information.
As shown in the image below . . .

After entering info,
Press ESC to continue
Again Press ESC to continue, and it will ask you to Apply changes
Press Y to continue

ESXi basic setup is complete,
its time to test it
open your browser and open http://esxi-ip-address
and you should see something like below image

OK, ESXi is installed and ready to be explored , its time to hit the road,
I mean configure ESXi and then create virtual machines using Vsphere client to manage ESXi server.

From your Management pc (Winxp, Win7 or any version)
Download VSphere Client from

Installation of vmware vsphere client is very simple,
After installation is done, Open it, You will see something like below image

Enter your IP address of ESXi server, id and password (that you have configured in management section.). If you see any certificate warning , you can safely ignore it.

Now you will see your VMware ESXi Server.
As shown in the image below . . .

From here you can create virtual machines.
But first you have to add some STORAGE to store vm related material.

On the main screen , click on “Click here to create a database

and follow on the screen below.

Done, Now that you have created STORAGE, you can create new VM to get started.


Howto create New Virtual machine in ESXi

Connect to ESXi using VSPHERE client, on the main screen, click on “NEW VIRTUAL MACHINE
As shown in the image below . . .

ESXi 4.x Keys

*** I used this one on 4.1 esxi
MU412-DH3E7-48908-R0AEK-13K40 (Unlimited VMs)

vSphere Enterprise Plus
5V0NA-A2K05-H85Q1-FT1EM-CG8P8 (Unlimited CPUs)
MU412-DH3E7-48908-R0AEK-13K40 (Unlimited VMs)

vCenter Server

vCenter Server Foundation

vSphere Standard
4U6JK-DGJ17-M88V8-VHAEM-3P068 (Unlimited CPUs)
0G6T2-07L5P-H8071-DUCE6-0U82F (Unlimited VMs)

vSphere Advanced
JZ0TK-D1304-48DK1-2V8EK-3QKN8 (Unlimited CPUs)
0G4WR-FCK13-48E28-3JAQ6-C3AQ8 (Unlimited VMs)

vSphere Enterprise
NY018-AQK07-M89Z0-U32NP-C28H0 (Unlimited CPUs)
4U6RU-49KDN-48190-XC3Z6-CCH3D (Unlimited VMs)

ESXi 5.0 U1


vCenter 5 Standard Edition License Key

0G03V-2F1EL-ZZCY8-QT27P-93421   ***

VMware vSpher 5.0 Enterprise Plus (Unlimited CPU)

VMware vSpher 5.0 Enterprise Plus (Unlimited VM)

VMware vSpher 5.0 Desktop Host (12 Core)

VMware vSpher 5.0 Desktop Host (Unlimited VM)

VMware vSpher 5.0 for VCloud Service Provider Standard

VCenter Server 5.0 Foundation

VCenter Server 5.0 Essentials (Unlimited Server)

VCenter Server 5.0 Essentials (Unlimited Vram)

VMware View Premier

VMware View Enterprise

Difference between “I COPIED”  &  “I MOVED

I copied it

If you select “I copied it” the following setting in the target Virtual Machine .vmx configuration file are changed.


Which makes the copied Virtual Machine appear uniquely different the the original.  Useful if you are running multiple copies of same VM on the same network.

I moved it

If you’re running a single copy of the target Virtual Machine at a time then you may want to chose “I moved it” to avoid possible activation issues with come OSes and or Software that registers the Ethernet MAC as part of its checksum.



February 21, 2012

IBM XSERIES SystemX3650 DASD Light Error !

Filed under: IBM Related — Tags: , — Syed Jahanzaib / Pinochio~:) @ 1:21 PM

Today, one of our IBM system3650X series server encountered an DASD error.

An orange Exclamation light turned ON and the server was not booting properly. This server have 2 HDD running in RAID mode. both HDD green lights were flashing properly which was showing that the HDD are in good condition. So I applied the Power Recycling solution and it worked like a charm 🙂 .

Howto do Power Recycling / Cold Restart

# Shutdown the Server
# Remove Power cables (both) from power supply.
# Wait for 10 Minutes,
# Now plugin the power cables and turn ON the servers and you won’t see orange light 🙂

More information can be found here


Syed Jahanzaib

February 14, 2012

DMASOFTLAB Radius Manager V4 Released :D

Filed under: Linux Related, Mikrotik Related, Radius Manager — Tags: — Syed Jahanzaib / Pinochio~:) @ 1:42 PM

At last, RM v4 have been released with good features, specially SMS for welcome/Expiry/warning messages. 😀

Complete Features added in v4 are as follows.



More informations:


*** v 4.0.0 *** 2012-02-13 ***

-support for DHCP based cable modem accounts (DOCSIS)
-RADIUS IP pool support
-the default mobile number is displayed upon verifying a self registered account
-ACP list users more sortable columns
-contract id search option
-Hotspot MAC and CM users can purchase credits in UCP
-already used email address or SMS number is not allowed in self registration
-already used SMS number cannot be used for account verification
-notify admin in email when a new user is registered
-self registration welcome email with username / password
-self registration welcome SMS with username / password
-notify admin in email when a new IAS is registered
-IAS welcome email (username / psw)
-IAS welcome SMS (username / psw)
send email upon adding credits (ACP, UCP)
-password recovery through SMS, email
-automatic MAC binding option for regular, card and IAS accounts
-write off option for managers
PIN prefix field in card generator
-carry over remaining credits to next month (auto renew option)
-VAT id as optional self registration mandatory field
-remember last selected account type in new user form
-remember last selection in search invoices form
-account type selector in find users form
-option for disabling the grouping of decimals on invoice form
-filter postpaid payment status in list invoices form
-search for active / expired users, cards and IAS accounts
-search for used / unused accounts
-find users form remembers last selected checkbox status
-list and search refill cards
-the default sim-use value can be specified in system_cfg.php (useful for pfSense)
-definable additional traffic unit
-search invoice by account owner
-card print pdf series number
-online RADIUS users list show groups
-wireless signal monitoring
-enhanced online RADIUS users view
-geolocation field in edit user form
-CTS access permission flag
-enhanced traffic summary view
-new service flag: ignore static IP
-default sim-use is definable for self registered users


-Hotspot MAC user uses blank password for NAS authentication and regular password for UCP
-disconnect daily quota enabled users every day at midnight IAS purchase problem fixed
-PayPal Express Checkout total price decimal problem fixed
-PayPal Express Checkout security hole fixed
-special characters are allowed in NAS secret
-data rate for pfSense sent in bps instead of kpbs
-logout next service user when refilled in UCP
-automatically disconnect renewed postpaid users to return to the original service if next service is used
-scheduled service change logs out the user (POD)
-enhanched counters for available online time (no more ~800 hours limit)
-the fallback language (English) is used only if selected language is unavailable
-search invoices bug fixed
-traffic summary own users bug fixed
-special pricing periods 2 GB limit bug fixed
-IP address sort order problem fixed
-admin can list hidden services




February 12, 2012

Mikrotik PCC with HOTSPOT

Filed under: Mikrotik Related — Tags: , , , — Syed Jahanzaib / Pinochio~:) @ 12:45 PM

I received many emails regarding hotspot not working with PCC. Its very simple to run hotspot and PCC together on same Mikrotik Server.

(Personally I don’t like hotspot due to various security reasons, but still its useful in many environment)

First configure your mikrotik with PCC and HOTSPOT. Then Just add hotspot=auth in every pcc rules and it will work like a charm.
For example . . .

/ip fi man

add action=mark-connection chain=prerouting disabled=no dst-address-type=!local hotspot=auth in-interface=LAN new-connection-mark=WAN1_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/0

add action=mark-connection chain=prerouting disabled=no dst-address-type=!local hotspot=auth in-interface=LAN new-connection-mark=WAN2_conn passthrough=yes per-connection-classifier=both-addresses-and-ports:2/1


Syed Jahanzaib

February 11, 2012

Resignation Letter Sample

Filed under: General IT Related — Tags: , , — Syed Jahanzaib / Pinochio~:) @ 12:58 PM

Following is an resignation letter sample. Just in case any one need it :p

The Director,
A.B.C (Pvt) Ltd.

Subject:          RESIGNATION LETTER

Respected Sir,

I am currently working in A.B.C (Pvt) Ltd. as a “Network Engineer” in IT Department, currently appointed at XYZ Branch Office . With reference to the above noted subject, I would like to resign from your company for some of my personnel reasons. Therefore it is humbly requested that kindly accept my resignation and relieve me from my duties.

My resignation is effective from today. I am providing A.B.C with four weeks notice. My last working day will be 28th February, 2012

Thank you for the opportunities for professional and personal development that you have provided me during the last 3 years. I have enjoyed working for the company and appreciate the support provided to me during my time with the company.

If I can be of any help during this transition, with training or hiring please let me know as I would be happy to make myself available.

Yours Sincerely,


Network Engineer
27th January, 2012

Create a free website or blog at