Schuff at myITforum.com

Blog it to log it!

*NEW* BDD Roles Select Wizard - LTI/ZTI Mod

*Updated June 2nd 2008 for SCCM - Here: http://myitforum.com/cs2/blogs/jscheffelmaer/archive/2008/06/02/sccm-and-roles-wizard-via-mdt-database.aspx

I finally got around to updating this procedure.  This new procedure was completely rewritten from the old one. It is called from the bootstrap.ini so it is displayed before any ztigather runs on the normal customsettings.ini or the database.  The Role Wizard pane will be displayed to the tech and will contain all roles defined in the database. 

*Plus*  This wizard also has a computer name wizard with it, mainly only useful for ZTI deployments since LTI already has a computer name wizard. Simply remove it from the ZTERolesWiz_Definition_ENU.xml if you don't want the computer name being displayed twice in LTI deployments.

Please feel free to contact me with any questions, comments, concerns, changes, feedback or issues you may have implimenting this mod.  It isn't too bad once you understand the changes.  Follow the Select Roles Wizard.doc file in the included zip.  The ZIP also contains file references from the doc that you will be changing.

http://myitforum.com/cs2/blogs/jscheffelmaer/BDD/RolesWizard.zip

P.S. Use the LAB Shell CD for deployment when testing. If you are not seeing the wizard come up, make sure that your HTA component is working in your PE build.  You can see in the logs where it attempts to launch the Wizard.HTA file, and can manually copy/paste that line in your LAB shell cmd window to test MSHTA.  I had this problem with my PE build.

 *UPDATE*

Recently I found an issue with the doc and steps for it to show up under LiteTouch boot cd.  Try a refresh scenario (run litetouch from the share) and see if it works just to verify.
 
Missing doc steps:
 
Basically my doc says to create the UserExit.vbs and Roles.ini in the \\bddserver\distribution$\control folder and the ZTERolesWiz_Scripts.vbs and ZTERolesWiz_Definition_ENU.xml files in the \\bddserver\distribution$\scripts folder.  What's happening is that none of these files get copied to the PE boot media when you update it. 
 
As well as than using the folders I specified above, add all 4 of these files to a .\ExtraFiles\Deploy\Scripts folder that I created per the Geeks Guide docs Johan created.  These then  are added to the PE extra files section of the deployment.  These files now get copied to the .\Deploy\Scripts folder on the boot media when the PE ISO and WIM file gets created and now the Roles Wizard is coming up as expected for CD. 

 
Attachment: RolesWizard.zip
Posted: May 02 2007, 02:06 PM by jscheffelmaer | with 12 comment(s) |
Filed under: ,

Comments

drunen said:

I was discussing the issue that this mod addresses with my colleagues today.

This is exactly what we need!

The ability for a technician in the field the ability to choose which role(s)should be applied to a specific system.

I am going to try this mod as soon as I find some time. (Hopefully prior to Tech Ed as have soo many BDD questions that need answering)

# May 28, 2007 1:29 PM

drunen said:

Jason,

I am finally getting around to implementing this in my LAB. Our organization will benefit for this functionality. Perhaps Michael N. and the team will add this in a future release?? lol

Many thanks for this contribution to the community.

Dan Van Drunen

# September 11, 2007 2:10 PM

hueby said:

Jason,

Does your modification work with Deployment Center 4 also?

I don't see any new posts, is this functionality built into DC now?

Eric

# February 21, 2008 1:11 PM

hcortez463 said:

also interested to see if this works with the new BDD

# March 26, 2008 7:45 AM

joshwaagmeester said:

Do you have an update for MDT 2008?? Or will this release work?

# March 26, 2008 4:06 PM

jscheffelmaer said:

I am sorry for the delay but I have not yet tested the Roles Wizard with MDT/SCCM but plan to do that here in the next month.

# May 7, 2008 12:55 PM

mrainville said:

I am currently trying your script on MDT2008. There are no roles showing and when I check the log, even though PE connects to the SQL share with the good credentials, it tries to connect to the database with NT AUTHORITY\ANONYMOUS. Is there a way to fix this?

Thanks.

# May 30, 2008 8:56 AM

jscheffelmaer said:

By chance if you open up the security for the BDD database alone does the Roles then populate?

It's simply using the same ztigather process to query the database that MDT uses so it *should* be using the same credentials.

# May 30, 2008 9:36 AM

mrainville said:

My bad, I had errors with my login name. But now, even though the log shows the query returned 4 results, I see none. I get a No Selectable Views error instead.

# May 30, 2008 4:37 PM

mrainville said:

**edit**

The correct error is :

No Roles are available (selectableRoles view)

but my view works in sql, and I can see the 4 roles. Also, the log file tells me it returned 4 results.

# May 30, 2008 4:52 PM

jscheffelmaer said:

Ahh yes, I believe some others had issues with this error as well.  I have yet to see exactly the error on this, but as a workaround you can modify the wizard to work around the selectableRoles list property that is broken.  Let me find the details for that.

# May 30, 2008 7:09 PM

jscheffelmaer said:

I have posted a new blog on adding this Roles Wizard into the SCCM/MDT process.  This new process is much cleaner and easier than this old one.  It can be found here: myitforum.com/.../sccm-and-roles-wizard-via-mdt-database.aspx

Let me know if you have any problems with this new procedure and Roles Wizard via SCCM/MDT.

# June 2, 2008 4:39 PM