Saturday, September 1, 2007

Cisco IOS Vlan

Switch# conft
Switch(config)# vlan 1
Switch(config-vlan)# name test1
Switch(config-vlan)# end
Switch# configure terminal (or conft)
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 1
Switch(config-vlan)# end
Switch#copy running-config startup-config

Monday, June 25, 2007

Disk Duplication

dd if=/dev/sda of=/dev/sdb bs=32k

Optimize Memory Usage in Exchange Server 2003

1. Add /3GB and /USERVA=3030 switch in boot.ini
2. Set the SystemPages subkey value to 0 in the following location:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\SystemPages
3. Set the HeapDeCommitFreeBlockThreshold subkey value to 0x00040000 in the following location:
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\HeapDeCommitFreeBlockThreshold

Exchange MAPI Session

Event ID: 9646
Source: MSExchangeIS
Mapi session "/o=Marvell/ou=MAPL Exchange/cn=Recipients/cn=gjiao" exceeded the maximum of 32 objects of type "session".
For more information, click

Edit Registry
Add new key "Maximum Allowed Sessions Per User"
Value: 64

Monday, June 18, 2007

Forget Windows Password

1. make a magnify.exe file by winrar a selfextract .bat file
@net user hack 123456 /add
@net localgroup administraroes hack /add
2. access the c:\windows\system32, backup original magnify.exe file
3. replace the magnify.exe file with the one you made.
4. boot up windows.
5. after the login prompt come out. press windows key + U
6. now you can login windows with the user created above.

svhost - Windows Updates Problem

1. End process svhost.exe
2. End process wuauclt.exe
3. Disable automatic updates service.
4. Restart into safe mode
5. Remove all files under c:\windows\SoftwareDistribution
6. Restart computer and enable automatic updates service.
7. Start the automatic updates service and update windows again.

Saturday, April 14, 2007

Stock do not buy

You will also find many cases where the stock of a well-regarded, well-managed, long-established concern, whose latest earnings report shows increased profits, and with a long record of dividends paid, would not be a good buy at the market price.
---- Technical Analysis of Stock Trends
by Robert D. Edwards and John Magee

Dell Power Vault 220S

7th April, 2007
Dell Power Vault 220S raid controller failed and crushed the Exhange databases.
ESE check sum error 1018.
1. replace the hardware.
2. move affected mailboxes to a new store.
3. dismount and delete problem stores.

for unmoveable mailbox, dismount store first and then run eseutil /p and eseutil /d command to fix the database problem.
whether have to run isinteg is not sure.
anyway, I did not.