Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.

ConfigMgr–Update Driver Source Paths Script

I was recently at a client and we were condensing down their hierarchy and retiring a few servers. After we had replicated all the packages between the sites, we needed to update the application source paths to reflect the new location. I already had a script to that and create a log that would identify all the changes.  We also needed to update all the drivers in the database with the new source paths as well.  I modified my package script to do the same for drivers and log the changes in a nice friendly log.


This script uses the MDT wsf format so that we can output a nice readable log.


Here is a sample output of what the log looks like.




Script is attached to this post. UpdateDriverSourcePaths

  • Nice! Thanks for sharing!

    Do you think that something like this can also be made for just packages?



    August 12, 2011

  • sorry for the dumb question, how do you use this script?


    October 4, 2013

  • you need to modify the script for your site server and paths


    October 5, 2013

  • I have been looking at your script and I’m not very strong on scripting and have been having trouble trying to figure out how to change it. currently when I run the script without modification it see the older server as the current path for the packages, which is the 2007 site server, but it also see the current path as the new server location as well. The new location is a DFS node, how do I modify the script to make the new server the dfs node?


    November 17, 2013

  • The script is a simple find and replace. So it’s just replacing the server name in the database.


    December 4, 2013

Leave a comment  




Submit comment