Custom task sequence variables under x64

From The IT Community
Jump to: navigation, search

In SCCM 2007 you might have a task sequence with a x64 image. So, as always you enabled the "Disable 64 bit file system redirection", just because you are used to doing so. Which is fine most of the time, but not if you are using a script that handles task sequence variables like "Check the OS language in a SCCM task sequence and set an TS variable".

There is a known limitation that task sequence variables can not be accessed if "Disable 64 bit file system redirection" is enabled. It has to do with the 32-bit nature of the Microsoft.SMS.TSEnvironment COM object itself. There is no known work-around except to disable the option.

So, if you are wondering why you cannot set a TS variable, this is the reason. Disable the option and it should work again.

Was this article helpful? Then please donate to keep The IT Community alive...

If you found this article helpful please share it, comment and help others by writing your own article.

Translate this page:

Articles found in the same category:
(max. 20 shown)