Run .exe has administrator, automatically in User limited account when they logon RRS feed

  • Question

  • Hi Everybody,

    There is one program, for example:- abc.exe. This program is in startup folder, whenever user logins it run, but it gives me error.

    but when i run this same abc.exe as run as administrator, it runs properly.

    Now, my question is how should i run this program successfully by not giving admin password to User.

    Note:- 1) i have given full rights to abc.exe folder and it's sub folder.

    2) Client OS - Window XP

    3) Server OS - Window Server 2008 R2 ( Domain Controller )

    Thanks & Regards,

    Wednesday, June 13, 2012 3:56 PM


  • Create a BAT File in MS Dos and place a code like below there.

    runas /savecred /user:ComputerName\UserName "c:\%ExeFileLocation%"

    Here Edit this code as per your Requirement. 

    Computername is your Server name which is create in Windows Server for Remote log in purpose. Then Username is Administrator or Name of Admin Account, of which you don't want to display password. Then type Path of File abc.ex as in mentioned format. 

    For the first time your Run this Bat File, Windows will ask you for password and it will be automatically saved and a normal user can even Run the applications wihh Administrator Rights.

    I have the same Trick and this is working in my organization, Check at your end. 

    Tuesday, June 19, 2012 6:59 AM