Hello
I imagine this should be an easy answer since there must be others wanting to do the same thing but I have searched the internet and I cant find an answer. I am trying to deploy applications from a DFS share during the MDT process - the DFS share is on the same server as the MDT share but its on a separate drive. I have a main server mdt01 where I configure MDT and copy any software into the DFS share that I need. There are 2 other servers (mdt02 and mdt03) that replicate the changes for both MDT and DFS - the servers are located at different sites. What I want to happen is that when a client computer is imaged it uses the correct server for the site it is currently at and also the right DFS share on the same server. Sending the image from the site where the client machine is at is fine but I am struggling with pointing MDT to the correct DFS share. So I need to specify the working directory for an application and if I do something like this \\mdt01\dfs$\Microsoft\Office - this works fine. But I want the server name to be dynamic because if the image is being installed from mdt02 then it should use the DFS share on mdt02 not mdt01. So is there a way of doing this?
I've been trying to write a script to map a drive among other things but I just cant figure this out!
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hello
I imagine this should be an easy answer since there must be others wanting to do the same thing but I have searched the internet and I cant find an answer. I am trying to deploy applications from a DFS share during the MDT process - the DFS share is on the same server as the MDT share but its on a separate drive. I have a main server mdt01 where I configure MDT and copy any software into the DFS share that I need. There are 2 other servers (mdt02 and mdt03) that replicate the changes for both MDT and DFS - the servers are located at different sites. What I want to happen is that when a client computer is imaged it uses the correct server for the site it is currently at and also the right DFS share on the same server. Sending the image from the site where the client machine is at is fine but I am struggling with pointing MDT to the correct DFS share. So I need to specify the working directory for an application and if I do something like this \\mdt01\dfs$\Microsoft\Office - this works fine. But I want the server name to be dynamic because if the image is being installed from mdt02 then it should use the DFS share on mdt02 not mdt01. So is there a way of doing this?
I've been trying to write a script to map a drive among other things but I just cant figure this out!
Please can you help me out?
cheers
Dan
Share this post
Link to post
Share on other sites