martbasi Posted July 28, 2015 Report Share Posted July 28, 2015 hi, I'm fairly new to imaging & deployment configuration, hoping someone can advise me a bit. How might I approach getting SmartPE to use a vbs to update SmartDeploy.xml? (//identification/custom_naming_scheme) In my current (MDT) environment we use an incrementing computer naming scheme of PC-xxxxx. Our MDT runs a vbs that: 1. queries a SQL value (the last PC-# that was issued) 2. updates that value to increment by +1 3. sets the new value as OSDComputerName for LT to use I've modified the script so that step 3 now updates an xml file instead, but am unsure how to implement it with SD, bake it into the PE iso. Link to comment Share on other sites More sharing options...
SmartDeploySupport Posted July 28, 2015 Report Share Posted July 28, 2015 Hello, If i'm understanding correctly, you won't need to update the SmartDeploy.xml and run your task as a pre-image task. Here is a good forum post regarding tasks: http://deploycentral.com/topic/272-adding-a-task-or-multiple-tasks-to-smartdeploy-image/?hl=tasks Thanks, SmartDeploy Support Link to comment Share on other sites More sharing options...
martbasi Posted July 29, 2015 Author Report Share Posted July 29, 2015 Thx. I added an "After image is applied" task that ran the vbs and seemed to successfully update the \Windows\Panther\unattend.xml file in the freshly imaged drive ... this is what's used by sysprep when the imaged OS boots right? But it didn't take, as if something reverted/overwrote it again after my process ... the computer booted up with the old, pre-task name, derived from SmartDeploy.xml. Link to comment Share on other sites More sharing options...
martbasi Posted August 18, 2015 Author Report Share Posted August 18, 2015 As I said, new to deployment Got this working as suggested with a pre-image task. VBS makes its edit to T:\windows\panther\unattend.xml Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now