顯示具有 Windows 標籤的文章。 顯示所有文章
顯示具有 Windows 標籤的文章。 顯示所有文章

2011年10月18日 星期二

如何將Dropbox以服務型式啟動(免登入運行) Start Dropbox as a Windows Service

前置作業:安裝Dropbox, 取消開機時自動啟動 ( 一般型 與 服務型 不能同時運行。)

1. 安裝 Windows Server 2003 Resource Kit Tools,內含將Dropbox 服務化的程式
Download Details - Microsoft Download Center - Windows Server 2003 Resource Kit Tools
https://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17657
2. 在命令提示字元下執行(安裝自訂新服務)

C:\Program Files (x86)\Windows Resource Kits\Tools>instsrv Dropbox "c:\Program Files (x86)\Windows Resource Kits\Tools\srvany.exe"

3. 執行 regedit.exe 登錄檔編輯程式:
  a. 尋找機碼 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dropbox
  b. 新增機碼 Parameters
  c. 新增字串值(type REG_SZ) Application
  d. 修改字串值Application之值為 「Dropbox.exe 執行檔之路徑」

4. 至服務管理員, 在登入分頁中, 選擇帳號登入的方式執行,登入帳號為安裝Dropbox所用之帳號,並輸入其密碼,參考資料中,舊版Dropbox可以免帳號啟動,新版的Dropbox 似乎不行。

5. 啟動Dropbox 服務,以後Dropbox會在開機時,自動以服務型式啟動。

p.s. 另一種付費方案解:
Run any Application as a Windows Service | AlwaysUp | Run/Start your exe/program at boot as a Windows 2008/7/Vista/2003/XP Service | Free Trial
http://www.coretechnologies.com/products/AlwaysUp/

Dropbox 延伸應用:網頁服務器
Using Dropbox as an automatic and free Web Publishing solution | Bram.us
http://www.bram.us/2008/12/15/using-dropbox-as-a-free-web-publishing-solution/

Reference:
[1] Installing Dropbox as a service on Windows Server 2003, 2008 (x64)
http://blog.dreamfactory.se/2011/01/20/dropbox-as-a-service/
[2] Download Details - Microsoft Download Center - Windows Server 2003 Resource Kit Tools
https://www.microsoft.com/download/en/details.aspx?displaylang=en&id=17657
[3] TipsAndTricks/WindowsService - Dropbox Wiki
http://wiki.dropbox.com/TipsAndTricks/WindowsService
[4] How to run Dropbox as a Windows 7/2008/Vista/2003/XP Service | AlwaysUp | Start Dropbox at Boot - No need to login
http://www.coretechnologies.com/products/AlwaysUp/Apps/RunDropboxAsAService.html
[5] Dropbox On Windows Home Server (as a service) « Dropbox Forums
http://forums.dropbox.com/topic.php?id=2828&replies=11
[6] windows home server - How to configure Dropbox as a service - Super User
http://superuser.com/questions/41992/how-to-configure-dropbox-as-a-service

2011年9月19日 星期一

REGEDIT4 與 windows registry editor version 5.0 的不同?

 置於.reg 登錄檔案開頭,指明所用的登錄編輯器。


Reference:
REGEDIT4与windows registry editor version 5.0到底是什么意思?_百度知道
http://zhidao.baidu.com/question/8568421

2011年9月9日 星期五

Windows 自動隱藏工作列失效

設定「自動隱藏工作列」時,
需取消「將工作列顯示於最上層」,
才能避免失效,
缺點是此方法只有在桌面時才能藉由移動滑鼠來顯示工作列,
其他情況需使用快捷鍵 Ctrl+Esc 或 視窗鍵 來呼叫工作列。

亦可透過軟體來解決[2-5]。

Reference:
[1] 讓 windows 工作列不會跳出來? - OS研討 - 卡提諾論壇 論壇|討論區
http://ck101.com/viewthread.php?tid=1578043
[2] TaskBar Hider 用快速鍵隱藏、顯示桌面下方的工作列
http://briian.com/?p=7006
[3] TaskBar Hider - IT Samples
http://www.itsamples.com/taskbar-hider.html
[4] taskbar eliminator 可隱藏 Windows 工作列的免費工具(免安裝)
http://key.chtouch.com/ContentView.aspx?P=1091
[5] Taskbar Eliminator - Aviassin
http://www.aviassin.com/taskbareliminator

2010年3月25日 星期四

Windows 下檔名太長無法進行更名或刪除

使用7-zip 壓縮軟體進行更名即可。

2010年2月20日 星期六

gcin Windows版 - 免費的整合式輸入法

Offical site:
/cht/電腦資訊/gcin/gcin Windows

大概因為同是GTK based,所以與pidgin相容性高。

Reference links:
/cht/電腦資訊/gcin/gcin Windows
今天的 Tetralet 又在唧唧喳喳了 | GCIN 中文輸入法簡介

IP 相衝時,檢測對方MAC的方法

方法一:
nbtstat -a [IP address]

方法二:
(1) ping [IP address]
(2) arp -a [IP address]

Reference links:
清華大學學生宿舍網路常問問題
Pejslin 的學習筆記 | 檢查IP相衝相關資訊

2010年2月16日 星期二

變更 Program Files 的安裝路徑的方法

修改
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
下
ProgramFilesDir
的登錄值。


備註:
變更ProgramFilesDir 登錄值的位置時,可能會遇到某些軟體安裝或更新上的問題。

參考資料:
Microsoft 不支援修改 ProgramFilesDir 登錄值,變更 [程式檔案] 資料夾的位置

2010年2月8日 星期一

更換 Office 序號 與 移除 Office Genuine Advantage (OGA) 的方法

執行regedit.exe
在下列機碼中
“HKEY_LOCAL_MACHINE → SOFTWARE → Microsoft → OFFICE → 11.0 → Registration”
可能有複數組子機碼,除了基本的Word、Excel...等有一組外,Office系列的 FrontPage、Visio、Project、OneNote及Publisher等都會獨立有一組機碼。
移除欲更換的產品下的 DigitalProductID 與 ProductID
重啟軟體後即可進行重新輸入序號的程序。

移除 Office Genuine Advantage (OGA) 的方法:
執行 msiexec.exe /uninstall {B2544A03-10D0-4E5E-BA69-0362FFC20D18} 

參考來源:
Office 2003 被偵測為非正版軟體時的解決方法 | DearHoney 數位音樂工作室
如何更換 Office 2003 序號? @ 無聊隨便逛逛 :: 痞客邦 PIXNET ::

2010年1月28日 星期四

該記憶體不能為read或written 的解決方法

到「C:\WINDOWS\Prefetch\」資料夾中,把裡面的檔案都刪除
or
執行 輸入cmd Enter鍵在命令提示字元下輸入
for %1 in (%windir%\system32\*.dll) do regsvr32.exe /s %1

來源網址:
出現「該記憶體不能為"written"」錯誤訊息的簡單解法 | 電腦玩物
系統 - 該記憶體不能為read或written的解決方案 - 史萊姆論壇

2009年8月16日 星期日

安裝可攜版XAMPP windows 1.7.1 注意事項 in WinXP

XAMPP[1]是一套整合Apache, Mysql, PHP 與Perl 的網頁伺服器架設軟體,

不但容易上手,也有免安裝的版本,只要幾個步驟便能移植到別台電腦[2]。
安裝時的最新版是1.7.2,似乎因改版幅度較大有點缺陷,
MySQL的服務狀態無法啟動。故選用1.7.2,在此做個心得備忘。

Step 1:
不管將XAMPP資料夾放在那,執行"setup_xampp.bat"就對了。

節錄官網說明
如果你將XAMPP解壓縮在最上層目錄,像c:\xampp或d:\xampp 等目錄,你可以直接啟動XAMPP。 這表示你不需要事先執行"setup_xampp.bat"。Apache, MySQL 和 Mercury 郵件伺服器將可以正常啟動。 只有 FileZilla 檔案傳輸伺服器無法啟動,因為它需要絕對路徑設定才可以正常執行。 對以上這些方法來說:請不要使用雙層的XAMPP目錄,例如 c:\xampp\xampp ! 你需要的是單獨的xampp資料夾,例如 d:\xampp(\apache 其它等等)。 否則你就必須在啟動前,先執行一次"setup-xampp.bat",來進行路徑的更新動作。
Step 2:
執行xampp-control.exe
Shell : 產生一個命令提示字元視窗,可用指令式設定。[1.7.2]
Setup : 執行setup_xampp.bat。[1.7.2]
Port-Check : 檢查所需連接埠狀態 [1.7.2]
Status : 檢視所有服務狀態。[1.7.1]
Service : 將xampp-control.exe安裝為服務。[1.7.1]
(p.s. WebDAV服務:使用戶端透過HTTP協定就可以新增、刪除、修改網頁上的資料。[1.7.2])
Explore : 檢視XAMMP資料夾。
SCM : Services Control Manager的縮寫,開啟 Windowns 系統服務管理員。
Refresh : 重新整理模組狀態。
Help/Close Help : 顯示/關閉說明視窗。
Exit: 離開。

可Start/Stop各種服務,或Admin開啟管理介面。
服務停用時,勾選Svc可安裝為Windowns 系統服務,。
(服務與一般開機啟動的程式不同是,使用者不用登入亦可運作。)
Tomcat,提供支援JSP的服務。[1.7.2]
Step 3:
啟用所須服務後,網頁環境算已建立好了,
但很多帳密都是預設值,需要重新設定帳密增加安全性[3][4]。

完。

免費備份工具「SyncToy 2.0」與排程設定

慣用的SyncBack[1]雖然免費好用,但不支援unicode,
要付費版本的SyncBackSE才有支援[2]。
搜尋後發現SyncToy 2.0似乎也不錯[3],可惜的是沒有可攜版[4]。
沒有方便的排程工具,但可用windowns內建排程達成,
程式目錄下的教學檔「synctoyhelp.chm 」中有詳細教學。
[SyncToy How to Topic]->[Schedule SyncToy]
其中重點節錄如下:
Type "-R" in the Add Arguments textbox. –R all by itself will run all folder pairs that are active for run all. If you want to run just a single folder pair, add –R “My Pair” to the end of the command line.
If the folder pair name contains a space, surround it with quotation marks, as the example above shows.

2014.03.12
忘了這個也很好用,現役中 in ubuntu
[推薦] FreeFileSync 檔案同步自由軟體 - P_qman板 - Disp BBS
http://disp.cc/b/25-3VBc

Reference:

2009年8月11日 星期二

如何變更MAC位址

如果同一網域有複數的網卡MAC位址相同常會引起網路問題,
因此,變更位址須特別注意此點。
書上通常會說,MAC位址是唯一的,
但[1]中提到MAC有可能會重複的
(雖然舉例有誤,應該是16^12=2^48=281,474,976,710,656)。
[1][2]中引用IHH所發表之 "MAC地址三步全接觸之豪“奪”MAC",
在 HKEY_LOCAL_MACHINE\ system\Currentcontrolset\services\classes\net 下多個000、001、002等編號子目錄。
觀察其DriverDesc的敘述,在欲修改網卡名稱對應之編號目錄下,
新增一字串值,命名為NetworkAddress,並輸入所需之MAC位址。
在WinXP下實驗,經上述修改後,重新啟動網卡即可變更MAC位址。
在[3]中有更詳盡之英文解說,其中Method 2-d說到『Go to Start -> Run, type “regedt32” to start registry editor.
Do not use “Regedit.”』,
微軟的技術文件[4]中解釋,WinXP與WinSever 2003中,Regedt32.exe 等同 Regedit.exe,
但在Win2K中是不同的,故有此差異。
另外有一個GPL授權的小工具"Macshift"[5]可以使用,
其作者相關資訊於[6]有記載,[7]中有中文詳細圖文說明。

Reference:
[1] 資安論壇 • 檢視主題 - 修改MAC位址“欺騙”設備的三招
[2] 修改MAC位址“欺騙”設備的三招FLASH論壇-Flash之神魂顛倒
[3] Changing MAC addresses on Windows 2000 and XP
[4] Regedit.exe 與 Regedt32.exe 的差異
[5] Macshift: Change your MAC address: The definitive free command-line MAC changing utility for Windows XP
[6] CodeProject: MAC Address Changer for Windows XP/2003. Free source code and programming help
[7] fjufirefox: 我愛超量下載

2009年8月10日 星期一

如何用指令停用及啟用網卡

[1]中提到數種方法,其中
netsh int set interface name="Local Area Connection 3" admin=disabled
netsh int set interface name="Local Area Connection 3" admin=enabled
看來最簡短,但實際執行失敗,會出現如[2]fcretusys所說的情形,[2]中亦提及Win2003可正常運作。
One or more essential parameters not specified
The syntax supplied for this command is not valid. Check help for the correct sy
ntax.

Usage set interface [name = ] IfName
[ [admin = ] ENABLED|DISABLED
[connect = ] CONNECTED|DISCONNECTED
[newname = ] NewName ]

Sets interface parameters.

IfName - the name of the interface
admin - whether the interface should be enabled (non-LAN only).
connect - whether to connect the interface (non-LAN only).
newname - new name for the interface (LAN only).

Notes:
- At least one option other than the name must be specified.
- If connect = CONNECTED is specified, then the interface
is automatically enabled even if the admin = DISABLED
option is specified.
[1][3][4]中提到用devcon工具[5],為一指令式的裝置管理員
使用下列指令可得到網卡資料,需注意事項" hwids 空格 =net"
devcon hwids =net
輸出結果如:
PCI\VEN_10EC&DEV_8167&SUBSYS_E0001458&REV_10\4&BC67B8D&0&28F0
Name: Realtek RTL8169/8110 Family Gigabit Ethernet NIC
Hardware ID's:
PCI\VEN_10EC&DEV_8167&SUBSYS_E0001458&REV_10
PCI\VEN_10EC&DEV_8167&SUBSYS_E0001458
PCI\VEN_10EC&DEV_8167&CC_020000
PCI\VEN_10EC&DEV_8167&CC_0200
Compatible ID's:
PCI\VEN_10EC&DEV_8167&REV_10
PCI\VEN_10EC&DEV_8167
PCI\VEN_10EC&CC_020000
PCI\VEN_10EC&CC_0200
PCI\VEN_10EC
PCI\CC_020000
PCI\CC_0200
ROOT\MS_L2TPMINIPORT\0000
Name: WAN Miniport (L2TP)
Hardware ID's:
ms_l2tpminiport
.
.
.
選擇網卡資料之Compatible ID's:的第一筆資料,如下指令可成功停用及啟用網卡。
停用:
devcon disable "PCI\VEN_10EC&DEV_8167&REV_10"
啟用:
devcon enable "PCI\VEN_10EC&DEV_8167&REV_10"

Reference:
[1] http://windowsitpro.com/articles/index.cfm?articleid=41111&cpage=4
[2] http://forum.sysinternals.com/forum_posts.asp?TID=9483
[3] http://social.msdn.microsoft.com/Forums/zh-TW/241/thread/2ff7a678-0b27-46ec-9b54-ad7e75dbd54f
[4] http://www.wlanbook.com/enable-disable-wireless-card-command-line/
[5] http://support.microsoft.com/kb/311272/zh-tw

如何變更遠端桌面聽候的連接埠(How to change the listening port for Remote Desktop)

souce link:

1.Start Registry Editor.(regedit.exe)
2.Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\TerminalServer\WinStations\RDP-Tcp\PortNumber
3.On the Edit menu, click Modify, and then click Decimal.
4.Type the new port number, and then click OK.
5.Quit Registry Editor.

2009年2月27日 星期五

如何將日文輸入法安裝在中文語系下

參考網站:

將日文輸入法裝在中文語系 @ Wayne's Blog :: 痞客邦 PIXNET ::
http://mstar.pixnet.net/blog/post/23050671
將下列codes(For XP) 存成.reg檔,點擊以匯入登錄檔資訊。
(在Win2000下的 "Ime File"="imejp.ime")


REGEDIT4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layouts\E0300404]
"Ime File"="imjp81.ime"
"Layout File"="Kbdjpn.dll"
"Layout Text"="日文輸入系統 (MS-IME2002)"


"Layout Text" 可自訂名稱。
再新增輸入法即可在中文語系下找到安裝。

常用MS IME 快速鍵:
  • 切換全形/半形:Shift + Space
  • 切換日文/中文語系:Alt - Shift //按鍵設定可設定
  • 切換英文/日文:Alt - ~ //中文語系下的日文無效
  • 切換為平假名 Hiragana:Ctrl - CapsLock
  • 切換為片假名 Katakana:Alt - CapsLock
︺ A 與 A 與 A 之差異 (Different answer, but thanks Yucca.)
︺ A:half-width Alphanumeric
A:Full-width Alphanumeric
A:Direct Input

2007年11月26日 星期一

cmdow.exe

cmdow.exe 是用來隱藏DOS Box的顯示畫面,常見於SuperXP…等無人值守安裝後的作業系統,其行為會被防毒軟體視為病毒。