Thursday, March 26, 2009

How to Create Checksums for ALL Files and Sub-folders etc?

find -type f -exec md5sum "{}" \; > checksum.txt

Where checksum.txt is your file.
You can do some sedding/perling/awking/even bashing to get it into FreeMD5Checker format.

I found this solution from here:

http://ubuntuforums.org/showthread.php?t=557112



---

How to extract Icons from Windows executeables in Linux

From this page : http://jamesmcdonald.id.au/gnu-linux/how-to-extract-icons-from-windows-executeables-in-linux, I found a way to extract icon from the windows executable.

Install the icoutils package and using wrestool command.
wrestool -l eXeSMS.exe

You will see heaps of output but look for the line that identifies the icon
e.g.

--type=14 --name='MAINICON' --language=3081 [type=group_icon offset=0x15d6d8 size=20]

Once you have identified your icon you need extract it to a file

wrestool -x -n MAINICON eXeSMS.exe > myicon.ico




---

Wednesday, March 18, 2009

Exchange 2003 and Backup Exec 11d

Two Links you can't if you having problem restoring exchange database using Recovery Storage Groups and Backup Exec 11d.

http://briandesmond.com/blog/backup-exec-exchange-2003-bug-workaround/

http://support.microsoft.com/kb/824126

Inside these two links, these are the two registry key that you should look into:

If you do not want to restore data to the Recovery Storage Group and you do not want to delete the Recovery Storage Group, create the Recovery SG Override value in the following registry key, and then set the value to 1:
HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \MSExchangeIS \ParametersSystem

To create and configure the Recovery SG Override registry value:

1. Click Start, and then click Run.
2. In the Open box, type regedit, and then click OK.
3. Locate and then click the following registry key:
HKEY_LOCAL_MACHINE \System \CurrentControlSet \Services \MSExchangeIS \ParametersSystem
4. On the Edit menu, point to New, and then click DWORD Value.
5. Type Recovery SG Override, and then press ENTER.
6. On the Edit menu, click Modify
7. In the Value data box, type 1, and then click OK.
8. Quit Registry Editor.

Important Make sure that you delete the Recovery SG Override registry value when you no longer require it.

[HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Backup Exec For Windows\Backup Exec\Engine\ESE]

"Ignore Mount State"=dword:00000001



---