How to install Apps on the C drive

How to install Apps on the C drive


Product Line:  VERDE

VERDE version: ALL

Host/Server: All

Guest/Image: Windows

Client/Workstation: N/A

 

ISSUE: 


Often, customers need to install applications on the Windows images C: Drive.

In Windows Vista and higher, you can use the built-in "mklink" command to redirect either files or folders and create symbolic links. For instance, for an app that is required to read c:\windows\termreg.ini for per-user customization, run the following command:


mklink c:\windows\termreg.ini d:\termreg.ini


The following should occur that shows the symbolic link was created: 


symbolic link created for c:\windows\termreg.ini <<===>> d:\termreg.ini

 

and from that point on, each dynamic user has their own c:\windows\termreg.ini.



This can also be done for directories by using the /D switch.  

 

Note: Windows XP can use the "junction" tool from sysinternals instead of "mklink", but it can only do directories, not files.