|
Concurrent Remote Desktop Sessions in Windows XP SP2 |
|
|
|
เขียนโดย Kanit Klai-Udom
|
|
Tuesday, 30 October 2007 |
Concurrent Remote Desktop Sessions in Windows XP SP2By vishnu
เป็นที่เข้าใจกันว่า Windows XP ไม่อนุญาตให้ใช้งานหลาย sessions พร้อมกัน สำหรับฟังก์ชั่น Remote Desktop นั่นก็แปลว่า เมื่อใดก็ตามที่มี User เข้าใช้ระบบอยู่แล้วใน local console, User ที่จะ remote เข้ามาต้องเตะ User เก่าออกก่อน (ซึ่งสามารถทำได้แม้ไม่มี permission ก็ตาม) จึงจะสามารถทำงานบนเครื่องเหล่านั้นได้ สิ่งนี้ทำให้สูญเสียโอกาสและเสียผลประโยชน์ที่ควรจะได้รับจาก Remote Desktop ใน Windows. บทความนี้จะกล่าวถึงช่องทางในการแก้ปัญหาของ limitation นี้ใน Windows XP SP2
มี feature ใหม่ๆดีๆ มากมายใน SP2 (Service Pack 2) แต่หลังจากนั้นก็ถูกถอดออก ความสามารถนี้ก็เช่นกัน, ความสามารถที่จะให้มี remote user เข้ามาใช้งานเครื่องได้ในขณะที่มีผู้อื่นใช้งานเครื่องอยู่. Microsoft ได้ตัดสินใจถอดความสามารถนี้ออกใน final build. เหตุผลหลักเนื่องจาก EULA (End User License Agreement) ยอมให้มีเพียงผู้ใช้เดียว ณ เวลาใดเวลาหนึ่งที่ใช้เครื่องคอมพิวเตอร์.
ก่อนหน้านี้ Microsoft ได้ลองใช้ feature ใน Version ก่อน Service Pack 2 และนี่เป็นจุดที่เราจะเข้าไปปรับใช้. โดยเราจะทำการแทนที่ termserv.dll (The Terminal Server) ด้วย file ในเวอร์ชั่นที่เก่ากว่า build (2055).
เพื่อที่จะให้ Concurrent Sessions in Remote Desktop ทำงานได้, ให้ทำถามขั้นตอนด้านล่างทุกขั้นตอน:
- Download the termserv files and extract it somewhere. (You have to be registered to see the file)
- Reboot into Safe Mode. This is necessary to remove Windows File Protection.
- Copy the termserv.dll in the zip to %windir%\System32 and %windir%\ServicePackFiles\i386. If the second folder doesn't exist, don't copy it there. Delete termserv.dll from the dllcache folder: %windir%\system32\dllcache
- Merge the contents of Concurrent Sessions SP2.reg file into the registry.
- Make sure Fast User Switching is turned on. Go Control Panel -> User Accounts -> Change the way users log on or off and turn on Fast User Switching.
- Open up the Group Policy Editor: Start Menu > Run > 'gpedit.msc'. Navigate to Computer Configuration > Administrative Templates > Windows Components > Terminal Services. Enable 'Limit Number of Connections' and set the number of connections to 3 (or more). This enables you to have more than one person remotely logged on.
- Now reboot back into normal Windows and try out whether Concurrent Sessions in Remote Desktop works. It should!
ถ้ามีสิ่งผิดปกติเกิดขึ้น, ไฟล์ termserv_sp2.dll คือไฟล์ต้นฉบับที่คุณจะทับ. กรุณาเปลี่ยนชื่อเป็นtermserv.dll แล้วเก็บเอาไว้, reboot เพื่อเข้า safe mode แล้ว copy มันกลับไปไว้อย่างเดิม.
|