Showing posts with label Windows 2008. Show all posts
Showing posts with label Windows 2008. Show all posts

Saturday, November 3, 2012

how to cut off Terminal Server session when user Idle

REF http://blog.miniasp.com/post/2008/08/21/How-to-setup-Remote-Desktop-Auto-Logout.aspx


1. query who at RDP session

qwinsta /server:
or
quser /server:

2. setting timeout for  


A.. WINDOWS 2008

run GPEDIT,msc
computer configuation-Administrative Templates-Windows Components-Terminal Services-Terminal Server-Connections-Session Time Limits-

-Set time limit for disconnected  seesions

(setting allows you to configure a time limit for disconnected Terminal Services sessions).
Enable - X Min (X Min when idle , then  cut off rdp connection)
-Set time limit for active Terminal sessions
This policy setting allows you to specify the maximum amount of time that a Terminal Services session can be active before it is automatically disconnected.
Enable -Y Min 

B. Windows 2003 少 Terminal Server 及 -Session Time Limits

順便一提
解除WINDOWS 2008 無法 單一帳戶從遠端桌面登入多個 Session (工作階段)
disable restrict users to a single remote Terminal Services session
run GPEDIT.MSC
.computer configuation-Administrative Templates-Windows Components-Terminal Services-Terminal Server-Connections
-Restrict Terminal Service user to a single remote  session.
: Disable


Wednesday, June 15, 2011

SharePoint Site Error: Service Unavailable HTTP Error 503. The service is unavailable

1.cause: iis admin password expired or change ad password , then wil be change this site
2. can't open sharepoint admin from command and web

ref :
http://nassharepoint.wordpress.com/2009/01/13/sharepoint-site-error-service-unavailable-http-error-503-the-service-is-unavailable/
I was working on a project and all of the sudden my SharePoint site and Central Admin started giving me the error ‘Service Unavailable HTTP Error 503. The service is unavailable’ and I was not able to access either of them. I realized that I had just changed the password to the Identity account password and then this started happening. So here is what I did to take care of the problem (It worked for me and not sure if this is the most efficient way of doing it):

1. Open up IIS Manager and click on Application Pools.

2. Locate your App Pool account and right-click on it and select ‘Advanced Settings’.

3. Click on the right of the Identity box to change it (A window will pop up).

4. Click on Set and simply retype your App Pool Identity in there with the new password.

Thursday, December 16, 2010

讓 virtual server 2005 R2 sp1 可裝 windows 2008

虛擬伺服器 2005 R2 Service Pack 1 不支援 Windows Server 2008]、 [Windows Vista Service Pack 1] 或 [Windows XP Service Pack 3
download
http://support.microsoft.com/?kbid=948515
for fix
try later

Thursday, April 24, 2008

如何將windows 2003 server 列於終端機服務管理員清單中

REF URL:http://support.microsoft.com/kb/262852/zh-tw
根據預設值, 僅 Windows Server 2003 終端機服務伺服器及 Windows 2000 為基礎的伺服器與終端機服務安裝在應用程式伺服器模式或在 「 遠端管理 」 模式下通告本身為終端機服務 」 伺服器。 Windows XP 架構的電腦及 Windows Server 2003 的電腦與只能啟用 [ 遠端桌面進行才通告本身為終端機服務 」 伺服器。
意思為:WINDOWS 2003 及 WINDOWS XP 不會出現在DOMAIN 之終端機服務管理員清單中,如要改為可列出時,
A.啟用該台SERVER 之終端機服務(應可用GPO 下全開, LATER TESTING)
B.1. 啟動 「 登錄編輯程式 」 (Regedt 32. exe) 。
B.2. 找出並按一下登錄中的下列機碼::
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Terminal Server
3. 新增/修改下列登錄值: TSAdvertise
資料類型: REG_DWORD
資料 0x0000001(1)
4. 結束 [登錄編輯程式].
5. 重新開機.
2011/02 notes
add windows 2008

Enable Multiple Remote Desktop Connections in Window

On Windows Server 2008, the Restrict Terminal Services users to a single remote session Group Policy setting determines whether you can connect to your existing physical console session. When this option is enabled, when logging on by default, you will be restricted to a single remote session.

This setting is available in the Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Connections node of the Local Group Policy Editor. You can also configure this setting in Terminal Services Configuration. The Restrict each user to a single session setting appears in Edit settings in the General section.

If you would like to have multiple simultaneous sessions for the same user, please uncheck this setting or set this group policy as Disabled.

*************************

the ref. had some detail and simple description

http://http://theangryangel.co.uk/blog/ms-windows-server-2008-multiple-rdp-connections-per-user

At work it's sometimes useful to allow multiple connections to a server, from the same user account, so that we can get more done at once, or to help out each other.

By default on Windows 2008 server you can't do this. Simple fix: Start up gpedit.msc, go to Computer Configuration\Administrative Templates\Windows Components\Terminal Services\Terminal Server\Connections\, find "Restrict each user to a single session" and disable. If you're on a domain and want to apply it to multiple machines, you obviously need to make it a domain policy.