解決 CPU 100% 之 update.exe 和 svchost.exe @ Windows XP


解決 CPU 100% 之 update.exe 和 svchost.exe @ Windows XP

今天碰到一位有 CPU 一直很吃重的問題,常見的就是 svchost.exe 吃資源,仔細一看偶爾會看到 update.exe 出現。初步先假定不是中毒問題的話,那可能的原因就是更新過程的問題,憑著粗淺的印象是要把更新檔的暫存檔移掉,讓他重新下載更新檔就行了。隨手記一下操作過程,因為我也忘了,跑去 google 才回憶起來。


停掉 Windows AutoUpdate

cmd mode 模式:net stop WuAuServ


切換到系統安裝目錄,如 C:\Windows,找尋 SoftwareDistribution 目錄

這邊將他更名為 SoftwareDistributionOld,可代表暫時移除的動作。

當 Windows AutoUpdate 運行時會自動重建此目錄

啟動 Windows AutoUpdate

cmd mode 模式:net start WuAuServ

後記:如果用了上述的方法 Windows XP 仍然有 CPU 100% 的問題,就直接把 「auto update」服務給設為停用。問題一定可以解決只是不會自動更新罷了。話說微軟將在2014年4月,對XP停止支援服務了。

Windows XP 修復安裝一直陷入重新開機的輪迴中


To resolve this issue, use the following methods in the order that they are presented until the issue is resolved.

Method 1: Let the Setup program repair the hard disk

Repeat the cycle of running Setup, restarting your computer when prompted, and then allowing Setup to repair the disk. Setup may successfully complete after several repetitions. If the cycle continues after several repetitions, go to method 2.

Method 2: Run “chkdsk /r" from the Recovery Console

To run chkdsk /r from the recovery console, follow these steps:

  1. Restart the computer.
  2. When the “Welcome to Setup" screen appears, press R to start the Recovery Console.
  3. If you have a dual-boot or multiple-boot computer, choose the installation that you need to access from the Recovery Console.
  4. When you are prompted to do so, type the administrator password. If the administrator password is blank, press ENTER.
  5. At the command prompt, type chkdsk /r, and then press ENTER.
  6. When Chkdsk has finished running, read the results, and then take any necessary steps to complete the process. For example, you may be prompted to run chkdsk /f to fix certain problems.
  7. Restart the computer, and then try to run Setup again.

Method 3: Replace your hard disk drive

If your hard disk drive is damaged and cannot be repaired, you may have to replace it. Contact your computer manufacturer, the retailer where you bought it, or a qualified repair technician for information about replacing your hard disk.

virt-manager 重新加入系統碟(virtio) 效能低落 客端 XP

virt-manager 重新加入系統碟(virtio) 效能低落 客端 XP

virtio 硬碟移除再重新加入可能會造成 cpu 滿檔的狀況。可以進到系統後,使用裝置管理員將被隱藏不存在的virtio 裝置及控製器移除。



Convert and Upgrade Windows XP Home to Professional Without Reinstalling


After installing Windows XP Home Edition or Windows XP Professional Edition onto a computer, officially it’s impossible for user to convert, or upgrade from Windows XP Home to Pro edition, or downgrade from Windows XP Professional to Home edition without reformatting and reinstalling the operating system from clean and fresh state.

A lot of people always associate conversion of Windows XP edition to illegitimate or privacy reason, but sometimes, there may be legitimate and genuine reason for change, such as customer, who all the while using Windows XP Home Edition (HE) finally buy a genuine license product key for Professional edition to replace the illegal pirated version installed, or user receives additional license as gift, but don’t want to go through clean install Windows XP again, or want to keep using the computer with all data intact without interruption.

Here’s a trick to convert and turn Windows XP Home Edition to Windows XP Pro Edition, from within the operating system without going through installation again. Ok, let’s be frank. The hack doesn’t actually install and add in all the features from Windows XP Professional that Windows XP Home lacks of, such as Remote Desktop Server (see guide to install Remote Desktop on XP Home) and Group Policy Editor (GPedit) utility tools, which has been removed on Windows XP Home edition. Some functions which turned off and disabled via integrated switches which read from registry flag whether it’s Home or Professional edition, such as EFS, RAID support and ability to join domain, may or may not work after migration. Basically, the trick only work to let Windows XP recognizes itself as Professional edition.

To convert and upgrade Windows XP Home to Windows XP Professional, follow procedure below.

Open Registry Editor (regedit).

Navigate to HKEY_LOCAL_MACHINE/SYSTEM/ControlSet00X/Control/ProductOptions, where ControlSet00X is the one with the highest number.

Delete the ProductSuite registry key.

Then, create a new DWORD value and named it as Brand.
Set the “Brand” value data as 0.

Reboot the system.

On boot up after the BIOS screen, press F8 to display Windows XP Startup Menu.

Choose Last Known Good Configuration (LNG) and hit Enter.

Windows XP will start up as usual. After logging into the desktop, check the system properties to verify that it’s now Windows XP Professional.

How To Install Windows XP througth network (Ubuntu + dhcpd + tftpd-hpa + syslinux + samba)

透過網路開機 PXE 來安裝 Windows XP 、Windows 2003、Windows 2000 都能採用這樣的方法來做。以下就是使用 Ubuntu 來做為 NIS 伺服器的安裝 XP 的步驟。

Ubuntu 須要有兩個網路介面(對外、DHCP用),如果只有一個網路介面可用虛擬網卡設置。

僅一網卡的設置,可能要移除 network-manager 並重新設定網路配置產生虛擬網卡。

sudo apt-get purge network-manager

sudo vim /etc/network/interface

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static

auto eth0:0
iface eth0:0 inet static


sudo /etc/init.d/networking restart

Ubuntu 10.04 安裝必要的套件 dhcpd 、tftp-hpa、syslinux、samba。

sudo apt-get install dhcp3-server tftpd-hpa syslinux samba