關於 PHP, Linux, Open Source 及個人生活記載的網誌。
RSS icon
  • 安全檢測工具 Baseline Security Analyzer

    Posted on May 14th, 2006 Sam Tang No comments

    微軟發佈了很多實用的工具軟件,只要細心搜索一下,定會找到很多實用的工具。

    Microsoft Baseline Security Analyzer (MBSA) 是一個簡單易用的安全檢測軟件,能檢查一些微軟產品的漏洞。雖然不會自動修復所檢測到的潛在漏洞,但會提供修復建議。

    P.S. 這軟件需要通過 WGA 驗證才可下載。


  • 微軟釋出 PowerShell RC1

    Posted on April 26th, 2006 Sam Tang No comments

    Windows Vista 內建的指令模式會用一套名為 PowerShell 的工具,而微軟也剛釋出它的 RC1 版本。現在只要有 Passport 帳號,便可以在微軟的 Download Center 下載 PowerShell 的 RC1 版本。

    Windows PowerShell
    下載 Windows PowerShell RC1


  • 改變 Windows 檔案權限指令

    Posted on April 12th, 2006 Sam Tang No comments

    要在 Windows 以指令模式改變檔案的權限,可以使用以下指令:

    CACLS files /e /p {USERNAME}:{PERMISSION}

    指令的內容為:

        * /p : 設定新的權限
        * /e : 編輯現有權限
        * {USERNAME} : 用戶名稱
        * {PERMISSION} : 權限內容:
            o R – Read
            o W – Write
            o C – Change (write)
            o F – Full control

    以下指令會給予 win_user 全部控制權:

    C:> CACLS files /e /p win_user:f


  • 實用 XP DOS 指令

    Posted on April 8th, 2006 Sam Tang No comments

    現在最流行的 OS 是 Windows XP,而在這個 GUI 的年代,不知大家還會不會用 DOS 指令,我日常工作中還是很常開啟 Dos 模式使用 traceroute 及 nslookup 這類指令。以下網站介紹了一些 Windows XP 下的 DOS 指令,其中有一些在 Linux 經常用指令也有類似工具:

    Useful Windows XP DOS Commands & Tricks


  • 支援 Vista CTP 的 ForceWare 87.15

    Posted on February 26th, 2006 Sam Tang No comments

    nVIDIA 剛發佈支援 Vista CTP (build 5308) 的驅動程式 — ForceWare 87.15。這個新版驅動程式主要是為 vista tester 而設,現階段只屬預覽性質,而且並沒有經過優化及只進行過有限度的測試。

    安裝說明:

    • 這個 driver 沒有安裝程式,需要手動安裝 INF。
    • 在安裝後Windows 可能會使用 16 色及關閉 Desktop Windows Manager (DWM),解決方法是設定回 32 色並重新開機。
    • 參閱 Product Support list 了解支援的產品

    NVIDIA 下載頁面


  • Windows OEM 不能使用新主機板

    Posted on February 18th, 2006 Sam Tang No comments

    Microsoft 最近修改其版權修款,表示 “新主機板等如新電腦”,所以如果手頭上只有 Windows OEM 版,而在現有的主機板沒有損毀的情況下更換新主機板,那就要購買新的 licence。

    微軟表示: “An upgrade of the motherboard is considered to result in a ‘new personal computer’ to which Microsoft OEM operating system software cannot be transferred from another computer. If the motherboard is upgraded or replaced for reasons other than a defect, then a new computer has been created and the license of new operating system software is required.”

    以上的修款改動只針對 OEM 版,對零售版沒有影響。


  • Unix 及 Windows 文字檔轉換

    Posted on February 13th, 2006 Sam Tang 1 comment

    大家如果試過在 Linux 及 Windows 文字檔分享的話,會發現文字檔的 “換行” 不一樣。在 Windows 用記事本開啟 Unix 文字檔時,文件不會開新行,需要使用支援 Unix 格式的文字編輯器才可看到分行;而在 Linux 開啟 Windows 的文字檔時,在每一行最後會有字元 Ctrl-m (^M)。以下是使用 Perl 在 Linux 下將文字檔轉換的方法:

    Windows 格式 -> Unix 格式
    perl -p -e ‘s/\r$//’ < winfile.txt > unixfile.txt

    Unix 格式 -> Windows 格式
    perl -p -e ‘s/\n/\r\n/’ < unixfile.txt > winfile.txt


  • 8Mhz CPU 安裝 Windows XP

    Posted on January 29th, 2006 Sam Tang No comments

    總是有很多人喜歡搞這種玩意,作者會將 Windows XP 安裝在一些舊硬件上,最低的硬件級別竟是 8Mhz:

    http://winhistory.de/more/386/xpmini_eng.htm


  • 免費防毒軟件

    Posted on January 26th, 2006 Sam Tang 3 comments

    以下幾款防毒軟件均可以在 Windows 下免費使用,如果不想用盜版軟件,又不願意花錢購買防毒軟件的話,會是一個不錯的選擇。但不要以為免費就一定沒商業版的好,我看過很多報告,這些免費防毒件比一些需要付款的軟件在掃毒上還要強:

    AntiVir Personal Edition Classic
    avast! 4 Home
    AVG Anti-Virus Free Edition


  • 微軟免費軟件列表

    Posted on January 24th, 2006 Sam Tang No comments

    這個 MSN Spaces blog 整理了一堆微軟公開的免費軟件,細看之有有很多驚喜之作,因為很多也從未聽過的。

    FREE Microsoft Software for Download


  • Microsoft 延長 XP Home 支援到 08 年

    Posted on January 16th, 2006 Sam Tang No comments

    上星期有分析員指出 Windows XP Home 的支援服務或許會在 06 年底完結,今天則看到一篇報導是微軟宣佈所有 XP 產品,包括 Home, Pro, Embedded, Media Center 及 Tablet PC 都可在 Windows Vista 推出後兩年享有支援服務。

    預計 Vista 會在本年 11 月推出,那就是說 XP 的支援服務會延至 2008 年的 11 月。太好了,我自己有一套 XP Pro,我弟有一套 XP Home,超碼可以等換電腦時才購買 Vista。


  • 移除隱藏 Windows 元件

    Posted on January 12th, 2006 Sam Tang No comments

    移到 C:\Windows\inf\ 將 sysoc.inf 備份起來,然後使用 notepad 打開 C:\Windows\inf\sysoc.inf。選擇 Edit -> Replace,在 “Find what:” 輸入 “,hide”,以及在 “Replace with:” 輸入 “,”,然後按 “Replace All”,儲存檔案即可。

    現在到 控制台 -> 新增/移除程式 -> 新增/移除 Windows 元件,你會見到更多的 Windows 元件可以移除。如果對該元件不太認識,或者一知半解的話,請不要胡亂移除,以及移除前先備份你的系統。


  • Windows XP bug???

    Posted on January 9th, 2006 Sam Tang 4 comments

    不知這個是 bug 還是 easter egg,試試以下操作步驟:

    1. 在桌面建立一個名為 “Notepad” 的資料夾.
    2. 用 IE 打開任何一個網頁,然後按 “檢視” -> “原始檔”.

    這時竟然會自動開啟剛在桌面建立的 Notepad 目錄。


  • Windows WMF patch 出來了

    Posted on January 6th, 2006 Sam Tang No comments

    想不到昨晚的 post 出來後,今天早上微軟就發表了 Windows WMF 的 patch 了,不知是否受到太多批評所致,大家可從以下連結下載,或者使用 Windows Update:

    Security Update for Windows XP (KB912919)
    Security Update for Windows XP x64 Edition (KB912919)
    Security Update for Windows Server 2003 64-bit Itanium Edition (KB912919)
    Security Update for Windows Server x64 Edition (KB912919)


  • Windows WMF 漏洞

    Posted on January 5th, 2006 Sam Tang No comments

    Windows WMF 漏洞可怕的地方是不用執行惡意程式,只要用戶在觀看惡意的圖片就會被入侵,那就是說在觀看網頁、查閱 Email、IM、新聞組等可以觀看圖片的途徑也有機會被入侵。

    這未免太可怕了吧! 從前只要自己小心一點,不打開來歷不明的檔案是沒有問題的,現在只時看看圖片也不可以。受影響的作業系統包括 Windows XP SP1, Windows XP SP2, Windows Server 2003, Windows Server 2003 SP1, Windows 2000。

    微軟也確認了這個漏洞,但修補程式要在 1 月 10 才發佈,那就是說在下星期二前使用以上作業系統的用戶會暴露嚴重的漏洞,幸好雖然微軟來不及打救廣大的 Windows 用戶,多數的防毒軟件也可以阻檔這種惡意的攻擊,也讓我放心在這幾天繼續打開我的 Windows XP。