* * *

Author Topic: "Program may need admin permissions"  (Read 1622 times)

lainz

  • Hero Member
  • *****
  • Posts: 1801
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: "Program may need admin permissions"
« Reply #15 on: January 12, 2017, 06:43:56 pm »
Something like trying to write something in program files, accessing the registry..
I think not in this case, because for legacy program used virtual storage. If you have such programs, then in %LOCALAPPDATA%\VirtualStore\ will be virtual "Program Files" and "Windows" for they.

That is for those programs with no manifest or with manifest with no specific OS support? And from wich version of Windows?

Because I sometimes need to run as administrator some applications that can't read/write to program files.
« Last Edit: January 12, 2017, 06:48:43 pm by lainz »

ASerge

  • Sr. Member
  • ****
  • Posts: 268
Re: "Program may need admin permissions"
« Reply #16 on: January 14, 2017, 06:21:56 pm »
That is for those programs with no manifest or with manifest with no specific OS support? And from wich version of Windows?
Better refer to the developer documentation. For example https://msdn.microsoft.com/en-us/library/bb530198.aspx. And it can be disabled: https://technet.microsoft.com/en-us/library/dd835564%28WS.10%29.aspx#BKMK_Virtualize.

lainz

  • Hero Member
  • *****
  • Posts: 1801
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
Re: "Program may need admin permissions"
« Reply #17 on: January 14, 2017, 08:17:09 pm »
Thankyou. Yes is what I think was happening, the manifest should not include requestedExecutionLevel to be virtualized. Some of the applications I tell has a manifest asInvoker, but should be executed as administrator to work, that's the problem.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus