Logon Script Working on 2003 TS, but not on 2008 TS


we have simple logon script set through gp need open website when user logs on in morning. script must run if user logging on logon machine, , must not run if user logs ts. script working desired in instances except if user logs in 2008 ts - can tell me why is?

here script - tes.bat

@echo off

rem check windows terminal server session
if /i "%sessionname%" == "console" goto :cont
if not "%sessionname%" == "" goto :metaframe

:cont

start iexplore http://www.example.com

goto :exit

:metaframe

:exit

hi ian,

did test other script see if works on windows 2008? in case, user account control may cause logon script fail.

you may refer to:

 

after turn on user account control in windows vista, programs may unable access network locations

http://support.microsoft.com/default.aspx?scid=kb;en-us;937624

regards,

wilson jia


this posting provided "as is" no warranties, , confers no rights. please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread. ”


Windows Server  >  Remote Desktop Services (Terminal Services)



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2