Posted in another place but might get answer here too. Need to figure out asap.
I have a program that has a config file inside "/programdata/myprog/" so no one can "see" it unless they have access to hidden files. It needs to be edited anyway and that cant be done unless they have admin rights.
The file points the user to the correct IP address for the program to work. I already tried making batch/shortcut with admin and evn tried run as admin (for those who called and asked)
This worked for ME and for some people but not for others. When I check their copy of "getthere.cfg" it is still the old one.
I need to edit their "getthere.cfg" file to change the only occurrence of an IP (example)"126.96.36.199" to IP "188.8.131.52". These people are located all over the place and so far I have had to connect to each of them with Teamviewer or other and do it for them.
How can I send them a script that will run "as admin" on their system to open "c:\programdata\myprog\getthere.cfg" and change that ONE IP address.
Even if I send them the new config file they can't insert it without having admin privileges and I would never tell any of them how to get that
And it has to be a one click fix. Trust me, that is all they can handle.