顯示具有 資訊技術 標籤的文章。 顯示所有文章
顯示具有 資訊技術 標籤的文章。 顯示所有文章

2010年2月25日 星期四

XP更新MS10-015後會出現藍底白字畫面

最近有人發現安裝2月份的微軟更新MS10-015(KB 977165)後,重新開機會導致藍底白字當機,解決方式就是進入安全模式,將其(KB 977165)移除即可。原因如下:



微軟安全回應中心(MSRC)總監Mike Reavey在部落格中表示,根據微軟的調查結果,部份使用者更新MS10-015修補程式之後之所以會有藍色死亡螢幕並無法重新開機,是因為電腦感染了惡意程式,特別是名為 Alureon的rootkit隱身程式。微軟表示,與客戶以及第三方應用軟體商合作檢驗了諸多的記憶體轉存(dumps)資料之後發現,電腦之所以會重開機是因為Alureon rootkit修改了Windows Kernel的二元碼(binaries),而讓系統變得不穩定。


最新資訊請參考微軟安全回應中心部落格

Read more...

2009年10月6日 星期二

Enable Remote Desktop Connection For Vista Home Premium (SP2)

相信最近有把Vista更新至SP2的人會發現,原本在SP1時有 加工解決 不能遠端桌面登入Vista的限制[SP1的解決方式],而現在更新至SP2後卻發現不能使用此功能,上網google了一下,的確升版至SP2後會遇到這個問題。當然這時候會有許多國內外網友熱情地提供解決方法,可是都無法解決。因為有發現SP2的 termsrv.dll 這個檔案是 6.0.6002.18005 的版本,

SP2 的版本資訊

所以想說換回之前SP1的版本來試試看,ㄟ!奇蹟出現了,竟然OK了。
SP1 的版本資訊

Read more...

2009年4月23日 星期四

How to Recover from Reduced Functionality Mode (RFM) in Vista

當你使用的Vista系統超過30天未完成啟動程序,而進入精簡功能模式(RFM)時,可以用以下指令來重新取得另外30天之初始限定期。

Microsoft allows you to install and use Windows Vista for evaluation without license or product key for up to 30 days. Within these 30 days, you must activate the Vista system with a valid product key. Else, if you forget to activate your computer, or you’re using illegal and pirated product key, Windows Vista will go into Reduced Functionality Mode (RFM), where you basically can no longer use the system for productivity works until you successfully activate Vista with a licensed product key.

Windows Activation

Activate Windows Now

Your activation period has expired and Windows is no longer working.
To use Windows you must activate this copy of Windows.

If you’re still not yet ready to activate your copy of Vista and want to further extend the activation period another 30 days, and also want to exit or recover from Reduced Functionality Mode so that you can continue using Vista without reinstalling, here’s a simple hack to crack the RFM. The trick is made possible by Microsoft which still allow users to use Internet Explorer in RFM (probably do so so that you will can buy a license online), which can be used to break out of Reduced Functionality mode by running an explorer interface to open an administrative level command prompt and run the commands required to reset your activation period and recover use of your computer and desktop.

This crack RFM trick is simplified from previous recover from RFM guide to make it easier to understand.

1. On the Windows Activation - Activate Windows Now screen shown above, click on Access your computer with reduced functionality option.

2. Once the Internet Explorer loads, click on File on menu bar and then select Open on the pull-down menu.

3. On the Open dialog window, type in C:\Windows\Explorer.exe and then click OK.

4.Click OK button on “IE needs to open a new window to open this webpage” confirmation prompt.

5.Click Run button on “File Download - Security Warning” dialog prompt.

6.Click on Run button on “File Download - Security Warning” warning dialog related to unknown and not verified publisher.

7. User shell will load, and the desktop, taskbar, start menu and etc will be restored.

8. The computer has recovered from Reduced Functionality for this session. To permanently stop RFM to happen again, Vista has to be rearmed.

9. Click on the Start button.

10. Type Cmd in Start Search box.

11. A program shortcut will show up in the Start panel search results. Right click on the shortcut and select Run as Administrator.

12. In the Command Prompt window, type in the following command and then hit Enter:



slmgr.vbs -rearm


13. Restart computer.

Reference: nirvick.blogspot.com

Read more...

2008年12月18日 星期四

設定 IIS 6.0 的 HTTPS 服務

若要在用戶端電腦和伺服器之間使用安全的通訊通道來交換資訊時,就必須啟用 Secure Sockets Layer (SSL) 功能。本文將說明如何在 Internet Information Services (IIS) 6.0 中設定 SSL / HTTPS 服務。

1. 從 IIS 網站伺服器中產生憑証申請要求
在【目錄安全設定】選項中點擊【伺服器憑證】按鈕,【下一步】,【建立新憑證】,【現在準備憑證請求】,【下一步】,輸入【名稱】,輸入【單位】和【部門】,輸入【公用名稱】,選擇【國家】並且輸入【省】和【市縣】並【下一步】,【下一步】,【下一步】,【完成】,最後儲存在 C:\certraq.txt 。

2. 準備 OpenSSL 工作環境
把 OpenSSL v0.9.8i (編譯後的 Win32 版本)安裝至系統中,在 bin 目錄下建立目錄 demoCA,在 demoCA 下建立 private 和 newcerts 目錄,並新建 index.txt,如果沒有 serial 檔案,則到OpenSSL 網站上下載 openssl 的源檔案,解壓後,到 apps\demoCA 下,拷貝 serial 檔案過來,兩個目錄兩個檔案都放到新建的 demoCA 下。

3. 使用 OpenSSL 建立專有憑證中心的私有金鑰與簽證檔



C:\OpenSSL\bin>openssl req -x509 -newkey rsa:1024 -keyout cakey.pem -out cacert.pem -days 3650 -config openssl.cfg
WARNING: can't open config file: openssl.cnf
Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
...............++++++
..++++++
writing new private key to 'cakey.pem'
Enter PEM pass phrase:
Verifying - Enter PEM pass phrase:
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:TW
State or Province Name (full name) [Some-State]:TAIWAN
Locality Name (eg, city) []:TAIPEI
Organization Name (eg, company) [Internet Widgits Pty Ltd]:COMPANY
Organizational Unit Name (eg, section) []:UNIT
Common Name (eg, YOUR name) []:NAME
Email Address []:email@hinet.net


這時候會產生 CA 的私有金鑰 (cakey.pem) 與 CA 的簽證檔 (cacert.pem) 兩檔案,再將 cakey.pem 拷貝到 \demoCA\private 目錄下,把 cacert.pem 拷貝到 \demoCA 目錄下。

4. 使用 CA 簽證檔 (cacert.pem) 為 IIS 的憑証申請要求 (certreq.txt) 簽發憑証


C:\OpenSSL\bin>openssl ca -in certreq.txt -out server.pem -config openssl.cfg
WARNING: can't open config file: openssl.cnf
Using configuration from openssl.cfg
Loading 'screen' into random state - done
Enter pass phrase for ./demoCA/private/cakey.pem:
Check that the request matches the signature
Signature ok
Certificate Details:
Serial Number: 286 (0x11e)
Validity
Not Before: Dec 9 05:24:00 2008 GMT
Not After : Dec 9 05:24:00 2009 GMT
Subject:
countryName = TW
stateOrProvinceName = TAIWAN
organizationName = COMPANY
organizationalUnitName = UNIT
commonName = NAME
emailAddress = email@hinet.net
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
Netscape Comment:
OpenSSL Generated Certificate
X509v3 Subject Key Identifier:
94:C0:17:C7:CC:5B:9F:E7:80:08:CF:7B:38:F7:65:3D:EF:8F:41:13
X509v3 Authority Key Identifier:
keyid:5C:E3:71:BC:C1:22:87:24:58:E4:D0:07:65:3C:5B:39:B5:63:0C:23

Certificate is to be certified until Dec 9 05:24:00 2009 GMT (365 days)
Sign the certificate? [y/n]:y

1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated

C:\OpenSSL\bin>



5. 把剛剛產生的 server.pem 轉換成 x509 格式


openssl x509 -in server.pem -out server.cer


然後將 server.cer 搬移至 C 碟的根目錄下 (C:\server.cer)。

6. 在 IIS 上安裝憑證 (server.cer)
在有憑證要求的網站上按一下滑鼠右鍵,點擊【內容】,點擊【目錄安全設定】索引標籤,點擊【伺服器憑證】按鈕,點擊【下一步】,點選【處理擱置要求及安裝憑證】,再點擊【下一步】,輸入CA回應之「憑證授權的檔案」的路徑與名稱,選取C碟的憑證即可 (C:\server.cer),點擊【下一步】,輸入網站使用的SSL連接埠,可採預設值443即可,【下一步】,【完成】,【確定】。

Read more...

2008年11月5日 星期三

在Vista中設定3.5G網卡

自從Vista系統開賣以來,大家都覺得Vista不好用,導致微軟縮短了Vista的生命週期,積極推出下一代Windows 7的作業系統,但是小弟我針對網路連線的功能部分卻覺得它比XP的好多了,怎麼說呢?一般使用XP的網路連線時,只要有安裝新的網路卡或設備,就會在右下角的工作列中多一個網路連線的示意圖,如果安裝了五種網路,哇!那就有五個小icon在那裏,可是Vista就有個優點,會全部將這些網路都放在『網路和共用中心』裡納管,只要將滑鼠移至『網路和共用中心』的小icon上,就會全部列出目前的連線網路,如圖所示。

其實,小弟我要說的重點是在使用3.5G網卡上網時,並不用像HiNet說明書所說的那樣,需安裝『HiNet無線上網連線軟體』與『華為連線軟體』才可連線。只要在第一次使用時,安裝網卡的驅動程式,讓『網路和共用中心』知道有這個數據機可以撥號上網就好,之後都直接在『網路和共用中心』使用『連線到網路』功能,直接撥號連線即可,不用再透過這兩套軟體,是不是方便多了呢?

Read more...

2008年9月21日 星期日

會自動產生 autorun.inf 的 kavo 病毒

昨天朋友送來一部中毒的筆電,請我幫他解毒,看他似乎非常地灰心,所以還附上還原光碟給我,說最後手段就是重灌。可是常用電腦工作的人都知道,重灌作業系統是一件很可怕的事情,因為花費在恢復到以前工作環境的時間會比重灌作業系統的時間多上很多,而且還有可能會把資料給弄丟了,所以,基本上還是朝著把病毒清乾淨的目標前進。
我把電腦開機後發現桌面上怎麼有一堆殺 kavo 病毒的清毒工具,直覺上就猜想到這部電腦應該中了 kavo 相關的病毒,而且應該有人試著去解毒。因為之前我有解過這個病毒經驗,知道這個不好解,所以他們應該都試不成功吧!當然要檢查是否中了 kavo 病毒,在網路上有一篇的文章,寫得蠻詳細,可參考一下。
接著在 c:\windows\system32\ 目錄底下,用 dir /hs 的指令去查詢是否有 kavo 病毒的相關檔案,哇!如下面所列的真的好多!
kavo.exe
kxvo.exe
kevo1.dll
j3ewro.exe
jwedsfdo1.dll
解毒過程中,基本上都是使用進入作業系統的安全模式下,將這些檔案一一刪除,就完成解毒了,但是,不知道這部筆電是怎麼了,就是進不了安全模式,等了老半天螢幕還是黑的,硬碟沒有任何動靜,最後,想到一招,就是用 windows XP 的光碟片開機,用 R 修復功能進入控制台,就是像以前 DOS 一樣黑底白字的命令提示字元。然後進入 c:\windows\system32\ 目錄底下,先將這些病毒檔案的屬性改掉,然後就可一一刪除檔案,最後再重新開機就大功告成了!
Reference:
五個步驟,檢查你是否中了kavo病毒

Read more...

2008年9月5日 星期五

可用遠端桌面登入Vista Home Premium

相信大家都知道微軟提供的遠端桌面連線功能是非常好用,只是會突然忘記有些OS版本是不提供遠端桌面的Server端功能,只提供Client端功能,這時大家都會覺得比爾蓋茲怎麼這麼小氣哩!不過沒關係,這時上網google一下,看有沒有網友提供解法,果真,大家都遇到相同的問題,當然也有提供完整的解法,真的太感謝這些高手了。

Steps to Add Remote Desktop to Vista Home Premium:

1. Download termsrv.zip here
2. Extract Termsrv.zip to a temp directory
3. Start “Command Prompt” in Administrator mode (Run As Administrator)
4. Run the corresponding batch file for your Vista edition
5. Allow TCP Port 3389 on Windows Firewall or any other firewall product.
6. Done

Reference: Enable Remote Desktop Connection on Vista Home Premium

Read more...

2008年8月28日 星期四

Support Memory Remapping Technology

由於最近記憶體的價格非常地便宜,所以打算將主機 (ASUS P5B-VM) 的記憶體升級至 4GB,此時,赫然發現主機板的 BIOS 竟然只能識別出 2816MB 而已,好奇怪喔!其餘的記憶體竟然消失不見了,以為買到壞掉的記憶體。後來去詢問 ASUS 原廠後,才發現 Intel 的 965 晶片組有這個硬體上的問題。不過還好有解,只要將 BIOS 更新到最新版後就會發現有一個 Memory remapping 的功能,再將它設成 enable 就可以了。但是,在 32 bit 的 OS 中還是只能用到3070MB的記憶體,這是 OS 的定址功能問題,與硬體無關,除非將作業系統換成 64 bit 就OK了。


參考資料:

The system memory that is reported in the System Information dialog box in Windows Vista is less than you expect if 4 GB of RAM is installed

Read more...

2008年7月21日 星期一

Upgrade To IIS 6 From IIS 5

由於微軟不再繼續維護Windows 2000 Server的作業系統,所以,必須將原本在IIS 5上執行的ASP程式移植到Windows 2003 Server的IIS 6上,結果真的如預期地遇到了一些問題。
微軟為了在IIS 6的版本增加安全性,所以關閉啟用上層路徑功能"../..",因此在程式中使用 Include 路徑的上層路徑功能來呼叫此目錄以外的程式來使用,結果就造成下面的錯誤訊息:
ASP error 0131 The include file function.inc cannot contain '..' to indicate the parent directory. /path/function.inc, line 2
The Page Cannot Be Displayed
HTTP 500-Internal server error

Reference:Enable Parent Paths Is Disabled by Default in IIS 6.0
撰寫的ASP程式可以透過 Include 功能來組合需要的功能模組,而這些程式碼都是用單純的文字格式存檔,在執行時是透過直譯器直接讀取ASP程式碼、翻譯、編譯及執行,因此,一個ASP程式會由多個文字檔案組成的,而這些文字檔若不是用同一編碼格式存檔,如ANSI、UTF-8,會造成IIS 6傳給瀏覽器的資料會是亂碼,這又是IIS 6比IIS 5限制多一點的地方。

Read more...

  © Blogger template Spain by Ourblogtemplates.com 2008

Back to TOP