Hi,
I need to change the local systems date and time from within my app. The article I'm using as a base is When I run it on Win10 I get "A required privilege is not held by the client" dialog. It does not ask to elevate. I have also need this functionality before, for writing to the registry's hkey\local machine and some other usages.
So, How do I elevate this so the process can run WITHOUT making security changes to the client's system. It is ok to ask the user for permission to elevate. Currently, I'm asking the user to change the date to current values. The purpose of this is to do it for them.
Thanks,
Stanley
I need to change the local systems date and time from within my app. The article I'm using as a base is When I run it on Win10 I get "A required privilege is not held by the client" dialog. It does not ask to elevate. I have also need this functionality before, for writing to the registry's hkey\local machine and some other usages.
So, How do I elevate this so the process can run WITHOUT making security changes to the client's system. It is ok to ask the user for permission to elevate. Currently, I'm asking the user to change the date to current values. The purpose of this is to do it for them.
Thanks,
Stanley