Hi at all,
I hope my english is good enought to explain my problem to you.
I have a Win 10 PC and there are 2 Accounts on it, Admin and Employees. The Pc is going to be for the cash counter in a Bar.
So Employees shouldn´t have rights to change the system at all.
The Programm for the Cashcounter needs admin rights.
If I start by Contextmenu "run as administrator" I need to promt the admin Password and it works great.
unfortunately i can´t give the admin pw to the employees of course. So I need an option to start that Program with admin rights or as admin without needing to type the pw.
the runas.exe should do the trick, but when I start the programm - It dumbs with the first click. It starts as admin but wont run. So there might be a difference in using Contextmenu "run as administrator" and the command in the .ink-file:
runas /profile /savecred /user:Admin "C:\Program Files (x86)\Cashcounter\cashcounter.exe"
Does anyone know why or even better, does anyone know how to get the Programm to run as admin without needing to type in the Password.
Thanks in advance and best regards
Richarde
I hope my english is good enought to explain my problem to you.
I have a Win 10 PC and there are 2 Accounts on it, Admin and Employees. The Pc is going to be for the cash counter in a Bar.
So Employees shouldn´t have rights to change the system at all.
The Programm for the Cashcounter needs admin rights.
If I start by Contextmenu "run as administrator" I need to promt the admin Password and it works great.
unfortunately i can´t give the admin pw to the employees of course. So I need an option to start that Program with admin rights or as admin without needing to type the pw.
the runas.exe should do the trick, but when I start the programm - It dumbs with the first click. It starts as admin but wont run. So there might be a difference in using Contextmenu "run as administrator" and the command in the .ink-file:
runas /profile /savecred /user:Admin "C:\Program Files (x86)\Cashcounter\cashcounter.exe"
Does anyone know why or even better, does anyone know how to get the Programm to run as admin without needing to type in the Password.
Thanks in advance and best regards
Richarde