Thursday, October 23, 2008

網頁版的遠端桌面-Windows Remote Desktop by Web Browser

Windows Remote Desktop by Web Browser
愛台灣
Provided from Taiwan
愛英國
Provided from UK
http://www.bridgwater.ac.uk/tsweb/

也可以自己架,
You also provide the web version of remote desktop by yourslef.

1.Open Control Panel click Add or Remove Programs, and then click Add/Remove Windows Components.
--打開"控制台",點選"新增或移除程式",左邊選"新增移除windows元件"。
2.Click Internet Information Services, and then click Details.
--點選"Internet Information Services",按一下"詳細資料"。
3.In the Subcomponents of Internet Information Services list, click World Wide Web Service, and then click Details.
--點選"World Wide Web Service",按一下"詳細資料"。
4.In the Subcomponents of World Wide Web Service list, select the Remote Desktop Web Connection check box, and then click OK.
--點選"遠端桌面網站連線",其它的不用就別選擇,例如"SMTP Service"和"文件",有些元件和遠端桌面有相依性,會跳出警告,那種就不用刪除。
5.In the Windows Components Wizard, click Next. Click Finish when the wizard has completed.
--按下OK後,可能會需要windows光碟,所以記得要準備。
6.Click the Start button and click Run. Type Net Stop w3svc, and click OK. This temporarily stops the World Wide Web service to keep your system safe while you update it with security patches. 
--最後是安全性的考量,按下開始的"執行",輸入"Net Stop w3svc",就會停止WWW service。

2nd step,接下來,
1.Click Start, point to All Programs, click Microsoft Update, and then click Scan for updates. Follow the prompts to install all critical updates. If prompted, restart your computer.
去更新一下windows,如果有需要就重開機。
2.Click Start, and then click Run. Type Net Start w3svc, and click OK. This starts the World Wide Web service. 
按下開始的"執行",輸入"Net Start w3svc",就會重新啟動WWW service。

3rd step, 再來,
1.Open Control Panel, click Performance and Maintenance, and then click Administrative Tools. Double-click Internet Information Services.
--打開"控制台",點選"系統管理工具",點選"Internet Information Services"。
2.In the ISS snap-in, expand your computer name, expand Web Sites, right-click Default Web Site, and then click Properties.
--展開選項,看到"預設的網站",按右鍵選"內容"。
3.On the Web Site tab, change the value for TCP Port. Enter a number between 1000 and 65535 that you can remember easily, such as the month and day of a birthday or anniversary. You'll need to know the TCP Port when you connect to the computer in the future.
--將TCP連接埠改為希望的port。
4.Click OK, and close the Internet Information Services snap-in. 
OK的啦~

....結果我沒成功...搞屁...改天再來試....

修改遠端桌面的port

遠端桌面預設的port是3389,因為是公開的資訊。
如果能修改登入port,對於安全性也不無小補,也會讓外行人覺得好像很專業?XD
步驟如下,
1.開始->執行->輸入regedit->確定
2.HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\Wds\Repwd\Tds\Tcp中的PortNumber用十進位改成你想要的Port。(1000~65535)
3.HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp中的PortNumber用十進位改成你想要的Port。(1000~65535)
4.記得修改防火牆上的設定,新增一個連接埠,輸入剛剛TCP Port。
這樣便完成Server端設定。
至於client端就只要在後面加上192.168.0.1:xxxx,xxxx為剛設的TCP Port,這樣就可以正常使用了。
5. 重開機確保一切正常。

參考至http://server.everfine.com.tw/blog/archives/2005/06/terminal_server.html

Wednesday, October 15, 2008

關掉windows遇到嚴重問題的自動重開機功能

當Windows XP遇到嚴重問題時便會突然重新開機(藍白畫面),可從注冊表將此功能取消。打開注冊表編輯器(在執行輸入regedit),找到“HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSet\Control\CrashControl\”將AutoReboot鍵的Dword值更改為0,重新啟動後設置即可生效。
藍白畫面的資訊對照,可參考http://teachers.tssh.tpc.edu.tw/cc2/bcc/bios&fddisk/%E7%9C%8B%E6%87%82%E8%97%8D%E8%89%B2%E7%95%AB%E9%9D%A2.htm


CPU都會有L2 cache,但是WINXP不會自動偵測設定。
同樣進入到regedit,找到“HKEY_LOCAL_MACHINE\SYSTEM\ CurrentControlSet\Control\SessionControl\MemoryControl\",將SecondLevelDataCache的Dword值改為你的CPU的L2 cache值,單位是kB,建議用10進位。

Clicky

Clicky Web Analytics