> The application as to re-run itself using ShellExecute so it has to
> know
> if it already runs elevated or not.
>
> To do this I must use :
> GetTokenInformation(
> hToken,
> TokenElevationType
> )
What about:
>>> from win32com.shell
le dahut wrote:
To complete this, the application is launched at logon (via Userinit
registry key). It rewrites paths to StartMenu and Desktop according to
the type of logon (Domain or Local).
Actually it only rewrites when it is a local session and user IsAnAdmin.
The application as to re-run
To complete this, the application is launched at logon (via Userinit
registry key). It rewrites paths to StartMenu and Desktop according to
the type of logon (Domain or Local).
Actually it only rewrites when it is a local session and user IsAnAdmin.
The application as to re-run itself using Shel