Recommended Posts

Hi,

I need to create a new Environment Variable on a windows 2003 Terminal services box call "W2" inside %Userprofile%/local settings/application data. This will then hold a *.ini file.

How do i go about setting this on the TS box so that it applies to all users both new and old as my domain admin account will only create it for that user even if i place it in User & System variables.

Thanks

Link to comment
https://www.neowin.net/forum/topic/792054-ts-environment-variables/
Share on other sites

My Mistake, i ment all of the users who login to the TS box no "All Users"

I don't understand what you mean.

The "All Users" directory are settings that are applied to all users. This means if you place a shortcut in the Desktop folder in the All Users directory a shortcut will appear there for everyone on that server.

is the ini file specific per user, user1 has different variables than user2 or are they the same? If they are the same if you apply it in the all users folder all users on the ts will have access to that ini that log on. also you could create a batch file that says if it doesn't exist to make directory and copy it, but that is a bit complicated to do, esp if you don't grasp the idea of the all users folder.

google search "if exist" and look for any that refer to batch files, plenty of info out there to help you.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.