Change the 'start in' path of a desktop shortcut to match the name of the computer, during deployment via MDT media.
Tuesday, November 27, 2012 1:20 PM
Hey everyone, and thanks for any useful advice or clever thoughts in advance :)
I'm trying to create and deploy an image of a window 2012 server environment for my work, and have been struggling with the following problem for quite a while:
On the image I'm trying to capture, we will need to have a desktop shortcut, which simply opens up a browser with a specific URL, namely it connects to itself (IIS is already running). I will therefore have to connect to the name of the computer*, followed by some specific path. The problem is then, that the users of this image want to be able to choose the name of the computer during deployment, which causes the name of the computer to differ on each deployment.
- Is there any way, to change the 'Start in' path of the shortcut, after then name of the computer has been set during the deployment? Can a registry entry in the 'RunOnce' maybe be used here?
- And if it's possible to change the path, would it be possible to extract the name of the computer, and change it to this?
* Due to different situations, where other devices will have to connect to the application, I'm told that neither 127.0.0.1, nor localhost will work here, since the external devices are using this specific path, when they try to connect. The IPv4 address won't work either, since the servers not always will be stationary, and conflicts in IP addresses might cause system errors.
I appreciate any advice at all, and will gladly answer any questions, that might be helpful in solving this :)