x64 bit with vbscripting - registry
Hi, In my 32 bit tasksequence I use a vbscript which will read tasksequence variables and write them to the registry. I'm now building a 64bit OS and want to do the same. So I want to read the TS variables and write them to the 64bit registry. When I run the TS now, the script writes to the redirected key (under wow6432node !!) I guess this has something to do with the "disable 64bit file system redirection" but I read a post that, as soon as I turn this on, I could no longer read the TS variables (Set env = Createobject("Microsoft.SMS.TSEnvironment") because the TS is 32bit ? Has somebody got an idea how to solve this issue ? So I want to build a 64bit OS, read TS variables and write them to the 64bit registry,
November 22nd, 2010 8:43am

Hi, I did some quick tests with sending the variables to the vbscript using the variables in the run command-line and including the variables as Arguments to the vbscript and it seems to work fine.. Example log.vbs %_SMSTSCurrentActionName% So if you write your script to write the registry keys from Command Arguments it should work. Regards, Jörgen-- visit my System center blog at http://ccmexec.com --
Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2010 4:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics