How to run the program with user rights? Through Delphi, and if possible, without a password from the administrator.

    1 answer 1

    Elevation of rights by means of UAC is not the most trivial task, but in MSDN this topic is considered quite well .

    There is also an interesting present on this topic.

    Shl. The admin password is likely to be entered.

    • Unfortunately, this is not that ... - NIXON_NB
    • What are you exactly interested in? - Nofate
    • How to create a bat file without admin rights? And then I have an ERROR: Fail access denied (access denied); = ( - NIXON_NB 1:21
    • And you create it in what directory? - toxicdream
    • 2
      in 7k to write to the root of С:` нужна права админа. Сохраните хотя бы в С:` нужна права админа. Сохраните хотя бы в C: \ TEMP`. Or deal with the "distorted letters." - Nofate