Question How to run an app as admin permanently but only have to type the pin once?

Feb 28, 2024
23
0
10
Probably command syntax was not correct.
Can you show command line, you used?
Well i just put /user:ComputerName\Username /savecred "C:\path\to\file.exe" in the new shortcut

with the name of my PC, the name of the admin, and the application path. Then I clicked on the shortcut that I made and it opened a command prompt and asked me to enter the admin code, and so I did, and I entered, but then the command just closed and literally nothing happened (visually). Sorry if that's not what you meant (and Im not planning on sending a screenshot cuz that would show my computer name and account name n stuff)
 
Well i just put /user:ComputerName\Username /savecred "C:\path\to\file.exe" in the new shortcut
Please show exact syntax, you used.

You can replace middle of your computername and username with * symbols.
So ComputerName\Username would result in C***e\U***e
If you're using microsoft account, then you do not specify computername, you specify your ms account name only - like
email@somewhere.net

BTW - there is no private info in your Computername.
Also no private info in your username unless you're using MS account.
 
Last edited: