I am using this

start /b C:\wamp\wampmanager.exe

command to start a program in my windows( Windows 7 Ultimate - 64 bit).

But then the program want a permission to run

Do you want to allow the following program from an unknown publisher make changes to this computer

Is there any way to give this permission as a parameter to the star command or using another command so that the program start with this permission and don't ask.

  • You don't indicate which version of Windows. There is a well known workaround for Win 7 and Vista (I'm unaware of whether it works in Win 8). see: howtogeek.com/howto/windows-vista/…. The gist is that you create a task in the Task Scheduler that already has UAC permission, then call that task. – fixer1234 Dec 9 '14 at 17:01
  • it is " Microsoft Windows 7 Ultimate 64 bit" – Saif Dec 9 '14 at 17:03
  • 1
    That workaround should work. This link describes four different ways to do it: raymond.cc/blog/task-scheduler-bypass-uac-prompt – fixer1234 Dec 9 '14 at 17:08
  • disabling UAC is a way to stop the confirmation message. Can i do anything without disabling it, like giving permission before asking ? – Saif Dec 9 '14 at 17:11
  • That's what the workarounds do. They provide permission for a single task. Disabling UAC or reducing its sensitivity is dangerous. – fixer1234 Dec 9 '14 at 17:17

This issue has actually been discussed in a number of previous SU questions and answers, such as these and others:

You generally want to solve the problem in a manner that gives permissions to a specific program rather than reducing the UAC protection in general. Some of the solutions include:

  1. Using a third party utility to create a UAC workaround for the program, such as these and others:

  2. Creating a Task Scheduler task with elevated privileges. This is discussed in several of the above mentioned links and web links with the details are plentiful. This one shows the procedure in detail: task-scheduler-bypass-uac-prompt. The gist of this technique is that you create a task with elevated privileges and then call that task.

  3. Invoking a command such as runas or elevate (may require Powershell).

  4. Modifying the characteristics or settings of the program use Microsoft's Application Compatibility Toolkit "to shim the application with the RunAsInvoker fix, which forces the app to run with your standard user tokens". (This one is probably best left for advanced users.)

The Task Scheduler technique doesn't require any other utilities and is pretty straightforward to set up.


This prompt can be ignored by two methods, but reducing UAC sensitivity only. Try this methods and check you outcome.

  1. Select the "Change when these notifications appear" link at the bottom of the "Do you want to allow the following program from an unknown publisher to make changes on this computer" window. This way the 'UAC' reduces the sensitivity of the access control of the executable

  2. Disabling UAC option. Start > Search box > Action Center > "Change User Access Control Settings" > now, reduce the sensitivity of the access control and check your results.

Hope this helps.

  • so there is no option without reducing the UAC sensitivity. ? – Saif Dec 9 '14 at 17:16
  • Reducing UAC sensitivity exposes you to the risks UAC is there to protect you from. A better solution is to use one of the methods that just runs a specific program with elevated privileges. – fixer1234 Dec 9 '14 at 17:20
  • Yes, you don't have other fix to eliminate the message – vembutech Dec 9 '14 at 17:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.