Hi
I have a (rather groovy) systems checks script which we run every morning and every evening. This script collates the results into an email using
Following a review of security we decided to remove Domain Admin rights from our normal accounts and create secondary admin accounts with which we run things like AD Users And Computers using the RunAs command.
That's all good EXCEPT that now the checking script fails when run under our normal accounts because of lack of permissions to the resources/services being queried.
SO, we just run the script using RunAs under the context of our admin account.
This would be fine EXCEPT that the
line fails because it's already running.
There's got to be an easy way to either
1) Open a second instance of Outlook under the Admin account or
2) better still, use the existing instance of Outlook.
Is there?
JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, and so on)[/small]
I have a (rather groovy) systems checks script which we run every morning and every evening. This script collates the results into an email using
Code:
Set objEmailClient = CreateObject("Outlook.Application")
That's all good EXCEPT that now the checking script fails when run under our normal accounts because of lack of permissions to the resources/services being queried.
SO, we just run the script using RunAs under the context of our admin account.
This would be fine EXCEPT that the
Code:
Set objEmailClient = CreateObject("Outlook.Application")
There's got to be an easy way to either
1) Open a second instance of Outlook under the Admin account or
2) better still, use the existing instance of Outlook.
Is there?
JJ
[small][purple]Variables won't. Constants aren't[/purple]
There is no apostrophe in the plural of PC (or PST, or CPU, or HDD, or FDD, and so on)[/small]