kkonovalov Posted January 8, 2015 Report post Posted January 8, 2015 Has anyone had luck adding OU selection to the CM2012 Bitlocker FrontEnd HTA? I have been trying for some time now without luck.I have a drop down with multiple selections which link to this code below to pass the variable over. I also add options in my apply network settings which is show in the attached image. I have this: If ADOU.value = "1" Then oTSEnvironment("swn_ADOU") = "Administrative" 'msgbox("LDAP://OU=Administrative,OU=Workstations,DC=online,DC=com: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "2" Then oTSEnvironment("swn_ADOU") = "Developement" 'msgbox("LDAP://OU=Development,OU=Workstations,DC=online,DC=com: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "3" Then oTSEnvironment("swn_ADOU") = "External" 'msgbox("LDAP://OU=External,OU=Workstations,DC=online,DC=com: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "4" Then oTSEnvironment("swn_ADOU") = "IT" 'msgbox("LDAP://OU=IT,OU=Workstations,DC=online,DC=com: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "5" Then oTSEnvironment("swn_ADOU") = "Restricted" 'msgbox("LDAP://OU=Restricted,OU=Workstations,DC=online,DC=com: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "5" Then oTSEnvironment("swn_ADOU") = "Sales" 'msgbox("LDAP://OU=Sales,OU=Workstations,DC=online,DC=com: " & oTSEnvironment("swn_ADOU"))' ElseIf ADOU.value = "5" Then oTSEnvironment("swn_ADOU") = "Service Computers" 'msgbox("LDAP://OU=Service_Computers,OU=Workstations,DC=online,DC=com: " & oTSEnvironment("swn_ADOU"))' End If Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted January 8, 2015 Report post Posted January 8, 2015 did you edit the hta/javascript backend too ? what happens when you select an ou, did you confirm that it's set before the task sequence starts Quote Share this post Link to post Share on other sites More sharing options...
kkonovalov Posted January 8, 2015 Report post Posted January 8, 2015 I think my java backend is the problem.. How do I confirm it is being set before the task sequence starts? I get an error that there is a problem with the task sequence and it has to shut down. If I continue to start windows no domain is joined. Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted January 8, 2015 Report post Posted January 8, 2015 simply monitor the smsts.log and review the success or failure of the step setting the variable, also check the dumpvars step, it allows you to view variables that are set in winpe. to do all this, use the pause functionality built into the task sequence Quote Share this post Link to post Share on other sites More sharing options...
kkonovalov Posted January 8, 2015 Report post Posted January 8, 2015 I've been trying to get the pause functionality without success, can you advise how to accomplish that? Quote Share this post Link to post Share on other sites More sharing options...
anyweb Posted January 12, 2015 Report post Posted January 12, 2015 sure thing http://www.windows-noob.com/forums/index.php?/topic/8846-how-can-i-pause-a-task-sequence-in-system-center-2012-configuration-manager/ from the index here http://www.windows-noob.com/forums/index.php?/topic/4045-system-center-2012-configuration-manager-step-by-step-guides/ Quote Share this post Link to post Share on other sites More sharing options...