PC Review


Reply
Thread Tools Rate Thread

Environment Varibles per user

 
 
Chris DeFreitas
Guest
Posts: n/a
 
      12th Feb 2004
Hello,

This may be a dumb question but is there anyway to setup a script so that
when a user logs in it will set the environment varible unique to there
username? I am working with a Windows 2003 terminal server.

Thanks,
Chris DeFreitas


 
Reply With Quote
 
 
 
 
Ron Oglesby [MVP]
Guest
Posts: n/a
 
      12th Feb 2004
sure... I use KIX a ton to do simple things like that. BUT you can use a CMD
login script or VBS if you want to have some fun.

Now to do it by USERNAME. then you just need to poll for %USERNAME% in the
script. then based on that SET the env variable.

In KIX I would most likely use a select case function for this because it
will process faster than a ton of IF THENs


--
Ron Oglesby
Microsoft MVP - Terminal Services


"Chris DeFreitas" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> This may be a dumb question but is there anyway to setup a script so that
> when a user logs in it will set the environment varible unique to there
> username? I am working with a Windows 2003 terminal server.
>
> Thanks,
> Chris DeFreitas
>
>



 
Reply With Quote
 
BOD BASS
Guest
Posts: n/a
 
      12th Feb 2004
Yes, vai con caralio.
>-----Original Message-----
>Hello,
>
>This may be a dumb question but is there anyway to setup

a script so that
>when a user logs in it will set the environment varible

unique to there
>username? I am working with a Windows 2003 terminal

server.
>
>Thanks,
>Chris DeFreitas
>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting environment varibles from cmd file BrianB Microsoft VB .NET 4 5th May 2010 10:22 AM
How to use varibles in SQL query OD Microsoft Access VBA Modules 0 9th Nov 2009 12:25 PM
Environment varibles Jim Brown Windows XP Configuration 0 16th Jan 2009 10:59 PM
User Environment. Windows cannot load User's Profile =?Utf-8?B?RW1tYW5vdWVs?= Windows XP Security 1 1st Jun 2005 11:39 PM
User system varibles bc Microsoft Windows 2000 Deployment 1 20th Oct 2003 05:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 PM.