Thursday, January 12, 2017

How to Run Unix commands in Windows [Unix-like environment for windows]

Cygwin is a Unix-like environment for windows
It can be obtained from:

Below are notes on how to install and setup cygwin for access to group computers.

Download setup.exe   from

Run application from your local harddrive.

Chose next on first screen.

Select "Install from Internet" and click next.

Enter preferred installation (Root) directory and click next.

Enter a temporary installation directory and click next.

Select "Direct Connection" and click next.

Select a download site and click next. 
(Any site that you can connect to is fine. Some sites are more stable and/or faster than others. Try to pick one that works for you.)

Select the packages you want to install and click next.
Packages you may want to install include:
keychain (for ssh key pairs)
gnu compilers

(important for installing X-server)

Please note sometimes you may get a download incomplete and the setup application will return to step 8. Simply select another server and continue the installation process. 

Once the installation is complete, click Finish and continue with the Setup section. 

Setup Notes:

Setup Windows Environment Variables:
Open your System Control Panel:
Select [start]->Control Panel->System

Click on "Advanced System Settings", then select "Environmental Variables" under the "Advanced" tab of the "System Properties" Control Panel.

In the Environmental variables window select new under "Variables for User" window.

Edit "User Variable" as follows:
Variable name: HOME
Variable value: Path to where you want your home directory
e.g. C:\user\username\Documents

In the Environmental variables window select Path under "System Variables" window.

Edit "System variable" as follows:
Append "; C:\cygwin\bin" to Variable value: (semicolon is very important)

Select "Ok" to close both "Environmental Variables" and "System Properties" windows.

Creating link for starting X-windows:
Create a shortcut to C:\cygwin\bin\Run.exe (on your desktop is probably a good place to do this).
Right click on the shortcut and select properties.
Under Target in the Shortcut tab enter:
C:\cygwin\bin\run.exe /usr/bin/bash.exe -l -c /usr/bin/startxwin.exe
You may want to change the icon:
Select "Change Icon" and chose a preferred icon.
Select "Ok" to close the Properties dialog box.
To allow X-windows to start upon boot, place the your new shortcut in [Start]->[All Programs]->[Startup]<\ul> 
Now is a good time to restart...

Setup and configuring cygwin files.
(Only necessary if your admin account differs from your user account) Create a new user and set a default user home directory other /home/username:
Using the terminal started by X-windows:
type: mkpasswd -c -p /cygdrive/c/Users/username/Documents >> /etc/passwd
edit /etc/passwd using your favorite editor. You will need to remove the extra username after Documents in the home path. 

For easy use of the terminal create a startxterm.bat file in C:cygwin/bin. A reasonable xterm file looks like:

@echo off

REM Startup an xterm, using bash as the shell.

%RUN% xterm -geometry 120x40 -sb -rightbar -e /bin/bash -l

Save the file and you are done!

Start X-windows using the shortcut (it may already be started if you placed the file in your startup directory and rebooted).

Use the startxterm.bat file to start a terminal. (You may want to create a shortcut to this for easy use.)

Thursday, June 23, 2016

How to Fix the Issue - Wifi Frequently Drops connection in Windows 8.1

First bit: We’ll disable it in power management: Slide the mouse down to the bottom-right corner, then once your right-side navigation thing pops up go to the top ‘Search’ (ClassicShell: Press the Windows key In the text box at the bottom) type “Edit power plan” and click the result.

Change advanced settings. Open up the “Wireless Adapter Settings” then “Power Saving Mode” and make sure it doesn’t disconnect your wifi to save power by setting (at least AC, but I went with both because I live life on the edge). Switch it up to Maximum Performance which should stop it from disconnecting at random.

I say should, as it didn’t actually work very well for me. After a (longer, to be fair) while it disconnected again. As it turns out there’s another place to control a similar setting.

Second bit: Go into your network settings. Control panel again.. Mouse to the bottom-right, ‘Search’ again. This time type “Control panel” and click the result. From here we want “Network and Internet” and then “Network and Sharing Center” and from there “Change adapter settings” (It’s on the left hand menubar)

Right click your wifi adapter -> click Properties -> click Configure -> click Power Management

Uncheck the box “Allow the computer to turn off this device to save power”. That should do the job.

This worked for me. Hope it will help for u too.

Sunday, August 9, 2015

Firefox : Stop displaying sites when I open a new tab

You can change your new tab to a blank screen, or any URL of your choice.
(1) In a new tab, type or paste about:config in the address bar and press Enter. Click the button promising to be careful.
(2) In the search box above the list, type or paste newtab and pause while the list is filtered
(3) Double-click the browser.newtab.url preference and enter your preferred page:
  • Page thumbnails (default) => about:newtab
  • Blank tab => about:blank
  • Built-in Firefox home page => about:home
  • Any other page => full URL to the page

Friday, August 7, 2015

Password Protect a folder without any Software

Create Your Password Protected Folder

Before you get started you need to create a folder that will house your password protected folder, this is just an ordinary folder and can be located anywhere and named anything.
Navigate into your newly created folder and create a new Text Document. This can easily be done from the context menu.
Open the document, now paste the following code into the contents of the document:

title Folder Private 
if EXIST "HTG Locker" goto UNLOCK 
if NOT EXIST Private goto MDLOCKER 
echo Are you sure you want to lock the folder(Y/N) 
set/p "cho=>" 
if %cho%==Y goto LOCK 
if %cho%==y goto LOCK 
if %cho%==n goto END 
if %cho%==N goto END 
echo Invalid choice. 
ren Private "HTG Locker" 
attrib +h +s "HTG Locker" 
echo Folder locked 
goto End 
echo Enter password to unlock folder 
set/p "pass=>" 
attrib -h -s "HTG Locker" 
ren "HTG Locker" Private 
echo Folder Unlocked successfully 
goto End 
echo Invalid password 
goto end 
md Private 
echo Private created successfully 
goto End 
Change the PASSWORD_GOES_HERE text to the password you want to set. Now go ahead and save the file as locker.bat.
Once the file is saved as a batch file you can delete the original text file.
Now run your batch file by double clicking on it–the first time you run it, it will create a folder called Private. This is where you can store all your secret things. When you have finished adding all your stuff to the Private folder, run locker.bat again.
This time you will be asked if you sure that you want to lock the folder, press the “Y” key and hit enter to lock your folder.
You will see that your Private folder quickly disappears.
If you run the script yet again, you will prompted for a password.
If you enter the same password as you set in the script the Private folder will reappear if you enter the incorrect password the script will just Terminate.

How to See the Files Again

Most people don’t know how to show system files, but anybody who has some experience will probably be able to quickly figure it out in the Folder Options. To see the files again, all you have to do is uncheck the boxes for “Show hidden files, folders, and drives” and uncheck the box for “Hide protected operating system files”.

But any ordinary user who unchecks the box will most probably be scared off by the warning message that appears.

The second way someone could comprise the folder is to open the batch file and read your password. It’s definitely not a really secure way to hide your files, but it is fun.
Attribution note: We found this script on dozens of different web sites going back many years. We have no idea who first created the script, so we’ve omitted any sort of attribution link. If you do have proof that you first created the script, contact us and we’ll adjust the article accordingly.

If You Forget Your Password

Seems like once a week somebody writes in asking how to figure out the password they set. And the answer is really simple: Right-click on the locker.bat file and choose Edit.

Then you can see the password you set in the file.

Sunday, May 31, 2015

Windows 10 Preview Version Official Download

Download Windows 10 Insider Preview ISO

 A PC running Windows 10 Insider Preview

Follow these steps to download Insider Preview:
  • Sign up for the Windows Insider Program, if you haven't already.
  • Click one of the Download links on this page to download a special file—it's called an ISO file—that you can use to install the preview.
  • When the download is complete, transfer the ISO file to installation media such as a USB flash drive or DVD.
  • Double-tap or double-click setup.exe from the installation media, and then follow the steps.

 Product key: 6P99N-YF42M-TPGBG-9VMJP-YKHCF 

Windows 10 Insider Preview (x64) - Build 10074 - Download(3.78GB)
Windows 10 Insider Preview (x86) - Build 10074 - Download(2.77GB)


Wednesday, February 11, 2015

How to Remove WhatsApp Blue Ticks aka Read Receipts


  1. Open WhatsApp and tap three vertical dots icon on the top right.
  2. Now go to Settings > Account > Privacy.
  3. Uncheck Read receipts.

Sunday, October 19, 2014

Make Windows Genuine

Hey guys I would like to help you to make your MICROSOFT WINDOWS GENUINE .Most of us use pirated or cracked versions of Microsoft Windows. Mostly all the people around the world use these kind of version of windows (mainly in ASIA).This can be due to unavailability of the original copy or due to price issue or other various issues. But most of the people who use the pirated copies know the certain problems or errors they come to post the installation of the Windows.

One of the few error message is this

The usual Message in pirated copies. 

In this article I will show you how to make this pirated copy back to original.
I am sure you guys have heard of CMD/Command prompt. Using CMD we are going to make the windows genuine. My method consist of two steps(two simple steps).
We all know windows has a ability of auto installing its updates whenever it needs.Well the main reason how windows detects you are using a pirated copy is by this automatic update.Hence our first step is

STEP 1 (Turning Automatic Updates off):

(i)  Go to Control panel.
(ii) Click on system and security.
(iii) Click on Windows update>>Turn automatic updates on or off.

Control panel>>security and networks. 

(iv)  Then make sure you did select “Never check for updates (not recommended) “.

You can disable automatic update. 

Now some programming way.Lets get to the way in which the windows get genuine.
Follow the steps given below

Step 2: (Making Windows Genuine using CMD)
(i)Go to start button and type ‘run’ and open it.
(ii)Type ‘cmd’ in the search area.



(iii)Once Command prompt is open type this command “SLMGR -REARM”.
(iv)After that press enter key.

Type cmd command

Type CMD command SLMGR -REARM.

(v)You will get a message like this below.

Message showing changes are made successfully.

Message showing changes are made successfully.

(vi)Now you may restart your computer.

Well guys here you go with genuine MICROSOFT WINDOWS (No error messages.or any other disturbing issues)