Ok, the environment variable SFT_SOFTGRIDSERVER for the Softgrid Client is a small pain in the ass… but there are a few ways around it.
The “easy” way is to use Adidas-net…
Pros: No extra tools needed.
Cons: You ware out your sneakers.
Right click computer. Properties. Advanced. Environment variables New...
The tools can be found at adidas.com
The utility setx.exe that can be found in the Windows 2000 Resource Kit and on later versions of Windows the tool is included.
Pros: You can use this in a loginscript.
Cons: Loginscripts sucks.
IF EXIST %SystemRoot%\System32\setx.exe SETX SFT_SOFTGRIDSERVER softgrid.snowland.se
The utility can be found at microsoft.com/downloads/
The (imho) best way is to use a GPO to manage the setting. There are a few ADM-temlates for the Softgrid Client, but if you only want the environment variable, here are an example.
Pros: Easy to manage.
Cons: You need a ADM-template
The ADM-template can be found below:
CLASS USER CATEGORY "Snowland" CATEGORY "SoftGrid Client" KEYNAME "Environment" POLICY "Windows Environment Variable" EXPLAIN "Set SFT_SOFTGRIDSERVER as a user variable" PART "set SFT_SOFTGRIDSERVER=" EDITTEXT VALUENAME "SFT_SOFTGRIDSERVER" END PART END POLICY END CATEGORY END CATEGORY CLASS MACHINE CATEGORY "Snowland" CATEGORY "SoftGrid Client" POLICY "Windows Environment Variable" KEYNAME "SYSTEM\CurrentControlSet\Control\Session Manager\Environment" EXPLAIN "Set SFT_SOFTGRIDSERVER as a system variable" PART "set SFT_SOFTGRIDSERVER=" EDITTEXT VALUENAME "SFT_SOFTGRIDSERVER" END PART END POLICY END CATEGORY END CATEGORY [Strings]