Re: Problem with Performance Monitor Alerts and "Run As" command

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi Jon,

This was a great help, This lead me to the Microsoft article:
http://support.microsoft.com/kb/867466

Which explained it all.

Thanks a lot.

Daniel.

"Jon" wrote:

If it runs as an admin then there must be a permissions problem.
First check that the account has read and execute permissions to the
script that you are running, and also that BATCH has permissions to
the script interpreter

e.g. If you are running cmd /c .... or cscript .... then find cmd.exe
or cscript.exe and give BATCH read and execute permissions.

Hope this helps

Jon


On Feb 7, 3:55 am, Daniel Clemow <Daniel
Cle...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
I have encountered this problem on two servers, one Win2003 sp1, and the
other SP2. I'm trying to create an alert for a low disk space condition, and
have a script all configured, and an account for the "Run As" that is a
member of "Performance Log Users" and "Performance Monitor Users", has log on
locally permission, and can actually run the script without problems when
logged on.

When creating the Performance Alert and this user is put into Administrators
group it runs ok, but that's not ideal.
When taken out, the error below is created in the Application Event Log:
Source: SysmonLog, Event ID: 2038
Unable to execute command '' for the Low Disk Space alert. The alert will
continue as scheduled. The error code returned is in the data.

I have attempted to dumb down the script, in case there's a problem with
something in it, so even just : time /t > c:\temp\test.txt doesn't run.

Also - another observation is - the program does not even attempt to run at
all of no command line arguments are selected - another bug?

Can anyone else reproduce this problem, or even better know how to resolve?
I'm hoping it's something I haven't got right rather than having to wait for
a bug fix.

I would LOVE to get this resolved! :-)


.



Relevant Pages

  • Re: Problem with Performance Monitor Alerts and "Run As" command
    ... If it runs as an admin then there must be a permissions problem. ... First check that the account has read and execute permissions to the ... script that you are running, and also that BATCH has permissions to ... When creating the Performance Alert and this user is put into Administrators ...
    (microsoft.public.windows.server.general)
  • Protecting against dDOS bots (was: Newbie php problem)
    ... The form mail script posted that was used, ... requires the applicant to pass some kind of Turing test, ... Turing test if the account balance ever drops to zero. ... Log into the same account repeatedly, which consumes your credit ...
    (alt.php)
  • Re: Entourage account setup applescript not working
    ... I pasted the script at the end just in case. ... When comparing the account settings on 2 computers, ... This script assists a user with the setup of his Exchange account ... Customize the network and server properties below with information ...
    (microsoft.public.mac.office.entourage)
  • Re: Error 15401 using sp_grantlogin (not addressed by current KB articles)
    ... Restarting Windows 2000 resolved the problem for this particular account, ... confused when it sees a duplicate SID. ... > One way to get SQL Server to agree with the renamed NT ... > Preview (to ensure the script was created), ...
    (microsoft.public.sqlserver.security)
  • Re: Local account creation
    ... While this script works fine for my 2003 environment, ... use the script in a startup GPO so that there a generic local admin account ... Dim objNetwork, strComputer, strUser ...
    (microsoft.public.windows.server.scripting)