Article

From:
To:
Remy Lebeau (TeamB)
Subject:
Re: On demand elevation in Delphi applicatio to createfolderin'ProgramFiles' folder [Edit] [Edit]
Newsgroup:
embarcadero.public.delphi.com.activex.using

Re: On demand elevation in Delphi applicatio to createfolderin'ProgramFiles' folder [Edit] [Edit]

> Explorer is a user-space app like any other.  The same rules of elevation 
> apply to it.  It has a UAC manifest that requests "asInvoker" privileges. 
>  Which means if the user that is running Explorer has permissions to invoke 
> those filesystem operations on a given file, then Explorer will be able to 
> do so, otherwise it will be denied like any other app.

But when deleting a file in the 'program files' folder, it is elevated.
Does it use COM at that point or does it just elevate the 'explorer.exe' with some command line parameters?

Is command line parameters are the way, can someone point me to a page, where I can find these so I can use an elevated 'explorer.exe' to delete/create files/folders inside the 'program files' folder (or any other admin privilege required folder).
FYI: Phrase searches are enclosed in either single or double quotes
 
 
Originally created by
Tamarack Associates
Tue, 19 Nov 2024 16:26:57 UTC
Copyright © 2009-2024
HREF Tools Corp.