How to install Atl service program using batch file on vista

  • Thread starter Thread starter rajendersaini@gmail.com
  • Start date Start date
R

rajendersaini@gmail.com

Guest
Hi

We have a application where we install win32 service program using
bath file . But on vista it fails by error access denied.

we have to run cmd.exe from system32 as administrator as work around.

can we have some env settings in batch file where in it atomatically
run under administrator account not as standard user.

Thanks
Rajender saini
 
<rajendersaini@gmail.com> wrote in message
news:1185195079.972835.271360@i13g2000prf.googlegroups.com...
> Hi
>
> We have a application where we install win32 service program using
> bath file . But on vista it fails by error access denied.
>
> we have to run cmd.exe from system32 as administrator as work around.
>
> can we have some env settings in batch file where in it atomatically
> run under administrator account not as standard user.
>
> Thanks
> Rajender saini
>


Again the application vendor needs to write properly compatible Windows
Vista software and install the services as part of the setup routine using
the appropriate APIs and also ensure that the service processes are marked
as necessary for elevated privilege use or use an appropriate account to run
as.

--

Mike Brannigan
 
Back
Top