Category Archives: Windows

Solve the problem of Causing IIS Express Slow Down

[Chinese/中文]最近我的Visual Studio 2013內建的IIS Express 實在跑太慢了,而且常常回報無服務回應的錯誤。根據此條目,看起來像是logger元件出問題。為了解決此一問題,我們可以嘗試以下步驟:1. 用系統管理員權限開啟命令提示字元視窗 (cmd console)2. 輸入以下指令  (1) cd  %systemroot%system32inetsrv  (2) appcmd set config /section:urlCompression /doStaticCompression:True  (3) appcmd set config /section:urlCompression /doDynamicCompression:False  (4) appcmd set config /section:httpLogging /dontLog:True [English]Recently, my Visual Studio 2013’s built-in IIS Express runs too slower and it often reports errors about no service response.According … Continue reading

Posted in visual studio, Windows, 程式設計, 網路, 軟體(Software) | Leave a comment

I-List: Create Your Own Lists of Links

I-List is a very helpful links share platform to share your collected links. It provides an user friendly interface to you for sharing some kind of links. I’ve found that there are two collections which is very helpful for some … Continue reading

Posted in C, C/C++, cloud computing, Java, Linux, Linuxamp;FreeBSD, Windows, 科技, 程式設計, 資工, 軟體(Software), 雲端運算 | Leave a comment

輸入法不見的解決方法

1. 進入控制台 → 變更顯示語言 → 變更鍵盤 中的語言列標籤,將語言列從隱藏勾選成固定在工作列; 2. 接著請參照以下圖解說明 (1) 在「開始搜尋」的輸入框中輸入”regedit”並執行 (2) 找到 HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionRun (3) 右邊的欄位應該要有ctfmon字串值,若沒有請自行建立。按下右鍵→新增→字串值 (4) 輸入名稱為”ctfmon”後,按下ENTER確認。 (5) 修改ctfmon,輸入C:Windowssystem32ctfmon.exe後,確認關閉。 (6) 請重新開機試試看。應該就成功了。 參考資料 Win7開機後輸入法不見了

Posted in Windows | Leave a comment

[Windows] Port 80被佔用導致Apache無法啟動

我們在Windows上使用AppServ架設網頁服務時,有時候會發現Port 80被佔用,導致無法啟動的狀況。 面對這樣子的窘境,可以參照以下步驟來執行: 開啟命令提示字元視窗,輸入以下指令:netstat –ano ,找出佔用Port 80的程式PID 開啟「工作管理員」,到「處理程序」標籤,按上方的「檢視」→「選擇欄位」,把PID選項勾選起來。 看看是哪一個Service佔用了80 Port? 就處理處理一下吧。 一般而言,最常發生Skype佔用80 Port的狀況,若發生此狀況,請參考這邊的解決辦法。     倘若發現PID = 4,且來源是NT Kernel佔用的話,請別急著把它砍掉。     請下達以下指令: net stop http Sc config http start= disabled    (注意,這一行請完整複製,大小寫與空格都有差異) 完成後,最好重新開機一下,這樣子問題應該就解決了。 參考資源 Getting Apache to run on port 80 on … Continue reading

Posted in Windows, 程式設計, 網路, 網頁撰寫 | 11 Comments

Use the CURL Library in Code::Blocks on Windows Platform

In current days, our college students meet the problem while compiling the CURL library in Code:: Blocks on Windows(i.e. Windows 7) platform. I noted the process that how to write the sample program with CURL library and compile it successfully. … Continue reading

Posted in C/C++, Windows, 程式設計, 網路 | Leave a comment

[Windows] AD Server 使用心得與注意事項

在台灣的中大型企業中,都會建立Windows AD Server來控管電腦使用者並且達到單一登入(Single Sign On)的要求。我最近在學著使用AD Server,因為某些需求,發現它也可以透過GPO來派送與佈署軟體給電腦或是使用者。 若是要我推薦AD Server入門書籍,我推薦「Windows Server 2008(或是2003) Active Directory建置實務」。 但是,在學著使用GPO進行操作時,要特別注意以下事項: 不要拿你自己的Domain Server兼AD Server來測試剛建立使用者的登入,因為預設的Domain Server 安全性原則是不允許剛建立使用者進行登入的。 不要拿VMWare的虛擬機器來模擬軟體派送。我曾經因為VMWare把軟體派送擋住,讓我白忙一整天的時間。 若是要派送msi 安裝檔,並設定該安裝檔為使用者登入時自動安裝。請確定該msi installer可以在靜默模式與背景模式下安裝,如果沒辦法登入安裝的話,可以參照以下方法解決。 若該msi安裝檔是那種有GUI介面的,我們可以透過msiexec 這個指令,將你要安裝的檔案設定為背景模式與進度條模式安裝 。也就是直接輸入msiexec /i “你的msi安裝檔路徑” /qn,進行安裝 (msiexec的簡易教學可以看這篇)。 在知道要怎麼使用msiexec的話,接著我們可以參考這篇GPO原則自動安裝印表機教學文,寫一個簡單的bat script,透過該篇教學,設定使用者登入後,執行你寫好的自動安裝script。 好了,注意事項撰寫完畢。再來推薦一個AD Server派送軟體的教學影片。

Posted in Windows, 程式設計, 軟體(Software) | 1 Comment

[Windows] Built-in OCR Library in Windows 7/Server 2008

OCR (Optical Character Recognition) is an interesting issue. I’ve found that some (built-in) libraries in Windows 7/Server 2008. If you want to develop OCR program without extra fee, you should try it. Window 7 OCR API : In the final answer, … Continue reading

Posted in C, Programming, Windows, 程式設計 | Leave a comment

[PHP] The resources about calling windows programs in PHP

I’ve developed  one library about security and make as a .dll package. Now, I want to use the dll through PHP because my significant webdesign skill is PHP, not ASP.Net. The other reason is that I don’t prefer to install two different … Continue reading

Posted in PHP, Programming, Windows, 程式設計 | Leave a comment

[網頁撰寫] Linux, Apache, PHP, MySQL 最佳化教學資源匯整

最近接手的案子,有速度緩慢的問題。趁機再整理一下有關Apache, PHP, MySQL系統的最佳化議題。 Apache 自動優化前端頁面的模組 – mod_pagespeed 分離動、靜態網頁,讓伺服器做擅長的事 WindowsNT系統下的Apache性能優化 基本優化 tuning apache 跟 tuning mysql 跟 php 效能 [SQL] MySQL ROW_NUMBER Simulation 利用 PHP MySQL Quota-Tool 來限制 MySQL 存取空間大小 Apache 調整、優化方法:性能優化 優化 PHP 程式的 40條建議 Php Memcached 快取機制配置架構 A HOWTO … Continue reading

Posted in Linux, PHP, Windows, 程式設計, 網頁撰寫 | Leave a comment

[Windows] 已啟用Win7遠端桌面,從家中連回去卻無法連線?

各位朋友好! 筆者最近發現擺在實驗室的Windows 7桌上型主機,從區域網路的任何一台電腦可以連線,但是從宿舍(中華電信)或是女友家中(Cable)無法執行遠端桌面連線,順利連回來。 在東找西找之後,才發現跟Windows 7 遠端桌面連線數有關。 想必大家都有過這段經驗,要結束遠端桌面連線,都會順手直接把遠端桌面視窗關閉。但是此舉可能造成遠端桌面的Session無法順利清除。下一次連線時,因已達連線數目的上限,系統直接拒絕你的連線。 要解決的辦法很簡單,只要依照下面3個步驟即可! 1. 從要被遠端的電腦上,按下Windows 7的開始按鈕,在搜尋視窗內輸入”gpedit.msc“,找到gpedit.msc後直接執行。 2. 開啟本機群組原則編輯器後,透過左方目錄樹,到電腦設定→系統管理範本→Windows元件→遠端桌面服務→遠端桌面工作階段主機→連線 資料夾。 3. 右鍵編輯右方子視窗的限制連線數目,把選項設定為啟用,並且把允許的RD連線數目上限改為999999 (無限制上限) 做完上述步驟,筆者相信你的Windows 7電腦已經可以接受遠端桌面連線,真是可喜可賀!^^ Reference 1. 遠端桌面連線常見狀況與錯誤訊息

Posted in Windows, 網路 | Leave a comment