Jump to content

Sign in to follow this  

Task Sequence - Test for a 64 bit registry key

Recommended Posts

I am setting a task sequence condition which tests if a registry key is set to "Yes", if it is then the task sequence continues else it aborts the steps within that group.


So for example I set the condition to look at HKLM\SOFTWARE\BldControl, key to check is Rebuild which if set to "Yes" will allow the TS to continue the steps in the group. But due to redirection the test always fails but if I add the same key to HKLM\SOFTWARE\Wow6432Node\BldControl, leave the test condition the same i.e. HKLM\SOFTWARE\BldControl then the test evaluates to true.


I know I can add the registry keys to both HKLM\SOFTWARE\BldControl and HKLM\SOFTWARE\Wow6432Node\BldControl but I'd rather not so in the test condition what do I test so that it actually evaluates the real HKLM\SOFTWARE\BldControl key?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...