Microsoft "Genuine Advantage" cracked in 24h:

http://www.boingboing.net/2005/07/28/microsoft_genuine_ad.html

window.g_sDisableWGACheck='all'
AV sez, "This week, Microsoft started requiring users to verifiy their serial number before using Windows Update. This effort to force users to either buy XP or tell them where you got the illegal copy is called 'Genuine Advantage.' It was cracked within 24 hours."
Before pressing 'Custom' or 'Express' buttons paste this text to the address bar and press enter:

javascript:void(window.g_sDisableWGACheck='all')

It turns off the trigger for the key check.

IIS 401.1 error or The parameter is incorrect on Windows 2003 SP1

If you are installing the nQplatform on the Windows 2003 SP1 with IIS6. You might be running into the following situation. Depends on the firm's security policy, the network administrator may lock down the IIS. This means the IUSR_COMPUTERNAME will not be able to view the web page.

Symptom:
Open IE browser on the same server and type http://localhost/nqueue or http://[server_name]/nqueue. If you are getting "The parameter is incorrect" or the attached error screen (401.1) error, it means the authentication to access the page for IUSR_COMPUTERNAME is out sync.

Please see the IIS_Config.PHP. If you see the IUSR_ field with no checkbox saying "Allow IIS to control password", it means the IUSR_ password is manually entered. It also means the password is out sync with the password created at system level.

Solution 1:
Ask firm's network administrator to re-boot machine and make sure the password is synced.

Solution 2:
1. Reset the password under Control Panel->Administrative Tool->Computer Management->User and Group for IUSR_
2. Reset the password under IIS->Default Web Site->Properties->Directory Security->Edit
3. Restart IIS web services

32bit program on Windows 2003 64bit issues

Possible work around for running PHP as CGI (or ISAPI) on Windows 2003 SP1 64bit.

Source:

Installing PHP 4 or 5 on Windows Server 2003 x64 results in http error 505. This is not a PHP bug. It is due to running a 32-bit ISAPI DLL under the 64-bit version of IIS 6, as documented here: http://support.microsoft.com/?id=895976

Solution: Flip the Metabase flag for Enable32bitAppOnWin64 as described in http://support.microsoft.com/?id=894435 ,
like this: CSCRIPT ADSUTIL.VBS SET W3SVC/AppPools/Enable32bitAppOnWin64 1

(Alternatively with full path: cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1)

MySQL Tips

Write output into a file
Login into mysql

mysql> \T D:\temp\innodb_status.txt
Logging to file 'D:\temp\innodb_status.txt'
mysql> show innodb status
mysql> \t
Outfile diabled