Guest Jan Pettersson Posted July 10, 2008 Posted July 10, 2008 Hi! I tried using a standard VB-script to check clientname but it seems that 2008 server only gets the %clientname% variable after the desktop is fully loaded. Before that the variable is empty. I was trying to set startpage and redirect desktop to a specific place depending on what the clientname is. Any suggestions?
Guest Jeff Pitsch Posted July 11, 2008 Posted July 11, 2008 Re: 2008 terminal server and %clientname% Have you tried using Group Policy for this type of thing? Jeff Pitsch Microsoft MVP - Terminal Services "Jan Pettersson" <jan.pettersson@umdac.umu.se> wrote in message news:u$bKd$m4IHA.1056@TK2MSFTNGP05.phx.gbl... > Hi! > I tried using a standard VB-script to check clientname but it seems that > 2008 server only gets the %clientname% variable after the desktop is fully > loaded. Before that the variable is empty. > I was trying to set startpage and redirect desktop to a specific place > depending on what the clientname is. > Any suggestions? >
Guest Jan Pettersson Posted July 14, 2008 Posted July 14, 2008 Re: 2008 terminal server and %clientname% Yes I tried using a GPO and Item level targeting and the option that uses Terminal session information. But it does not work on my Windows 2008 terminal server. It does not matter if I use Client IP, Clientname or whatever. If I remove item level targeting the policy applies. "Jeff Pitsch" <jeff@jeffpitschconsulting.com> wrote in message news:ehSUuB24IHA.3496@TK2MSFTNGP02.phx.gbl... > Have you tried using Group Policy for this type of thing? > > Jeff Pitsch > Microsoft MVP - Terminal Services >
Guest Jeff Pitsch Posted July 14, 2008 Posted July 14, 2008 Re: 2008 terminal server and %clientname% I meant to do the redirects and other things your doing. These are able to be done in GPO rather than you ahving to script it. Jeff Pitsch Microsoft MVP - Terminal Services "Jan Pettersson" <jan.pettersson@umdac.umu.se> wrote in message news:OFaFsrY5IHA.5012@TK2MSFTNGP02.phx.gbl... > Yes I tried using a GPO and Item level targeting and the option that uses > Terminal > session information. But it does not work on my Windows 2008 terminal > server. It does not matter > if I use Client IP, Clientname or whatever. If I remove item level > targeting > the policy applies. > > > "Jeff Pitsch" <jeff@jeffpitschconsulting.com> wrote in message > news:ehSUuB24IHA.3496@TK2MSFTNGP02.phx.gbl... >> Have you tried using Group Policy for this type of thing? >> >> Jeff Pitsch >> Microsoft MVP - Terminal Services >>
Guest Jan Pettersson Posted July 14, 2008 Posted July 14, 2008 Re: 2008 terminal server and %clientname% The problem is that I want to redirect the desktop to different desktops depending on which computer they are login on from. If they are login in from a Windows CE-computer I want one desktop and from a XPE computer one desktop and one desktop for regular XP-computers. The users can log in from all of these different computers so I cant say that user X always has desktop A. I have found a software from CAD utils that gives me the IP-number in %clientip% and it seems to do the trick. But it is still strange that Item level targeting doesnt work. Has anyone used the terminal services option in item level targeting? "Jeff Pitsch" <jeff@jeffpitschconsulting.com> wrote in message news:eqX7Bxa5IHA.1420@TK2MSFTNGP06.phx.gbl... >I meant to do the redirects and other things your doing. These are able to >be done in GPO rather than you ahving to script it. > > Jeff Pitsch > Microsoft MVP - Terminal Services
Guest Jeff Pitsch Posted July 14, 2008 Posted July 14, 2008 Re: 2008 terminal server and %clientname% Group Policy also supports WMI filtering. Something to think about. Jeff Pitsch Microsoft MVP - Terminal Services "Jan Pettersson" <jan.pettersson@umdac.umu.se> wrote in message news:O1nNMkb5IHA.3932@TK2MSFTNGP04.phx.gbl... > The problem is that I want to redirect the desktop to different desktops > depending on which computer they are login on from. > > If they are login in from a Windows CE-computer I want one desktop and > from a XPE computer one desktop and one desktop for regular XP-computers. > > The users can log in from all of these different computers so I cant say > that user X always has desktop A. > > I have found a software from CAD utils that gives me the IP-number in > %clientip% and it seems to do the trick. > > But it is still strange that Item level targeting doesnt work. > Has anyone used the terminal services option in item level targeting? > > "Jeff Pitsch" <jeff@jeffpitschconsulting.com> wrote in message > news:eqX7Bxa5IHA.1420@TK2MSFTNGP06.phx.gbl... >>I meant to do the redirects and other things your doing. These are able >>to be done in GPO rather than you ahving to script it. >> >> Jeff Pitsch >> Microsoft MVP - Terminal Services >
Recommended Posts