Re: running .bat files



Yes on Batch job and service. I do not see the rights to start and stop
services.


"Al Dunbar" <AlanDrub@xxxxxxxxxxxxxxxxxxx> wrote in message
news:eQ$0eOhVIHA.1184@xxxxxxxxxxxxxxxxxxxxxxx
And has it the rights to stop and start services?

/Al

"Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
news:ff16fb667c1978ca2134c3300d63@xxxxxxxxxxxxxxxxxxxxxxx
Hello Kevin,

Has the account the rights "Logon as a bacth job" and "Logon a s a
service"

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and
confers no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.dts-l.org/goodpost.htm

I have a scheduled task that calls a .bat file. I can run it fine if
I set the user account that it runs as as Administrator, but I can't
if I set it to a defined account that is in the users group.

I've seen the posts that I have to give execute permission to the
cmd.exe application, but that didn't fix it. It still errors out.

In the bat file, I'm trying to do a net start and net stop of a
service. Can anyone think of another way to achieve this or how to set
permissions so this works properly?

Thanks.







.



Relevant Pages

  • Re: Reboot command no longer works in Task Scheduler
    ... What kind of account do you use for the task, ... Did you grant the user rights assignment "Logon as a batch job" and "Backup files and directories"? ... "Meinolf Weber" wrote: ...
    (microsoft.public.win2000.general)
  • Re: Authenticating a user on Windows Server 2003
    ... > missing privileges (by privileges I mean rights on the acct i.e. does the ... > client user acct have interactive logon privileges and other necessary ... > Are you able to execute "runas" successfully as the user account (with the ...
    (microsoft.public.platformsdk.security)
  • Re: batch file schedule fails on windows server 2003
    ... backup operation. ... requested logon type at this computer. ... Created a dedicated account and added it as member of administrator ... After adding the user to Logon as a batch job, ...
    (microsoft.public.windows.server.general)
  • Re: batch file schedule fails on windows server 2003
    ... backup operation. ... requested logon type at this computer. ... Created a dedicated account and added it as member of administrator ... How can I set the account to log on as a batch job, ...
    (microsoft.public.windows.server.general)
  • Re: IIS 5 Authentication problem- solved
    ... In Local Security Policies/User Rights Assignment I had ... Can you log in using an administrator account, ... >> case there is no group, it is just the one server, ... >> interactive logon or using basic authentication. ...
    (microsoft.public.inetserver.iis.security)