WELCOME

2011年1月26日 星期三

Command Line Hack for: "Terminal Server Has Exceeded the Maximum Number of Allowed Connections"

If you’ve worked on a network with Windows servers, you’ve encountered this error message at least 37,000 times:
“The terminal server has exceeded the maximum number of allowed connections. The system can not log you on. The system has reached its licensed logon limit. Please try again later.”
This problem happens because Windows only allows two remote terminal services connections when you are in administrative mode, and you’ve either got two people already on that server, or more likely, you’ve got a disconnected session that still thinks it is active.
The problem with this error is that you have to actually get on the server console to fix the problem if the server isn’t in a domain. (If you are in a domain, then just open Terminal Services Manager and log off or disconnect the sessions)

To use the command line hacks, you might need to run them from another server if your local operating system doesn’t include the commands. You will also need to make sure that you are logged onto that server with an administrative account. The easiest way to do that is just map a drive (you don’t have to use a drive letter unless you choose to)
net use /user:[username] \\servername\share
Here’s a command line hack that you can use to figure out what sessions are connected to the server. Note that you could substitute the IP address for the server name.
query session /server:servername
Sample output:

Now we know that the session ID of the offending session is 2. We can use that in the next step, which is using the reset command to log off that user.
reset session [ID] /server:servername
Sample:

This command won’t display any output, but when we run the query command again, we should see that the session has now been disconnected:

The terminal server has exceeded the maximum number of allowed connections

When a user tries to connect to a machine using Remote Desktop connection, they might come across this error message.
The terminal server has exceeded the maximum number of allowed connections

This is because Windows Server only allows two connections through RDP, and you’ve either got two people already logged on to that machine, or you’ve got disconnected sessions that still thinks they are active. If a user simply closes the remote desktop window when they’re finished, that user will still remain logged on, unless there is a time out configured in Terminal Services Configuration as follows
Terminal Services Configuration
Terminal Services Configuration
If the Session time out is not configured, or the logged on users are not available, you wont be able to logon to the machine. To overcome this limitation, follow the steps as below.
open a command prompt or type in the RUN prompt
mstsc /v:[00.00.00.00/SERVERNAME] /f -console
eg: mstsc /v:192.168.1.10 /f -console
mstsc /v:ADSURF /f -console
This will connect to the physical console session on the server (also known as “session zero”). You will then be prompted with the login box and provide the administrator details. Then you will be connected to the Console Session on the server. Now you can reset the disconnected user sessions from Terminal Services Manager. Please note that if you get disconnected from this console session, you will  have to go physically to the machine.
More info on mstsc at Technet
UPDATE:
If you have Windows Vista with SP1 or Server 2008, use the following syntax:
mstsc /admin
If you use the old switch “/console”, it will just ignore that and proceed connecting. In Windows Server 2008, the /console switch doesn’t exist anymore because “session 0″ is a non-interactive session that is reserved for services. Difference between admin and console swtich are here.
Another workaround:
You can also query the sessions on the remote machine as an administrator of that machine. Open a command prompt as a domain administrator that the remote machine is set to or map a drive of that remote machine.
Then in the command prompt, type as below:
query session /server:servername
Replace servername with the remote machine name or IP address.

Now we have the information of all the users/sessions that are active/disconnected on the remote machine. We can now reset one of the session with the following command.
reset session [ID] /server:servername
Replace [ID] with the number from the prevoius output and servername with the remote machine name or IP address. This will reset the session and now you can login using Remote Desktop connection.

2011年1月25日 星期二

Windows 7 USB/DVD Download Tool

如果你的電腦沒裝光碟機、或者你用的筆記型電腦是沒內建光碟機的機種,可卻想重灌系統成Windows 7的話,該怎樣才能讓電腦透過USB隨身碟來安裝Windows 7系統呢?
幾個月前微軟推出了一個名為「Windows 7 USB/DVD Download Tool」 的小工具,可以幫我們將Windows 7系統的光碟ISO檔燒錄到DVD光碟或轉製成USB可開機隨身碟,讓我們可以從微軟網站下載Win7 ISO檔後能自行選用光碟機或USB隨身碟來安裝系統。對於沒內建光碟機的小筆電來說,也多了個重灌電腦的解決方法,重點是透過速度較快的USB隨身碟或 記憶卡來安裝Windows 7的話,速度比一般光碟機快很多唷!

以下的軟體可將Windows 7作業系統燒錄成DVD開機光碟或做成USB開機隨身碟、記憶卡,如果你要做成USB開機隨身碟的話,請準備至少3GB以上容量的隨身碟。另外,如果要用 USB隨身碟來開機、安裝作業系統的話,電腦的主機板必須是比較新的規格才會有USB外接設備的開機選項,請先確定BIOS裡面或開機選單裡面有USB設 備可選,太舊的電腦可能就不支援USB外接設備開機功能,只能用光碟機開機囉。
雖然這軟體相當簡單好用,不過之前卻傳出微軟的這個小工具可能取用某GPL授權的程式原始碼而被檢舉,目前微軟已經將該軟體的下載點與網頁都撤掉了,說是等調查完成後才會再釋出,不過我們還是可以從其他網友保留的程式下載來用用。


使用方法:

第1步  首先,我們必須將Windows 7安裝光碟製作成一個.iso格式的光碟映像檔,如果你是從微軟網站下載來的iso檔的話可以直接用,如果是買來的光碟則可利用下面的軟體來將光碟內容做成ISO檔:



第2步  接著將Windows 7 USB/DVD Download Tool軟體下載回來並安裝好之後,開啟軟體主程式,先按「Browse」按鈕選取你製作好的ISO檔,再按一下「Next」。
01-用「USB隨身碟」安裝、重灌Windows 7,速度大提昇!
 
第3步  此時,我們可以選擇要做成USB開機隨身碟或DVD安裝光碟,請按一下「USB device」按鈕,選擇將Windows 7安裝光碟的內容轉移到USB隨身碟中。
02-用「USB隨身碟」安裝、重灌Windows 7,速度大提昇!
 
第4步  接著,會出現一個視窗讓我們點選USB隨身碟或記憶卡的位置,選好之後再按一下「Begin copying」按鈕,開始複製檔案。
03-用「USB隨身碟」安裝、重灌Windows 7,速度大提昇!
 
第5步  接著就是等....。
04-用「USB隨身碟」安裝、重灌Windows 7,速度大提昇!
 
第6步  完成後,我們就可以用USB隨身碟來開機、安裝Windows 7囉!製作好Windows 7系統安裝USB碟之後,如果你要重灌電腦的話,可以先讓電腦重開機再用下面方法調整BIOS設定值,或從開機時的啟動選單點選USB外接裝置來安裝系統。

如何設定BIOS開機順序,讓電腦用「光碟片」或「USB隨身碟」開機?
05用「USB隨身碟」安裝、重灌Windows 7,速度大提昇! 

2011年1月24日 星期一

Getting started with RT Se7en Lite

RT Se7en Lite is developed by Rockers Team to customize windows 7 operating system and to make it lite. You can add wallpapers, Icons, themes, integrate updates, drivers, language packs, applications, remove components, enable or disable features, unattended installation settings, bootable ISO and USB creator , etc. It will be very easy to operate and changing the style of your windows 7 operating system.
RT Seven Lite Introduction, integration
It supports both 32 and 64 bit windows 7 operating system only. It will not support Windows vista and windows server 2008. Windows 7 operating system has many built-in applications, and you can remove all unwanted applications using RT Se7en lite. So by using RT Se7en Lite you can do miracles with windows 7 operating systems.

Open Source folder synchroniser.

Synkron is an Open Source folder synchroniser.

Synkron Synkron is an application for folder synchronisation that allows you to configure your synchronisations in detail. Despite having many features, the user interface of Synkron is very user-friendly and easy to use.
Synkron is able to synchronise multiple folders at once, analyse folders before sync, restore overwritten or deleted files, plan synchronisations and much more.
Synkron is a cross-platform application and runs on Mac OS X, Linux and Windows.
Synkron is distributed under the terms of the GPL v2 licence.

The Fastest BitTorrent+Gnutella P2P Program

Explore the features

  • Completely Free & Open Source!
  • Faster Download Speeds
  • No Spyware. No Adware. Guaranteed.
  • iTunes™ Compatible!
  • BTIH Magnet Torrent Downloads
  • Friendly Online Chat Rooms
  • Improved BitTorrent Technology
  • Even More Connections
  • New & Improved Skins

Experience the action

RegSeeker

RegSeeker is a perfect companion for your Windows registry !
RegSeeker includes a powerful registry cleaner and can display various informations like your startup entries, several histories (even index.dat files), installed applications and much more ! With RegSeeker you can search for any item inside your registry, export/delete the results, open them in the registry. RegSeeker also includes a tweaks panel to optimize your OS ! Now RegSeeker includes a file tool to search for duplicate files, bad shortcuts and more !
RegSeeker is FREE for personal use only !
For any usage in any Company or Organization, please contact us (regseeker@hoverdesk.net) for licensing informations.



Alternate download