Re: Exchange rights within SYSTEM account



To execute a query against the Exchange_Mailbox WMI class a user must have
at least delegated View Only Admin rights. What I would suggest you do is
instead of trying to run the job under the system context create a user for
this purpose then delegate it view only admin rights and then set the job to
run as this account. (you need to be carefull of your password expirations
with this account)

Cheers
Glen

<bchris999@xxxxxxxxx> wrote in message
news:1173709768.834735.123280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi all,

I am having a problem with scripting and no ammount of google-ing has
come up with a solution as yet. I have a script which emails me a list
of Exchange mailboxes and their sizes. The script runs perfectly fine
if I login to the server with the admin account, it is based on
http://msdn2.microsoft.com/en-us/library/aa144767.aspx
with a bit of emailing code wrapped around it.

However when I install the script using the AT API for Scheduled
Tasks, it doesnt seem to return any instances of Exchange_Mailbox. The
script runs and emails me a blank log.

How do I get it working under the "NT AUTHORITY\SYSTEM" account (this
is what runs under the schduled tasks)?

It is a standard Exchange 2003 setup running on Windows 2003 SBS.

Thanks
Chris



.



Relevant Pages

  • Re: Exchange rights within SYSTEM account
    ... context as this job ia created and deleted automatically by another ... The script also needs to be able to run regardless of domain / ... How do I delegate View only admin rights to the ... run as this account. ...
    (microsoft.public.exchange.development)
  • Re: Exchange rights within SYSTEM account
    ... You won't delegate to the system account unless the script is running on the Exchange server. ...
    (microsoft.public.exchange.development)
  • Re: Technical question
    ... and then entering an account with Admin rights. ... > the purpose of having a restricted account in the first place. ... Embryon de site: http://gilles.ronsin.free.fr Nouvelle astuce: Script de création de raccourcis cible ...
    (microsoft.public.windowsxp.general)
  • Re: contract users
    ... account with admin rights, I don't want them to be able to ... >If you don't give them a domain account they will only be ... >> have local admin rights or at least power user. ... >> and if I need a script, is there one that is premade out ...
    (microsoft.public.win2000.security)
  • Re: Run a script on all users in an OU
    ... >> order to remove one account from a number of groups, ... > gets cleared when running this script. ... NOT on some of the groups of which he might be a member, ... granted admin rights to the group on the strength of having them on the ...
    (microsoft.public.windows.server.scripting)

Loading