Windows 2003 Terminal Services Session Timeout Policy on W2K serve

G

Guest

rdp session timeout polices and w2k

I implemented rdp session timeout policies in w2k ad by importing a w2k3
administrative template

Problem is that it only seems to be applying on the w2k3 systems

I am currently trying to apply this to the w2k machines via psexec and a
registry edit. Anyone know an easier way? Or a way to get this policy to
apply to w2k machines?


Ideas?
 
S

seth

it may not work if the settings are new to 2003; if that's the case, it
won't do anything on 2000
sometimes when you change a policy setting, it will tell you that it applies
to windows 2003 or higher, which means it has no effect on 2000
 
G

Guest

seth said:
it may not work if the settings are new to 2003; if that's the case, it
won't do anything on 2000
sometimes when you change a policy setting, it will tell you that it applies
to windows 2003 or higher, which means it has no effect on 2000




Got it by doing the following

main.bat

@echo off

FOR /F %%i in (deploy.txt) do call deploy.bat %%i

pause
----------------
deploy.bat


echo working on %1 ...

ping -n 2 %1 |findstr /C:"Reply from" >>pingstat.log
if errorlevel 1 goto end


robocopy D:\SysAdmin\cliff\registry\deploy \\%1\c$\temp /log:%1.log
psexec -c \\%1 blah.bat

:end

------------
blah.bat

echo working on %computername% >> c:\temp\output.log
regedit.exe /S c:\temp\tssessions.reg >> c:\temp\output.log

------
tssessions.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
Server\WinStations\RDP-Tcp]

"MaxConnectionTime"=dword:05265c00
"MaxDisconnectionTime"=dword:000493e0
"MaxIdleTime"=dword:006ddd00
"fResetBroken"=dword:00000001
"fReconnectSame"=dword:00000000
"fInheritResetBroken"=dword:00000000
"fInheritReconnectSame"=dword:00000000
"fInheritMaxSessionTime"=dword:00000000
"fInheritMaxDisconnectionTime"=dword:00000000
"fInheritMaxIdleTime"=dword:00000000
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top