Tag Info

New answers tagged

0

You can do this via Scheduled Tasks. Create a new Scheduled Task to start your program. You must create the task as the user who will run the program, or the user may not be able to see the task. Once created, change the credentials used for the task to be a user with administrator privileges. You must also set the task to Run whether user is logged on or ...


0

Solution WITHOUT creating shortcuts: You can download the Microsoft Application Compatibility Toolkit (just download it from www.microsoft.com). Once the toolkit is installed, the rest of the instructions are more complex, but they are very well detailed and explained in the link http://meridian.ws/wordpress/?p=306 This solution is good for skipping the ...


0

I don't think there is anything built into Windows that can show this information on the command line. Even PowerShell doesn't seem to help without calling Win32 functions. SysInternals AccessChk may work for you: .\accesschk.exe -p powershell.exe -e ran elevated, shows: [3256] powershell.exe Medium Mandatory Level [No-Write-Up, No-Read-Up] RW ...


0

You could check with tasklist command Try tasklist /v which will give you the process which process have which rights Syntax: tasklist /v Sample Usage: tasklist.exe /FI "username eq system" /v which will list processes run by the system user.


0

I had that problem with one app. At startup popup a window to permit it to run, I used many answers but the solution was to click on Unblock in Properties.


0

Have you tried running the program as administrator? Right click on the icon and select "run as administrator" from the context menu. I'm curious. What program needs to write to win.ini in this day and age and why?


1

You should not use the local Administrator account for your regular business. However, you can create just a "regular" admin account so that you are able to turn on UAC. I know that you are frustrated because UAC takes a restart to take effect, but you are better off living with UAC on permanently to handle 75% of your cases (that most programs have too ...


0

That helps for me: SET HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA value to 1


1

In your exec-command inside the your application you could use the Windows built-in command runas. For example: runas /noprofile /user:mymachine\administrator "C:\Program Files\MyApp\Myprog.exe" (you can probably omit the domain mymachine\ in your environment) A different solution would be to make the comparison in a temporary directory with full ...



Top 50 recent answers are included