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
Description:
Mapi session "/o=Marvell/ou=MAPL Exchange/cn=Recipients/cn=gjiao" exceeded the maximum of 32 objects of type "session".
For more information, click http://www.microsoft.com/contentredirect.asp.

Solution:
Edit Registry
MyComputer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSExchangeIS\ParametersSystem
Add new key "Maximum Allowed Sessions Per User"
Type: DWORD
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
@exit
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.