Wednesday, October 17, 2012

Microsoft Office 2007 Activation Hack

           To use this hack to crack activation on Microsoft Office 2007, you need to install Office 2007 without any serial number or product key. If you have installed Office 2007 with a product key or serial number, do the following to clean remove product key of Microsoft Office 2007 else you can skip to Step 8:

1) Close all Microsoft Office applications.
2) Run Register Editor by clicking on Start -> Run, and then type regedit   in the Open box and press Enter key.
3) Navigate to the following registry key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\Registration

4) Note that inside the registry key, there should be another sub-key that resembles the following:
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\Registration\{90120000-0030-0000-0000-0000000FF1CE
    or
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Office\12.0\Registration\{91120000-0011-0000-0000-0000000FF1CE
5) If there is more than one registry entries or sub-keys that reference Microsoft 12.0 registration, open up each sub-key, and then identify the product by the ProductName value data until you locate the sub-key for the product which you want to remove the existing product license key.

    For example:
ProductName=Microsoft Office Professional Plus 2007
ProductName=Microsoft Office Enterprise 2007
6) Once found the correct registry subkey, delete the following values:
  • DigitalProductID
  • ProductID
7) Close Registry Editor.
8) Once Microsoft Office 2007 has been installed with no product key, proceed with the following steps.

9) In Windows Explorer, browse to the following folder ( assuming C drive is your windows installation/system drive ) :

C:\Program Files\Common Files\Microsoft Shared\OFFICE12\Office Setup Controller\Proof.en\
10) Right click on Proof.XML file, select Open With in the right click menu.

11) In the Open With window, select Notepad to be used to open the XML file. In Vista/7 , if you can t see the Notepad option, simply double click the Other Programs   to unhide it.
12) Scroll down to the bottom of the Proof.XML to locate the following lines:

    </Feature> <Feature Id= SetupXmlFiles   Cost= 12483 >
    <OptionRef Id= AlwaysInstalled />
    </Feature>

13) Change the AlwaysInsalled to neverInstalled so that the line looks like following:

    <OptionRef Id= neverInstalled />

14) Save the Proof.xml file. In Windows Vista/7, you may need to take ownership and grant full access permission to yourself before able to modify the file.

15) You can now launch Microsoft Office 2007 application such as Word, Excel, Power-point, Outlook and other without prompting for activation.

As usual, as it 's a hack, and before you purchase a valid product key for it, you won 't be able to and can't access any updates or Microsoft Office Online.

Note: The hack may work for 60 days only. To make this hack fully working, try to delete additional file below, probably has to be deleted every two months:

C:\Documents and Settings\All Users\Application Data\Microsoft\OFFICE\DATA\opa12.dat

Or,

C:\ProgramData\Microsoft\OFFICE\DATA (for Windows 7 and Vista)

Disclaimer
: This article is for educational and informational purpose only.

Tuesday, September 25, 2012

Finding software add-ons using terminal in ubuntu

          You can install any program/software/package via Terminal with the following command "sudo apt-get install <program/software/package name>". It will always work. But,if you install it via Ubuntu Software Center, it also suggest for a few add-ons which are many times useful.

            Now, the question is : When we try to install a software via Terminal and this software has add-ons, how do we know that? And how do we install the add-ons via Terminal?

         One of the way is that we have to know the names of the add-ons first, and then install them one by one, once the main software has already been installed. But how do we get to know those names via Terminal? Using the Software Center is cool because it shows the add-ons, a brief description for each one and their names in brackets, right? How about doing the same via Terminal?

           These add-ons are suggested packages which are meant to enhance your experience with the program/software/package . But those are not essentials for the program/software/package to work properly.
           In terminal, you can know the add-on names (at least some of those) by using apt-cache depends <program/software/package name> command. The add-on names will be shown under "Suggests:" section. For example:

apt-cache depends k3b | grep Suggests

k3b

  Suggests: k3b-extrathemes

  Suggests: normalize-audio

  Suggests: sox

  Suggests: movixmaker-2

  Suggests: libk3b6-extracodecs

  Suggests: vcdimager
 
           Please note that, suggested packages are not essentials. Also note, apt-get will install packages which are essential to run the program/software/package (called dependency) and those packages which are recommended.

Therfore,
  • A depends packages in one, which is required to run the software.
  • A recommended package in one, which is required for the software to be functional.
  • A suggested package in one, which can enhance the usability of the software.
        Please note that , Ubuntu install first two category of the software by default from both Software Center and from terminal. So, you are not loosing anything essential. But still you can install them. Also note, Software Center does not install them automatically.

            If you want to install suggested packages from terminal, you can use this command 

sudo apt-get --install-suggests install k3b 

      This command will install all the suggested packages as well as dependency and recommended packages.

           If you want to configure apt-get permanently to automatically install suggested packages also, You can do this:
  • Create a file in /etc/apt/apt.conf.d with name 99mysettings
  • Open the file in gedit 
               gksu gedit /etc/apt/apt.conf.d/99mysettings
  • Then add the configuration option in that file
              APT::Install-Suggests "true";
  • Then save the file and exit gedit.
         From now, the suggested packages will also get installed automatically by apt-get. Please note that, apt-get will only install those packages if it finds them in any repositories, Otherwise, it simply ignores them and proceed with installation.

Technical difference between daemon, service and process

Technical difference between daemon, service and process

Daemons :-  They are the processes which run in the background and are not interactive. They have no controlling terminal. 
                 They perform certain actions at predefined times or in response to certain events. In *NIX, the names of daemons end in d.
 
Services - In Windows, daemons are called services.
                   If you're wondering why *NIX has a command named service, it is just used to run init scripts (shorthand for initialization scriptrunlevel).

Process - Process is a running program. At a particular instant of time, it can be either running, sleeping, or zombie (completed process, but waiting for it's parent process to pick up the return value).

 

Friday, May 11, 2012

Basic Unix Commands

1) Command : man
Use : This command is used for getting help about UNIX commands.
Syntax : man <command name>

2) Command : grep
Use : This command is used to search for a particular expression in the given input.
Syntax : grep [OPTION]... PATTERN [FILE]...
e.g. : grep <pattern> <file> ---> It can be used to search from lines matching pattern from file.
grep -v <pattern> <file> --> It can be used to search for lines not matching pattern from file.

3) Command : ps
Use : This command is used to see the processes running on the system.
Syntax : ps [options]
e.g. : ps -ef ---> It can used to see the all processes from all users.
ps -ef | grep <process_name> | grep -v grep ---> It can be used to check whether a particular process is running or not.
ps -fu <user_name> ---> It can be used to see all processes started by a particular user.

4) Command : uptime
Use :This command is used check the server/system run duration and number of users currently logged on.
Syntax : uptime
e.g. : user@machine :~$ uptime
17:16:31 up 7:34, 1 user, load average: 0.83, 0.87, 1.03

5) Command : whatis
Use : This command displays manual page descriptions.
Syntax : whatis <command_name>
e.g. : user@machine :~$ whatis firefox
firefox (1) - a free and open source web browser from Mozilla

6) Command : kill
Use : This command send a signal ( default SIGTERM ) to a process.
Syntax : kill <process_id>
e.g. : kill 123 543 2341 3453 ---> Send the default signal, SIGTERM, to all those processes.

7) Command : ls
Use : This command is used to list directory contents.
Syntax : ls [OPTION]... [FILE]...
e.g. : ls -l ---> It shows a log list of all files in the current directory.

8) Command : rm
Use : This command is used to remove files or directories.
Syntax : rm [OPTION]... [FILE]...
e.g. : rm <file_name> ---> It removes the <file_name> .
rm -r <directory_name> --> It removes <directory_name> and all the files/directory inside it.

9) Command : xargs
Use : This command build and execute command lines from standard input.
Syntax : <some_command> | xargs <another_command >
e.g. : ls <file_name_pattern> | xargs rm ---> It is used to delete all files as shown by  output of ls <file_name_pattern> .