Le 16/06/2021 à 00:31, James Richters via fpc-pascal a écrit :
In order to change the value I want to change, I need to run my program as
administrator, is there a way to change to administrator with a request from
within the program?
I guess I could make just a small program that changes the key I want to change
and launch that in administrator mode from the main program.. just curious is
there was a way to do it with a single program.
I've never done this but I think you dig about privilege elevation on
Microsoft Developer Network website:
https://docs.microsoft.com/en-us/search/?terms=privilege%20elevation
I think there is a way to do this with a single program.
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal