Category Archives: Windows

PPTP Server Setup on Mikrotik

In this post, we’ll see how to configure the PPTP server on Mikrotik.


Login to the Mikrotik RouterOS via Winbox and go to the IP —> Pool:


Read more of this post


How to resize the KVM Virtual Machine Disk

In this post I’ll show you the steps for resizing the virtual disk without creating a copy or clone of it. Before starting this procedure, I would suggest you backing up any important data on the virtual machine.

Login to the KVM Machine and verify the current hard drive size:


Read more of this post

Keep PuTTY SSH Sessions from Disconnecting

If you are using PuTTY to interact with your Linux Server(s) for extensive period of time and are frustrated due to disconnecting, when the SSH session turns idle for a certain amount of time (usually ~10 min). To overcome this problem, just use the keepalive feature of PuTTY!

Click on the Connection and enter the 30 (or whatever value which indicates the number of seconds) in Seconds between keepalives (0 to turn off) text box.


You are done, from now onward, the keepalive feature will prevent your SSH session from disconnecting.

Hope this will help you!

Please Remember me in your prayers!

Authenticate the Cisco Devices using Active Directory

Router and AD copy

We want to authenticate and authorize the user on Cisco devices using the Microsoft Active Directory. In this tutorial, we want to create two Active Directory groups, Network Admin and Network Tech. Network Admin have full access to Cisco devices (privilege level 15) while Network Tech have custom access (like show commands including show running and interface configurations) only.

arbab belong to the Network Admin group

ali  belong to the Network Tech group

Network Policy and Access Services:

Before starting this tutorial, I assume that you have installed the Active Directory and it is up and running. Let’s start the tutorial by adding the NPS Role:

Start -> Administrative Tools -> Server Manager

1 copy

Read more of this post

How to Change the Network Cards Priority in Windows 7



We are connecting with the two different networks using the wired and wireless cards simultaneously . We want to access the local resources (e.g: file server, print server, application server etc) using the wired connection while  want to browse the Internet using the wireless connection.

To check the default Network Cards Priority, open up a command prompt and issue this command:

netstat -r


Read more of this post

OpenVPN server on Ubuntu 12.04 behind NAT

This tutorial describes that how to configure the OpenVPN Server in Ubuntu and clients in Windows XP/7.

I am taking the scenario of SOHO network, which is protected by Firewall, we’ll implement the OpenVPN on internal Ubuntu server to access the internal SOHO network (Server and PCs) through the internet from anywhere securely.


OpenVPN Server Installation:

Install the openvpn package using the following command:

 sudo apt-get install openvpn


On Ubuntu 14.04 LTS, please use the following command to install the openvpn package:

sudo apt-get install openvpn easy-rsa Read more of this post

Install WordPress Locally on Windows 7 with Xampp

Before starting this tutorial, please make sure that XAMPP is installed on your windows machine, if you need any help, check this tutorial.

Download the latest version of wordpress from

Read more of this post

How to set Windows to boot as the default in the boot loader

Many people like to boot Windows as standard/default OS in dual-boot setup instead of Ubuntu, so in this tutorial, I will show you that how you can do this:

In a terminal, type this command to display all your grub entries:

fgrep menuentry /boot/grub/grub.cfg

Copy the underline entry – for example Windows 7 in this screenshot.

Edit the /etc/default/grub file:

sudo nano /etc/default/grub

Change the entry:



GRUB_DEFAULT="Windows 7 (loader) (on /dev/sda2)"

Note:paste the entry you want (including the quotes)

Then type:

sudo update-grub

That’s it, now Windows 7 will boot as default OS:

Hope this will help you!

Please Remember me in your prayers!

Enjoy 🙂

Install Windows 7 alongside a pre-existing Ubuntu

I purchased a Dell Laptop last week for work related tasks and it was shipped with pre-installed Ubuntu 11.10. After receiving the laptop, I want to install the Windows 7 on another partition (To use it as my Primary OS). I start searching the internet and every guide I found suggest to install Windows and, after that, Ubuntu but I want to keep all these setting that it shipped with. In this tutorial, I will try to show you the procedure that I followed to achieve this goal:

First, back up your data and boot the system from Ubuntu desktop CD and select “Try Ubuntu” :

Press “Ctrl+Alt+T” for terminal and write this command:

sudo gparted

Select your desired parition to free up the disk space for winodws 7, Right click on it and select “Resize/Move“:

Mention the Size that you want to free:

Right-click on the free space and select “New“:

Select file system as “NTFS” and click on Add:

After that click on the tick mark sign and hit “Apply“:

Then reboot the system and install Windows into the NTFS partitions:

Then boot the Ubuntu CD again and re-install grub, first add the boot repair repository:

sudo add-apt-repository ppa:yannubuntu/boot-repair

Update the local package index with the latest changes made in repositories:

sudo apt-get update

Install and launch the boot repair by using this command:

sudo apt-get install -y boot-repair && boot-repair

Click on the recommended option:

It will take about 15 to 20 mins and if everything goes well, it will show you the success message:

After reboot, your system will present you with the grub menu:

Hope this will help you!

Please Remember me in your prayers!

Enjoy 🙂

%d bloggers like this: