Category Archives: Windows

Install Windows 10 preview in virtualbox

Ref: http://www.sysprobs.com/install-windows-10-on-virtualbox-and-its-guest-additions

Posted in Virtualbox, Windows | Leave a comment

使用 Windows 內建 netsh 進行 Port Forwarding

將 local listen 的 610 port 轉發至 10.201.80.94 的 4444 port netsh interface portproxy add v4tov4 listenaddress=127.0.0.1 listenport=610 connectaddress=10.201.80.94 connectport=4444 將 1 建立的 rule 刪除 netsh interface portproxy delete v4tov4 listenaddress=127.0.0.1 listenport=610 秀出目前建立的 rule netsh interface portproxy show all

Posted in Windows | Leave a comment

Windows 7 convert MAK to KMS

先根據Windows 7版本輸入下述金鑰 Windows 7 Professional : FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4 Windows 7 Professional N : MRPKT-YTG23-K7D7T-X2JMM-QY7MG Windows 7 Enterprise : 33PXH-7Y6KF-2VJC9-XBBR8-HVTHH Windows 7 Enterprise N : YDRBP-3D83W-TY26F-D46B2-XCKRJ Windows 7 Enterprise E : C29WB-22CC8-VJ326-GHFJW-H9DH4 啟用後再使用命令提示字元 (以管理員身分執行) 進行 slmgr 等指令

Posted in Windows | Leave a comment

typeperf 監控 M$ 系統資源

typeperf -qa > counters.txt 將 typeperf 可用的參數輸出到 counters.txt typeperf -c “參數值” 持續針對設定參數獲得系統資訊 typeperf -c “參數值” -sc 1 僅對設定參數執行一次性取得系統資訊 typeperf -cf “參數檔案” -sc “次數” -f “CSV” -o counter_out.csv 讀取參數檔案,進行幾次性的系統資訊擷取,並將結果以 CSV 檔案格式輸出成檔名 center_out.csv

Posted in Windows | Leave a comment

Windows 創建當天目錄

假設目錄不存在,則創建目錄 目錄名稱 西元年-月-日 (Ex. 2013-06-18) :~0,4 ==> 類似substr的功用

Posted in Windows | Leave a comment

使用IP反查電腦名稱

nslookup {IP} ping -a {IP} nbtstat -A {IP}

Posted in Windows | Leave a comment

Ping 前面加上時間戳記

其實寫程式或是架Smokeping就好了,不過就是懶… 以下是網路上搜尋到的寫法 (來源)

用法為 cscript 本程式名稱 [參數]

Posted in Windows | Leave a comment

Windows 檔案權限問題 #2

續先前的記錄 Windows 檔案權限問題 其實網路上有個更快的方法,透過修改機碼的方式增加右鍵選單來取得檔案權限TakeOwnership 其實裡面的內容看起來就是把 cmd 的內容以右鍵取代了

如果想刪除的話

Posted in Windows | Leave a comment

Windows 檔案權限問題

將公司配發的 NB 升級到 Windows 8 因為是升級,所以在 C 碟下有一個 Windows.old 的資料夾佔了 2xG 空間….. 想刪卻刪不掉….. (硍) 都是得到權限不符的回應,所以 Administrator 根本就不是最高權限… 這時候以管理者模式執行命令提示字元下指令取得檔案的擁有權 (1) 取得單一文件權限

(2) 取得目錄權限

接著將 administrators 控制權限加入檔案中

接著就可以刪除檔案了~ 附註: 快速刪除整個目錄 [指令說明頁面]

/s 為刪除目錄及目錄下所有文件 /q 為取消系統詢問刪除與否的確認訊息 附註: 不過遇到flash****.ocx還是會失敗 爬了一下網頁…發現是因為權限控制有屬於拒絕的幾個屬性 … Continue reading

Posted in Windows | Leave a comment

Windows 7 安裝 Telnet 伺服器

有幾個步驟 控制台 => 程式集 => 開啟或關閉 Windows 功能 => 勾選 Telnet 伺服器 電腦管理 => 服務與應用程式 => 服務 => Telnet 設為自動並啟動 電腦管理 => 系統工具 => 本機使用者和群組 => 使用者 => 選擇要登入的使用者點選”內容” => 成員隸屬 => 新增 “TelnetClients” 群組

Posted in Windows | Leave a comment