Tuesday, July 18, 2017

Installing programs when mydocs is on network share

Some programs will crash on install when your my documents is located on a mapped drive on a network share.  The reason is that the mapped drive is associated with your user account, and the install uses the administrator account to install the program.  Thus the share does not exist on the administrator account and the program will crash if it starts looking for the mapped drive.

The solution is rather simple.  open up an elevated command prompt (in windows 10 right click on the window menu choose command prompt (Admin)

type in the prompt

net use [mapped drive:]  [networkshare]  
example  If your my documents is mapped to the U drive and its found on \\myserver\myname  folder you would type

net use u:  \\myserver\myname

The admin account has the same mapping as your user account now and you can install the software.

0 Comments:

Post a Comment

<< Home