MDT LTI with Roles Database (Full Version)

All Forums >> [Management Products] >> Operating System Deployment



Message


sharino -> MDT LTI with Roles Database (4/29/2008 9:05:19 AM)

I am using MDT with a database setup. When I assign an application the the Make and Model it applys fine when using Litetouch. If I add the same app to a Roles group and assign that group to the Make and Model instead, it will not apply.

Here is my custom settings.ini file. I believe it is setup correct:

[Settings]
Priority=MMPackages, MMRoles, MMSettings, MMApps, MMAdmins, Default
Properties=MyCustomProperty

[Default]
OSInstall=Y
UserDataLocation=NONE
SkipAppsOnUpgrade=YES
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
OSInstall=Y
SkipComputerBackup=YES
ComputerBackupLocation=none
[MMSettings]
SQLServer=srv-BDD-01
Instance=SQLEXPRESS
Database=MDT
Netlib=DBNMPNTW
SQLShare=\\srv-bdd-01\share
Table=MakeModelSettings
Parameters=Make, Model
[MMApps]
SQLServer=srv-BDD-01
Instance=SQLEXPRESS
Database=MDT
Netlib=DBNMPNTW
SQLShare=\\srv-bdd-01\share
Table=MakeModelApplications
Parameters=Make, Model
Order=Sequence
[MMAdmins]
SQLServer=srv-BDD-01
Instance=SQLEXPRESS
Database=MDT
Netlib=DBNMPNTW
SQLShare=\\srv-bdd-01\share
Table=MakeModelAdministrators
Parameters=Make, Model
[MMPackages]
SQLServer=srv-BDD-01
Instance=SQLEXPRESS
Database=MDT
Netlib=DBNMPNTW
SQLShare=\\srv-bdd-01\share
Table=MakeModelPackages
Parameters=Make, Model
Order=Sequence
[MMRoles]
SQLServer=srv-BDD-01
Instance=SQLEXPRESS
Database=MDT
Netlib=DBNMPNTW
SQLShare=\\srv-bdd-01\share
Table=MakeModelRoles
Parameters=Make, Model




rbennett806 -> RE: MDT LTI with Roles Database (4/30/2008 10:09:20 PM)

Have you tried backing up your current CustomSettings.ini file and running the database configuration again and just adding ALL the information to your CustomSettings.ini file? That way you're sure you've got everything entered for next time.

The reason I say that is because it sounds like you're not pulling in the role information. Honestly, it's been a LONG time since I've messed with the CustomSettings.ini file simply because I lob it all together and have everything including the kitchen sink in in the CustomSettings.ini file. You can see a sample file in the document located here: http://www.myitforum.com/articles/8/view.asp?id=11032

(I'm assuming that you've updated all your DPs)

Of course, I could be wrong...




jscheffelmaer -> RE: MDT LTI with Roles Database (5/2/2008 4:52:18 PM)

The reason why your role is not applying the appication is because you don't have the query for that information from the database in your Priority list.

If you look at your list here:
Priority=MMPackages, MMRoles, MMSettings, MMApps, MMAdmins, Default

You are getting everything for Make/Model from the database, incuding the Role you assigned to that make and model.  But you are not doing anything with that Role. What is missing is the RApps (and if you had Role Settings or packages it would be: RSettings, RPackages, accordingly). 

Simply right click your distribution point again and click Configure Database. It will walk you through which queries you want to run against the database.  When you get to the Roles pane, make sure to select the Apps one for your particular case.  You should now then see the new entries in your customsettings.ini on the Priority line and the database settings down below.

And for future recommdation:  If you plan to start using the database even more, you may just want to go ahead and enable most all of the queries via the configure database wizard to avoid this scenario and troubleshooting in the future. :)  The downside to enabling all the queries is a tiny amount more latency during the ZTIGather phase of the process, depending how fast your connection to the DB is, always worth testing.

Jason Scheffelmaer




sharino -> RE: MDT LTI with Roles Database (5/26/2008 11:45:35 AM)

Works now, thanks for the fix and the explanation!




sharino -> RE: MDT LTI with Roles Database (6/16/2008 3:51:05 PM)

I am having another similar problem. I have a couple of apps applied to Make and Model, as well as some different apps applied to a Role, which is applied to the same Make and Model. I cannot get it to install everything.  Ican get either or working by removing one. Is it possible to do it this way?




jscheffelmaer -> RE: MDT LTI with Roles Database (6/16/2008 6:35:04 PM)

It definately should be possible. Check your BDD.log and see if there is any issue in processing either the Role or the Make/Model entry in your ini.




sharino -> RE: MDT LTI with Roles Database (6/17/2008 8:39:55 AM)

I am getting this error:
A VBScript Runtime Error has occurred:  Error: -2147024891 = Access is denied.

VBScript Code:
-------------------
window.resizeTo 700,500

Strange thing is, I get this error sometimes when booting to WinPE litetouch CD also, but its intermittent.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.1875