2013-08-14

Find your Windows 8 / Windows 8.1 Digital Product Key stored in UEFI BIOS

找出存在 UEFI BIOS 中的 Windows 8 / Windows 8.1 序號


You buy a Windows 8 / Windows 8.1 preloaded notebook/PC/AIO, you can't find Certificate of Authenticity (COA) sticker anymore (some small OEM still use COA on their Windows 8 shipping products). COA is used in Windows 7 and previous edition of Windows.

The Digital Product Key (DPK) to is used to activate Windows and it is unique. It is stored in the MSDM table and the MSDM table in stored in BIOS ACPI table.

There is a tool named RW utility can help you to find the DPK out. So far, the latest version is 1.6.4


2013-08-13

Check WinPE or OS system type (32bit or 64bit)

確認 WinPE 或 Windows 是 32bit 或 64bit


The way to check WinPE or Windows OS is 32bit or 64bit.


echo %processor_architecture%




2013-08-12

Find your Windows Wi-Fi password stored in wlan profile

找出自己 (或別人) 儲存在 Windows 裡的 Wi-Fi 密碼


If you have stored your Wi-Fi password in Windows, then others can find it out when they borrow you PC/Notebook.



Command to show your stored wireless profile:

netsh wlan show profiles


Get the password stored in profile named "CaffeineNoteII", for example,

netsh wlan show profiles CaffeineNoteII key=clear


There are two ways to delete the Wi-Fi profiles stored in Windows:

Method 1, use the command to delete it,

netsh wlan delete profile name="CaffeineNoteII"



Method 2, right click your Wi-Fi profile and select "forget this network":




How to check if your Windows is activated? (如何確認你的 Windows 已啟動?)

If you want to use script/batch to check your Windows 7 / Windows 8 activation, you can execute the command below (command prompt with Administrator privilege),

cscript c:\Windows\System32\slmgr.vbs /dli | find /i "license status"

(/i means ignore case-sensitive)

If you don't want to use script/batch. It is easy to check if your Windows 7 / Windows 8 is activated. Just press [Win Key] + [Pause/Break], then you will see the information below,




2008-03-02

WM5/WM6 internet sharing on USB with EeePC

I wrote a document about howto use WM5/WM6 internet sharing on USB with EeePC
(in Traditional Chinese)

PDF format.

2007-11-13

Virtualbox Host Interface Networking and bridging on Linux


[root@ns ~]# yum install bridge-utils.i386
[root@ns ~]# vi /etc/sysconfig/network-scripts/ifcfg-br0

DEVICE=br0
TYPE=Bridge
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.36
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes

[root@ns ~]# echo "BRIDGE=br0" >> /etc/sysconfig/network-scripts/ifcfg-eth0
[root@ns ~]# /etc/init.d/network restart
[root@ns ~]# VBoxAddIF vbox0 tony br0

2007-11-05

Start ssh server in EeePC

After installing ssh server, I create a file /etc/opt/xandros/xandrosncs/hooks/post-up.d/99ssh,
below is the content:

#!/bin/sh
/etc/init.d/ssh restart

So it will start the ssh server after booting up.
Dotn't forget sudo chmod +x /etc/opt/xandros/xandrosncs/hooks/post-up.d/99ssh.