Power Up Your Devices (WM5 Register)

——网上录得,放在这里当备份。摘自http://www15.discuss.com.hk/viewthread.php?tid=1742896&extra=page%3D1

Increase font cache

To increase the font cache, speeding up font rendering at the cost of a bit of memory:

HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 16384 (DWORD decimal)

To change it back to the default:

HKLM\SYSTEM\GDI\GLYPHCACHE\limit = 8192 (DWORD decimal)

You can set the value to pretty much anything you like

_______________________

Enable FileSystem cache

To enable the FileSystem cache, speeding up overall performance at the risk of the cache not being written on a sudden reset:

HKLM\System\StorageManager\FATFS\EnableCache = 1 (DWORD decimal)

To disable again:

HKLM\System\StorageManager\FATFS\EnableCache = 0 (DWORD decimal)

Note that by default, the cache size is zero, and you will see no effect. See “Increase FileSystem cache” to incease the cache size

_______________________

Increase FileSystem cache

To increase the file system cache:

HKLM\System\StorageManager\FATFS\CacheSize = 4096 (DWORD decimal)

To return the file system cache to zero:

HKLM\System\StorageManager\FATFS\CacheSize = 0 (DWORD decimal)

You can set the value to pretty much anything you like
_______________________

Increase FileSystem filter cache

To enable the file system filter cache, speeding up overall performance with file mangement:

HKLM\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize = 4096 (DWORD decimal)

To return the file system filter cache to zero:

HKLM\System\StorageManager\Filters\fsreplxfilt\ReplStoreCacheSize = 0 (DWORD decimal)

You can set the value to pretty much anything you like

_______________________

Change the length of scrollbar arrow buttons

To go with changing the thickness of the scrollbars, you may wish to change the length of the scrollbar arrow buttons…
For the horizontal (bottom) scrollbar arrows:

HKLM\System\GWE\cyVScr = 9 (DWORD decimal)

For the vertical (right) scrollbar:

HKLM\System\GWE\cxHScr = 9 (DWORD decimal)

The default length is 13. You can set the value to pretty much anything you lik
_______________________

Enable ClearType in Landscape mode

To enable ClearType in Landscape mode:

HKLM\System\GDI\ClearTypeSettings\OffOnRotation = 0 (DWORD decimal)

To disable:

HKLM\System\GDI\ClearTypeSettings\OffOnRotation = 1 (DWORD decimal)

Note that your PocketPC screen’s LCD red/green/blue ordering required for proper ClearType display is only correct for Portrait display. You may or may not prefer to leave ClearType in Landscape mode disabled

_______________________

Disable the security warning when installing non-certified application

To disable the security warning when installing a non-certfied application, set:

HKLM\Security\Policies\Policies\0000101a = 1 (DWORD decimal)

To restore the warnings:

HKLM\Security\Policies\Policies\0000101a = 0 (DWORD decimal)

Note that this makes it easier for any malware to install itself

_______________________

Make reminders show only once

By default, reminders will keep bugging you for 2 minutes. You can change this to zero minutes by adjusting this value:

HKCU\ControlPanel\Notifications\Reminders\AutoSnooze\AutoSnoozeMins = 0 (DWORD decimanl)

Note that you can set this to any value you like. Alternative to setting this value to zero is to delete the ‘?AutoSnooze’ key altogether

_______________________

En/Disable receiving of files over BlueTooth/IrDA

If you want to prevent receiving files over BlueTooth or IrDA, you can set the following value:

HKLM\Software\Microsoft\Obex\IsEnabled = 0 (DWORD decimal)

And to (re-)enable:

HKLM\Software\Microsoft\Obex\IsEnabled = 1 (DWORD decimal)
_______________________

GPRS always on

If you want your GPRS (or EDGE) connection to always be on, set the following:

HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\|gprs connection name|\AlwaysOn = 1 (DWORD decimal)

And to turn it off:

HKLM\Comm\ConnMgr\Providers\{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\Connections\|gprs connection name|\AlwaysOn = 0 (DWORD decimal)

Note that |gprs connection name| will depend on the name you’ve given your GPRS connection

_______________________

Hide/Show Screen orientation icon

If you wish to hide the Screen orientation icon, shown in the task bar on some devices, you can set:

HKLM\System\GDI\Rotation\HideOrientationUI = 1 (DWORD decimal)

And to show it again:

HKLM\System\GDI\Rotation\HideOrientationUI = 0 (DWORD decimal)

If this doesn’t work, you can try:

HKLM\Services\screenrotate = 0 (DWORD decimal)

And to show it again:

HKLM\Services\screenrotate = 1 (DWORD decimal)

Note that this icon and its feature may not be available on your device at all.

_______________________

Hide/Show battery indicator in Task bar

If you wish to hide the battery indicator in the task bar on some devices, you can set:

HKLM\Services\Power\ShowIcon = 0 (DWORD decimal)

And to show:

HKLM\Services\Power\ShowIcon = 1 (DWORD decimal)

Note that this icon and its feature may not be available on your device at all. For example, the HTC Wizard regularly ships with a battery indicator in the Tray instead, governed by “Windows\Startup\Init_Tray.exe”._
_Note also that this reportedly does not work on AKU2 ROMs to remove the new battery indicator

_______________________

Put custom text on bottom-right of Today screen

You can set some piece of text on the bottom-right of the Today Screen by setting the following key:

HKLM\Software\Microsoft\Shell\DeviceBeta\Today = “Hello World” (REG_SZ string, no quotes)

Please note that this text won’t take up Today item text. It will be obscured by Today items.

_______________________

Navigate PIE up/down with the four-way pad

By default, PIE uses the four-way pad’s up/down buttons to jump between hyperlinks and form fields. You can set it up to page up/down instead by setting:

\HKLM\Software\Microsoft\Internet Explorer\Navigation\4-Way Nav = 0 (DWORD decimal)

And to re-enable hyperlink/form field navigation:

\HKLM\Software\Microsoft\Internet Explorer\Navigation\4-Way Nav = 1 (DWORD decimal)

Note that you may still jump between links using Tab and Shift-Tab if your Device has a built-in hardware keyboard.

_______________________

Navigate PIE up/down with any key

You can change the keys used by IE for page up/page down browsing by creating keys linked to these controls:
Page Up:

HKLM\Software\Microsoft\Internet Explorer\KeyMaps\|key code| = 1 (DWORD decimal)

Page Down
HKLM\Software\Microsoft\Internet Explorer\KeyMaps\|key code| = 2 (DWORD decimal)

Where |key code| is the code of the key pressed. For example, if your Device has a phone pad on the front, you may prefer to use the ‘2’ key (keycode 50) for page up, and the ‘8’ key (keycode 56) for page down, leaving the four-way pad to browse links:

HKLM\Software\Microsoft\Internet Explorer\KeyMaps\50 = 1 (DWORD decimal)
HKLM\Software\Microsoft\Internet Explorer\KeyMaps\56 = 2 (DWORD decimal)

_______________________

Disable charging over USB

If your device can charge over USB, you can probably disable this feature by setting:

HKLM\Drivers\BuiltIn\usbfndrv\EnableUsbCharging = 0 (DWORD decimal)

And to re-enable:

HKLM\Drivers\BuiltIn\usbfndrv\EnableUsbCharging = 1 (DWORD decimal)

_______________________

Show Calendar event text in Week View

If you wish to see a Calendar event’s text in the Week View, set the following:

HKCU\Software\Microsoft\Calendar\ShowTextInWeekView = 1 (DWORD decimal)

To disable it again:

HKCU\Software\Microsoft\Calendar\ShowTextInWeekView = 0 (DWORD decimal)

Please note that your event must have long enough a duration to show the event text, and the week view (with its narrow columns) truncates long words easily
Also note that the key “Calendar” may not exist – just create it if it doesn’t

_______________________

Change Calendar ‘working days’

If you wish to change the ‘working days’ in the calendar, adjust the following:
For a Mon-Fri workweek (default):

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2210003E (DWORD hexadecimal)

For a Mon-Sat workweek:

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2210007E (DWORD hexadecimal)

For a Tue-Thu workweek:

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 22100016 (DWORD hexadecimal)
Here’s how this works. When editing the value, switch to “Binary” mode. For the default Mon-Fri, you should see:

100010000100000000000000111110

The last 7 numbers are what we’re interested in. They stand for the days of the week, in reverse order: Saturday, Friday, Thursday, Wednesday, Tuesday, Monday, Sunday. When the number is “1”, it is a working day. If it is “0”, it’s not a working day. So to look at the above examples again:

Days : SFTWTMS
Mon-Fri: 0111110
Mon-Sat: 1111110
Tue-Thu: 0011100

Using the above, you should be able to set the working days to whatever you’d like.
Note that this value also adjusts the working HOURS. The examples here all use the default 8am-5pm workday. See the “Change Calendar ‘working hours'” tweak to modify this.
Note that the ActiveTimes key and value may not exist. Simply create them first.

_______________________

Change Calendar ‘working hours’

If you wish to change the ‘working hours’ in the calendar, adjust the following:
For 8am-5pm (default):

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2210003E (DWORD hexadecimal)

For 9am-5pm:

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2212003E (DWORD hexadecimal)

For 2pm-10pm:

HKLM\Software\Microsoft\Calendar\ActiveTimes\ActiveTimes = 2C1C003E (DWORD hexadecimal)
Here’s how this works.
The first 2 characters define the ending hour as a count of half hours since midnight, in hexadecimal. So for midnight, it would be 0 half hours in hexadecimal = 0. 5pm is 17 hours, or 34 half hours. 34 in hexadecimal is 22. 10pm is 22 hours, or 44 half hours. 44 in hexadecimal is 2C. You can use a calculator capable of hexadecimal conversions to get the hexadecimal number.
Similarly, the next 2 characters define the starting hour as a count of half hours since midnight, in hexadecimal. So for 8am.. 16 half hours, 16 in hexadecimal is 10. 9am = 18 half hours = 12. 14h = 28hh = 1C.
Using the above, you should be able to se the working hours to whatever you’d line.
Note that this value also adjusts the working DAYS. The examples here all use the default Mon-Fri workweek. See the “Change Calendar ‘working days'” tweak to modify this.
Note that the ActiveTimes key and value may not exist. Simply create them first.
Note that you cannot set the End time earlier than the Start time, for obvious reasons
Note that you cannot set a Midnight end time. The best you can do is 11.30pm (2F)

_______________________

Show ‘busy status’ in Calendar Agenda View

To show the “Free”/”Tentative”/”Out of office” states in the Agenda View, set:

HKLM\Software\Microsoft\Calendar\ShowBusyInDescription = 1 (DWORD decimal)

To hide it again:

HKLM\Software\Microsoft\Calendar\ShowBusyInDescription = 0 (DWORD decimal)

Note that this only appears to affect the ‘Agenda’ view. No other views, and not the Today Screen item
_______________________

Make WM5 keep CAB files around after installing (1)

If you wish to keep the original .CAB file around after installing the application, set:

HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 0 (DWORD decimal)

Or to restore to the default:

HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 2 (DWORD decimal)
_______________________

Make WM5 keep CAB files around after installing (2)

An alternative method of making WM5 keep the original .CAB file around after installing the application is by adding the “/nodelete” option to the Windows CE loader:

HKCR\cabfile\Shell\open\command = ‘wceload.exe “%1” /nodelete’ (REG_SZ string, no quotes)
_______________________

Show Tomorrow’s Appointments on Calendar Today item

If you wish to see tomorrow’s Appointments on the Calendar Today item, set:
If you wish to see today’s All Day event as well:

HKLM\Software\Microsoft\Today\Items\Calendar\Flags = 5 (DWORD decimal)

If you do not wish to see today’s All Day event:

HKLM\Software\Microsoft\Today\Items\Calendar\Flags = 4 (DWORD decimal)
Other values (attainable through the “Options…” dialog for the Calendar Today item just as well):

0 = Show Upcoming Appointments
1 = Show Upcoming Appointments and today’s “All Day” event
2 = Show Next Appointment
3 = Show Next Appointment and today’s “All Day” event

It works out to the following binary structure:

Default Behavior: Show Upcoming Appointments
000
||’- Show “All Day” events (doesn’t show tomorrow’s “All Day” events)
|’- Show Next Appointment
‘- Show Tomorrow’s Appointments
_______________________

Enable Realtime Memory Defragmenting (or something.)

There isn’t any concise description of this tweak, but it appears to free up some memory if nothing else.

HKCU\Software\Microsoft\Shell\NeverDorkMemory

Note that you should only create the key; this is not a value!
_______________________

更換系統字體
例如你想換細明體….
先將mingliu.ttc 從pc上COPY出黎 通常在C:\WINDOWS\Fonts
之後將mingliu.ttc copy到PPC上 \Windows\

最後就係改Registry 將

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink] 以下o既所有字串改成mingliu.ttc,MingLiu

例如:

“Tahoma”=”\\Windows\\sunglobe.ttf,UniSun”

全部改成

“Tahoma”=”\\Windows\\mingliu.ttc,MingLiu”

咁樣就全系統都是用細明體la
_______________________

ActiveSync(PPC)改為手動

1.打開PPC端的ActiveSync
Start(開始)-Programs(程式)-ActiveSync

2.在ActiveSync裏Menu(功能表)-Add Server Source(增加伺服器源)-Server
address(伺服器地址)任意填寫)-點擊Next(下一步)
User name:任意填寫
Password:任意填寫
Domain:任意填寫
點擊Next(下一步)-Choose the data you want to synchronize(選擇你願意同步的數據)-全部選空然後點擊Finish(完成)

3.點擊Menu(功能表)-Schedule(時間表)
Peak times(峰值時間):選擇為 Manually(手動)
Off-peak times(非峰值時間):選擇為 Manually(手動) 然後點擊螢幕右上角ok返回ActiveSync主程式頁面

4.點擊Menu(功能表)-Options(選項) 然後將剛才創建的Exchange Server(交換伺服器)刪除即可

現在ActiveSync再也不會自動啟動了
_______________________

修改 Internet Explorer 的快取空間大小
為免太多快取檔會佔用儲存空間,導致記憶體不足。在 HKEY_CURRENT_USER \Software\Windows\CurrentVerion\Internet Settings\5.0\Cache\Content
CacheLimit 的值,本來約 14992 也就是原本快取檔案的上限是 14MB 把它改成 8MB (8192)

_______________________

讓Media Playe/Tcpmpr顯示專輯封面

找一個jpg檔改檔名成Folder.jpg 放在mp3專輯的資料夾

240 x160像素為最佳解像度

_______________________

用Media Player聽歌時關閉螢幕

1. 按 start menu 打開 windows Media Player

2. 在 windows Media Player 按”工具”

3. 在工具 menu 按”設定”

4. 選擇”按鈕”

5. 出現按鈕設定介面

6. 選擇”螢幕切換”

7. 在 PPC 上找一個按鈕按下後按 “OK” 回到 Windows Media Player 介面

8. 按下剛才選擇的按鈕, 螢幕關上了的話, 便大功告成

Media Player轉歌不會自動開mon
\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Player\Parameters\
下加一個KEY(DWORD)名稱Background數值為2就可以

Java on AIX

给自己留个备用:

Downloading AIX Java and fixes

* Java Download site – All AIX Java releases
http://www-106.ibm.com/developerworks/java/jdk/aix/service.html
* Java Download site – Linux including pSeries
http://www-106.ibm.com/developerworks/java/jdk/aix/linux140/
* Java Fix and Release FAQ
http://www-106.ibm.com/developerworks/java/jdk/aix/faqs.html
* Java Fixes from AIX Fix Central
http://www-912.ibm.com/eserver/support/fixes/fcgui.jsp — Chose pSeries
–> AIX OS, Java, compilers
–> Specific fixes
–> AIX level –> Continue

Enter Search string of Java14.* or equivalent and click Go

Select fix and download

Articles on Running Java on AIX

* Java on AIX: download, installation and configuration
http://www-128.ibm.com/developerworks/eserver/library/es-JavaOnAix_install.html
* Getting more memory for Java in 32-bit JVM
http://www-106.ibm.com/developerworks/eserver/articles/aix4java1.html
* Part 2: JVM Memory models – 32-bit and 64-bit details
http://www-106.ibm.com/developerworks/eserver/articles/JavaPart2.html
* When memory segments collide
http://www-106.ibm.com/developerworks/eserver/library/es-segcollide.html

Java Performance Tips

* Maximizing Java Performance on AIX: Part 1 – The basics
http://www-106.ibm.com/developerworks/eserver/library/es-Javaperf1.html
* Maximizing Java Performance on AIX: Part 2 – The need for speed
http://www-106.ibm.com/developerworks/eserver/library/es-Javaperf2.html
* Maximizing Java Performance on AIX: Part 3 – More is better
http://www-106.ibm.com/developerworks/eserver/library/es-Javaperf3.html
* Maximizing Java Performance on AIX: Part 4 – What goes in
http://www-106.ibm.com/developerworks/eserver/library/es-Javaperf4.html
* Maximizing Java Performance on AIX: Part 5 – References and Conclusions
http://www-106.ibm.com/developerworks/eserver/library/es-Javaperf5.html
* Implementing and troubleshooting Java on AIX: Quick Reference
http://www-128.ibm.com/developerworks/eserver/library/es-javaonaix.html?ca=dnp-422

Garbage Collection

* Understanding the IBM Java Garbage Collector, Part 1: Object Allocation
http://www-106.ibm.com/developerworks/java/library/i-garbage1.html
* Understanding the IBM Java Garbage Collector, Part 2: Garbage Collection
http://www-106.ibm.com/developerworks/java/library/i-garbage2.html
* Understanding the IBM Java Garbage Collector, Part 3: verbosegc and command-line parameters.
http://www-106.ibm.com/developerworks/java/library/i-garbage3.html
* Fine-tuning Java garbage collection performance on IBM JVMs
http://www-106.ibm.com/developerworks/library/i-gctroub/?ca=dnt-44
* Guidelines for using the Java 2 reference classes
http://www-106.ibm.com/developerworks/java/library/j-refs/?loc=dwmain?

Problem Determination

* Problem Determnation Guides
http://www-106.ibm.com/developerworks/java/jdk/diagnosis/
+ Java 1.3.1 Diagnostics Guide
+ Java 1.4.1 Diagnostics Guide
+ Java 1.4.2 Diagnostics Guide
+ Java 1.5 Diagnostics Guide
+ HeapsRoots heap dump analysis tool
+ IBM Java Garbage Collection and Storage Allocation
+ http://www.alphaworks.ibm.com/tech/jca – Thread and Monitor Analyzer
+ http://www.alphaworks.ibm.com/tech/pmat – verbosegc trace analyzer

* L3Java Team: Collecting Data for Memory Issues
http://www-106.ibm.com/developerworks/eserver/library/es-javaonaix_memory.html
* L3Java Team: Data collection for debugging hangs, high CPU and other performance issues
http://www-106.ibm.com/developerworks/eserver/library/es-javaonaix_trace.html
* Data Collection for AIX core dumps from Java applications
http://www-106.ibm.com/developerworks/eserver/library/es-javaonaix_core.html

最近迷上的新游戏——sudoku

——最适合有数理逻辑的IT民工消遣的时候玩。可以上Google个性化主页上面添加,或者有for
PDA的游戏。

“数独”(sudoku)一词来自日语,意思是“单独的数字”或“只出现一次的数字”。概括来说,它就是一种填数字游戏。但这一概念最初并非来自日本,而是源自拉丁方块,它是十八世纪的瑞士数学家欧拉发明的。出生于1707年的欧拉被誉为有史以来最伟大的数学家之一。

欧拉从小就是一个数学天才,大学时他在神学院里攻读古希伯来文,但却连续13次获得巴黎科学院的科学竞赛的大奖。

1783年,欧拉发明了一个“拉丁方块”,他将其称为“一种新式魔方”,这就是数独游戏的雏形。不过,当时欧拉的发明并没有受到人们的重视。直到20世纪70年代,美国杂志才以“数字拼图”的名称将它重新推出。

1984 年日本益智杂志Nikoli的员工金元信彦偶然看到了美国杂志上的这一游戏,认为可以用来吸引日本读者,于是将其加以改良,并增加了难度,还为它取了新名字称做“数独”,结果推出后一炮而红,让出版商狂赚了一把。至今为止,该出版社已经推出了21本关于数独的书籍,有一些上市后很快就出现了脱销。

此外,出版商还授权软件商开发了上百个数独游戏软件。供人们在网上购买。目前,日本共有5家数独月刊,总发行量为66万份。由于数独在日本已经被注册商标,其他竞争者只好使用其最初在美国的名字“数字拼图”。

数独游戏和传统的填字游戏类似,但因为只使用1到9的数字,能够跨越文字与文化疆域,所以被誉为是全球化时代的魔术方块。

数独游戏进入英国后,很多人立刻迷上了它。由于该游戏简单易学,而且初级游戏并不难,所以很多人在工作休息时间以及乘车上班途中都是埋头在报纸上狂玩数独。更有人宣称多玩数独游戏可以延缓大脑衰老。

目前,英国涌现出了大量的关于数独游戏的书籍,专门推广此类游戏的网站也纷纷出现,人们可以从网上下载数独软件到电脑,也可以把软件下载到手机上玩。

规则简单易掌握

数独的游戏规则很简单,9×9个格子里,已有若干数字,其它宫位留白,玩家需要自己按照逻辑推敲出剩下的空格里是什么数字,使得每一行与每一列都有1到9的数字,每个小九宫格里也有1到9的数字,并且一个数字在每个行列及每个小九宫格里都只能出现一次。

做这种游戏不需要填字谜那样的语言技巧和文化知识,甚至也不需要复杂的数学能力。因为它根本不需要加减乘除运算。当然,你也千万别小看它,并不是那么容易被 “制服”的。当你握笔沉思的时候,这9个数字很可能让你头痛不已,脉搏加快,恼火不已。不过,当你成功填完所有数字的时候,你肯定会感到欣喜若狂。有数独迷宣称,做此类游戏,一名大学教授很可能不敌一名工厂工人。

微软已发布XP SP2休眠补丁

——公司用的NB就是备受这个问题困扰,一定是阴谋,靠!

微软今天最终为那些Windows XP SP2桌面电脑和笔记本电脑无法正常休眠的用户发布补丁。

微软之前曾经有拿出类似补丁,但是消费者只有在拨打微软技术支持电话,并且详细解释遇到的问题的情况下,微软才会提供补丁。一些用户不得不通过Google搜索,绕过微软技术支持,直接获得下载地址。

针对那些不熟悉该问题的用户,XP SP2休眠bug影响到系统内存大于1GB的电脑正常进行休眠。用户在尝试休眠的情况下,系统会提示“Insufficient System Resources Exist to Complete the API”(即系统资源不足完成该项API)。

现在任何人都可以从微软网站直接下载该补丁