Hi Dear Community/Microsoft Support,
I have two accounts on my windows right now: Account-1: Admin (A full privileged admin) Account-2: Ahsan (Standard user | Non-admin)
What I want is to run following three applications WITH FULL ADMIN RIGHTS for Account-2 on windows starts up:
1- C:\Program Files (x86)\ASUS\ArmouryDevice\dll\ArmourySocketServer\ArmourySocketServer.exe
2- C:\Program Files (x86)\ASUS\ArmouryDevice\dll\SwAgent\ArmourySwAgent.exe
3- C:\Program Files (x86)\Samsung\Samsung Magician\SamsungMagician.exe
I tried following ways:
Method 1:
Ran Task Schedular (with Admin user); Scheduled the task to run with HIGH PRIVILEGES check; chose with Admin account;  Account-2: Ahsan (Standard user | Non-admin)
What I want is to run following three applications WITH FULL ADMIN RIGHTS for Account-2 on windows starts up:
1- C:\Program Files (x86)\ASUS\ArmouryDevice\dll\ArmourySocketServer\ArmourySocketServer.exe
2- C:\Program Files (x86)\ASUS\ArmouryDevice\dll\SwAgent\ArmourySwAgent.exe
3- C:\Program Files (x86)\Samsung\Samsung Magician\SamsungMagician.exe
I tried following ways:
Method 1:
Ran Task Schedular (with Admin user); Scheduled the task to run with HIGH PRIVILEGES check; chose with Admin account;
Tried both options: 1- Run only when the user is logged on 2- Run whether the user is logged in or not
Method 2:
C:\Windows\System32\runas.exe /user:PCNAME\Admin /savecred "C:\Program Files (x86)\ASUS\ArmouryDevice\dll\ArmourySocketServer\ArmourySocketServer.exe"
put this elevated shortcut in the startup folder.
Method 3:
Ran a windows batch file with following piece of code:
Set ApplicationPath="C:\Program Files (x86)\ASUS\ArmouryDevice\dll\ArmourySocketServer\ArmourySocketServer.exe" cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" %ApplicationPath%"
put the batch file shortcut in the startup folder
NONE OF THE ABOVE THREE METHODs ARE WORKING.
I believe in the past on windows 10, I used to run the ASUS tasks via the task schedular. It just does not work anymore. I am on windows 11 home 22H2 (Build 22621.1702)
Somebody please help me, Please rescue me from entering the admin password three times on windows startup for those three applications that I mentioned above:
I Shall be very thankful. Ahsan.