Schema Version for Windows AD and Exchange

http://support.microsoft.com/kb/556086
http://technet.microsoft.com/en-us/library/dd464018%28WS.10%29.aspx
http://social.technet.microsoft.com/wiki/contents/articles/exchange-schema-versions-common-questions-amp-answers.aspx

For Windows AD:
13 -> Windows 2000 Server
30 -> Windows Server 2003 RTM, Windows 2003 With Service Pack 1, Windows 2003 With Service Pack 2
31 -> Windows Server 2003 R2
44 -> Windows Server 2008 RTM
47 -> Windows Server 2008 R2

For Exchange:
4397 -> Exchange Server 2000 RTM
4406 -> Exchange Server 2000 With Service Pack 3
6870 -> Exchange Server 2003 RTM
6936 -> Exchange Server 2003 With Service Pack 3
10628 -> Exchange Server 2007
11116 -> Exchange 2007 With Service Pack 1
14622 -> Exchange 2007 With Service Pack 2
14625 -> Exchange 2007 With Service Pack 3
14622 -> Exchange 2010 RTM
14726 -> Exchange 2010 With Service Pack 1
14732 -> Exchange 2010 With Service Pack 2

Posted in Uncategorized | Leave a comment

How to boot recovery img without flash

1. Turn the phone to fastboot mode
2. At CMD, type: fastboot.exe boot recovery.img

Posted in Uncategorized | Tagged | Leave a comment

HTC Legend 2.2 Update file

http://fotadl.htc.com/OTA_Legend_Froyo_S_HTC_WWE_3.15.405.3-2.05.405.2_release_160357lpbd4myxuoe8m8jr.zip

Posted in Uncategorized | Tagged | Leave a comment

How to Send Email from a PHP Script Using SMTP Authentication

Install pear:mail, pear:net_smtp

code:
require_once “Mail.php”;

$from = “Sandra Sender “;
$to = “Ramona Recipient “;
$subject = “Hi!”;
$body = “Hi,\n\nHow are you?”;

$host = “mail.example.com”;
$username = “smtp_username”;
$password = “smtp_password”;

$headers = array (‘From’ => $from,
‘To’ => $to,
‘Subject’ => $subject);
$smtp = Mail::factory(‘smtp’,
array (‘host’ => $host,
‘auth’ => true,
‘username’ => $username,
‘password’ => $password));

$mail = $smtp->send($to, $headers, $body);

if (PEAR::isError($mail)) {
echo(”

” . $mail->getMessage() . ”

“);
} else {
echo(”

Message successfully sent!

“);
}
?>

Ref: http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm

Posted in php | Tagged | Leave a comment

HTC Desire 2.2 Update File Name

http://fotadl.htc.com/OTA_Bravo_Froyo_HKCSL_CHT_2.11.832.2_R-1.19.832.2_release07wgptkr3k0wsoe1.zip

Posted in Uncategorized | Tagged | Leave a comment

Export Exchange mailbox to pst file

Cmd-let: Export-Mailbox -Identity username -PSTFolderPath c:\temp

Note: Use in client side, must installed with Exchange 2007 Management tools, Powershell and Outlook 2003 or above.

Posted in Uncategorized | Tagged | Leave a comment

“Application Data” Path for Windows XP/7

APPDATA:

WinXP: C:\Documents and Settings\%username%\Application Data

Win7: C:\Users\%username%\AppData\Roaming

LOCALAPPDATA:

WinXP(N/A): C:\Documents and Settings\%username%\Local Settings\Application Data

Win7: C:\Users\%username%\AppData\Local

Posted in Uncategorized | Leave a comment

Suspending and Resuming Debian-Based Linux Guests Breaks the Network Connection

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1923

Posted in Debian, VMWare | Tagged , , | Leave a comment

Disable Windows Server Shutdown Event Tracker

Open the Group Policy Object Editor Console. Go to Start > Run…, type gpedit.msc and press OK.

Navigate to Computer Configuration > Administrative Templates > System and in the right hand pane, select the “Display Shutdown Event Tracker” setting.

Double Click this setting to open the Properties page. You are now given the option to leave it in a default state of Not Configured, set it to Always Enabled, Enabled for Servers/Workstations (Windows XP Pro) or Disabled completely (as the image below demonstrates).

http://www.windowsnetworking.com/articles_tutorials/Disable-Shutdown-Event-Tracker-Windows-2003.html

Posted in Windows | Leave a comment

Windows Setup Path for CD

regedit
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SourcePath
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath

Posted in Windows | Tagged , , | Leave a comment