activating windows 7 OEM way

I will start with basics of how a copy of windows gets automatically activated when installed on OEM (original equipment manufacturer) based PCs, traditionally when a copy of windows is installed you have insert your license key and activate by verifying it with Microsoft via internet or by getting a confirmation id over telephone. But with OEMs like Dell, Sony, Lenovo etc. a need was felt to get windows activated right upon installation without going through all the annoyance. With Windows XP a method called System-Locked Pre-installation (SLP) was devised. This method uses an area of BIOS to store some identification data, in SLP 1.0 the version included with XP, this was simply the name of the OEM. There are files on hard disk when windows is installed which were being matched with the value from BIOS for verification, if matched your copy gets activated. SLP 1.0 was cracked quite easily which demanded for a more complex system to be developed resulting in SLP 2.0 included with Windows Vista and SLP 2.1 shipped with Windows 7. Both methods works similarly with only a change in marker in Windows 7 based PCs. A SLP 2.1 involves checking the presence of a matching OEM-supplied key, an OEM-specific certificate and the most challenging part of the puzzle an OEM-specific ACPI_SLIC table (SLIC 2.1 table) before it can activate.

Now moving to next step, OEM-key and OEM-specific certificates were being cracked very early when a copy was leaked illegally from Lenovo, but the real hack was to bypass the SLIC table. Methods were developed commonly known as Loaders (also called the softmod) which involves loading the SLIC table in memory before the main OS loads thereby fooling the system with a fake SLIC table. These methods involves Linux based loaders and sometimes may install trozens or other malware on your PC. Other method called the hardmod also exist which modifies the BIOS and may lead to complete system damage.

We will now learn how to get your copy of windows 7 genuine without compromising the security and system itself. The first step is to check if your BIOS has a SLIC 2.1 table or not, and can be easily done using the SLIC_ToolKit can be downloaded from here. Run it and you will see the window indicating the presence of SLIC table 2.1 marked “Dump OK !   ( DELLWN09_V2.1 )”.

detecting SLIC 2.1 in BIOS

In case you don’t have version 2.1 you first need to get your BIOS updated. Now moving on to next step get the OEM certificate taking help of your friend Google. Select the one based on your OEM and move it to C:, next run the following commands after opening cmd as administrator

slmgr.vbs -ilc C:\DELL.xrm-ms

in case your OEM is DELL, next first get OEM keys also available on internet and select the one based on OS version and run the command

slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxx-xxxxx

now check your activation status by entering

slmgr.vbs -dli

hope you enjoyed the blog… !!!

keeping your programs active even after remote session is closed

A very common scenario when we execute some code on a remote machine using a ssh session is the when the connection terminates the program or script is also killed. A very simple solution is using a utility program called screen. On Ubuntu you can install screen using

$ sudo apt-get install screen

Now all you need to do is to start  a screen session on the remote machine. Just type in

screen

in terminal. This will start a new screen session.

Now like what you do in a normal terminal session just run your script say your tensorflow code

$ python seq2seq.py

Every screen session is assigned an ID which we will use later. Now say while your model is learning you want to exit the remote connection. One important thing to do just before exiting is detaching from the screen session

Simply type in ‘ctrl+a‘ followed by ‘d‘, ‘ctrl+a‘ is for entering screens command line mode and ‘d‘ is simply to detach from the current session.  Now you can safely exit.

Next time you login typein

$ screen -ls

this will list active screen sessions along with their IDs. To enter a particular session simply typein

$ screen -r ID

ex

$ screen -r 20873.tty2.amitn

which takes you to the selected screen session and voila you have your code running.

 

freedom

Let’s imagine you were going through a rough time in life (could be a loss of a loved one, a failed relationship, a missed job opportunity). It’s been quite sometime now, nothing seems to be working.. 

You’re frustrated.. depressed.. you think people are not the same anymore.. You have a different perspective for every little thing in life.. You get hurt by a common argument.. The world is you’r enemy..


Now let’s say it was all a dream.. Life is still where you left it.. (it’s not completely true but let’s assume it is for now). Even though you were dreaming but your consciousness got updated somehow (entanglement might be but let’s not make assumptions here). With this new experience now your reflexes are slow as are your words. Many things that interested you before now seems senseless.. Now you’re not part of the game instead you are an observer. You don’t judge things or people they appear to be correct in their domains. You analyze the process and notes what went and why. There is no wrong or right. There is no winner, no loser.. Everything is a chance, a chance where you choose to be part of that observed reality. Now you don’t pursue the visible. Your imagination is unbounded. You are free. 

swapping cmd/super and ctrl keys on linux

This post is for people switching from mac to linux. The most frustrating part of the transition which i face was getting accustomed to keyboard shortcuts. In mac world most things are cmd + X but with linux/windows it’s ctrl + X. So just swapping super/cmd with ctrl seems to be the easiest way to make things better. Here are steps to do the same

  1. fire up terminal and modify the file /usr/share/X11/xkb/symbols/pc using your favorite editor
    sudo xed /usr/share/X11/xkb/symbols/pc
  2. file looks something like this swapkeys
  3. notice the lines key <LCTL> and key <LWIN> modify them to looks as in image above do the same for RCTL and RWIN.
  4. logout and you’re done.

 

life in xii dimension … the beginning

Thinking of the times when dreams were reality...
 Now my life's a dream and falling is humanity...  


 I followed the curves , followed curiosity...
 Waited for light but it was gravity... 


Fade into darkness the mind still dreams...
 So breaking in pieces, makes us free...




This is my love, there's my fate...
 Reaching singularity, it is my grave...




The door is open, dimensions separate ...
 There was the god, making our ways ...




Make no mistakes, man's strange ...
 Even the traitor's hiding so safe ...

surrender to calmness ….

it has always been about you, not me …
its O.K. coz everything seems perfect around you, not me …

you were the hope, you were the cause …
now everything’s a mess coz you are gone …

they need a reason, im the one to blame …
surprised and startled, i lit the flame …

i wanted the answers, adsorbed by emotions …
i know they are rare, but for now …
i know the exceptions …

Don’t ever …
i hear the warning sounds …
hunched for a moment …
Don’t worry …
i had a habit to make them calm …

the present…

wrote this for a gujju friend on her birthday.. she is one of the craziest person I was fortunate enough to meet..

i was blinded- no,
we were blinded
i was deaf- no,
we were deaf…

then came the hope..
make no mistake she’s a dude with a shining grace..
tough & violent, her ways are strange..
and when she holds ur hand u’ll feel that courage..

but as they say…
“Details make perfection, and perfection is not a detail”
bits and bytes of meal and a day ending with webmail.. :p

building packages apk and ipa..
dil sabka bole how can u do this way..
theepla and khakrey se ban jaye iska day..
straightening karvake bole yeh hurray..!!! 😀

entrepreneur by heart..
we wish she get so far..

where the sun gets brighter..
and chintu is her star..