I have a small problem when using UAC with Windows 7: My homedrive is on a network share mounted as P: and when entering UAC mode the network shares are not present. This leads to problems with several installers that fail because they can not access this network drive.

My current workaround is to start a cmd.exe in UAC mode and mount a local directory as P: - but that only works temporary and even with net use ... /PERSISTENT the P: drives is gone after the next reboot.

Therefore I am looking for a way to automatically create the P: drive when I enter UAC mode (or alternatively change the HOMEDRIVE environment variable when I enter UAC mode).

Is there a way to define something like a login script that is only executed when a user enters UAC mode?

link|improve this question

57% accept rate
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.