/build/static/layout/Breadcrumb_cap_w.png

UAC error - Windows Cannot Access Q:\\javacpl.exe (Java Control Panel) on App-V 4.6 SP1 / Windows 7 SP1

Hi,

I'm trying to get Java 6 update 21 to work by installing to a Q: drive location as various recipies suggest is possible. At the moment I am launching the "Java(TM) Platform SE binary 6.0.210.8.osd" via the sfttray /EXE cmd.exe /LAUNCH approach. I'm logged on as a local admin.

This works fine if the sfttray has been "Run As Administrator". I'm able to go to the Q: drive location and run the javacpl.exe no problems. But if its run via a normal cmd prompt, I get a "Network Error : Windows Cannot Access ...." error. It affects some of the exes in this directory, but javaws.exe has no problems for instance.

If I perform the same installation to a local drive/partition Q: drive rather than the App-V mount point, I get a normal UAC prompt for elevation. Any ideas how I tell UAC that the Q: drive is actually not a network drive and prompt the user for elevated rights? I've tried setting XP SP3 compatibility for the exe but still no joy.

Any ideas? If I can get UAC to correct detect that it's not on a network drive that would be a great start. Otherwise, how can I tell it to ignore this file? I'd rather not fall back to a VFS install unless I really have to.

Thanks.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: vkleiner 11 years ago
Orange Senior Belt
0
Hi,
try to remove the "Enforce Security Descriptors" within the Sequncer tab of Deployment.
/vkleinerde

Comments:
  • Hi,
    That's in place already. A normal (non admin) account doesn't have the problem; it's only if they are an admin. I know UAC can detect if an app wants to write to HKLM or Program Files, but why not just raise the UAC prompt? - dangle 11 years ago
  • create environment variable _Compat_Layer=RUNASINVOKER - Visalakshi 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ