1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Use %clientname% environment var in prefs

Discussion in 'Windows Home Server' started by JF, May 20, 2009.

  1. JF

    JF Guest

    Hello,

    I need to set some parameters in a .ini file during logon using the
    preferences. It works when I select some of the vars in the F3 list. But I
    need to use the unlisted %clientname% variable, which exist only when logging
    through TS. This one does not work. Instead of resolving, it writes
    "%clientname%" in the file.

    Is there a way of doing this, instead of keeping my .kix login script?

    Thanks a lot,

    JF
     
  2. "JF" <JF@discussions.microsoft.com> wrote in message
    news:DED54E7C-2E60-4D20-AF62-4BDADD8FE55F@microsoft.com...
    > Hello,
    >
    > I need to set some parameters in a .ini file during logon using the
    > preferences. It works when I select some of the vars in the F3 list. But I
    > need to use the unlisted %clientname% variable, which exist only when
    > logging
    > through TS. This one does not work. Instead of resolving, it writes
    > "%clientname%" in the file.
    >
    > Is there a way of doing this, instead of keeping my .kix login script?
    >
    > Thanks a lot,
    >
    > JF


    What is an "F3 List"? When exactly do you want to use the %clientname%
    variable?
     
  3. JF

    JF Guest

    In the group policy editor, when you create a ini file rule, you can press F3
    and it show a list of environment variables. I want to modify a parameter in
    a ini file once when a user log on through TS. The value to change needs to
    be the local computer name. When it has been set for that specific user, we
    don't need to change it anymore.

    Thanks,
    JF

    "Pegasus [MVP]" wrote:

    >
    > "JF" <JF@discussions.microsoft.com> wrote in message
    > news:DED54E7C-2E60-4D20-AF62-4BDADD8FE55F@microsoft.com...
    > > Hello,
    > >
    > > I need to set some parameters in a .ini file during logon using the
    > > preferences. It works when I select some of the vars in the F3 list. But I
    > > need to use the unlisted %clientname% variable, which exist only when
    > > logging
    > > through TS. This one does not work. Instead of resolving, it writes
    > > "%clientname%" in the file.
    > >
    > > Is there a way of doing this, instead of keeping my .kix login script?
    > >
    > > Thanks a lot,
    > >
    > > JF

    >
    > What is an "F3 List"? When exactly do you want to use the %clientname%
    > variable?
    >
    >
    >
     

Share This Page