When I try to run the script to add the Antispam feature I get the below, any ideas.
This is a front end server cas and Hub, mailbox at the back.
--------------------------------------------------------
[PS] E:\Program Files\Microsoft\Exchange Server\Scripts>install-AntispamAgents.p
s1
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:43 char:13
+ $agent = <<<< get-transportagent -Identity:$name
Install-TransportAgent : The Transport Agent assembly file "E:\Program Files\Mi
crosoft\Exchange Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transp
ort.Agent.Hygiene.dll" does not exist.
Parameter name: AssemblyPath
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:56 char:27
+ install-TransportAgent <<<< -Name:$name -TransportAgentFactory:$factory
-AssemblyPath:$agentAssembly > $null
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:57 char:40
+ if ($agent.enabled -or ! $agent) { e <<<< nable-transportagent -Identity:
$name }
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:60 char:5
+ g <<<< et-transportagent -Identity:$name
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:43 char:13
+ $agent = <<<< get-transportagent -Identity:$name
Install-TransportAgent : The Transport Agent assembly file "E:\Program Files\Mi
crosoft\Exchange Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transp
ort.Agent.Hygiene.dll" does not exist.
Parameter name: AssemblyPath
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:56 char:27
+ install-TransportAgent <<<< -Name:$name -TransportAgentFactory:$factory
-AssemblyPath:$agentAssembly > $null
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:57 char:40
+ if ($agent.enabled -or ! $agent) { e <<<< nable-transportagent -Identity:
$name }
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:60 char:5
+ g <<<< et-transportagent -Identity:$name
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:43 char:13
+ $agent = <<<< get-transportagent -Identity:$name
Install-TransportAgent : The Transport Agent assembly file "E:\Program Files\Mi
crosoft\Exchange Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transp
ort.Agent.Hygiene.dll" does not exist.
Parameter name: AssemblyPath
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:56 char:27
+ install-TransportAgent <<<< -Name:$name -TransportAgentFactory:$factory
-AssemblyPath:$agentAssembly > $null
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:57 char:40
+ if ($agent.enabled -or ! $agent) { e <<<< nable-transportagent -Identity:
$name }
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:60 char:5
+ g <<<< et-transportagent -Identity:$name
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:43 char:13
+ $agent = <<<< get-transportagent -Identity:$name
Install-TransportAgent : The Transport Agent assembly file "E:\Program Files\Mi
crosoft\Exchange Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transp
ort.Agent.Hygiene.dll" does not exist.
Parameter name: AssemblyPath
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:56 char:27
+ install-TransportAgent <<<< -Name:$name -TransportAgentFactory:$factory
-AssemblyPath:$agentAssembly > $null
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:57 char:40
+ if ($agent.enabled -or ! $agent) { e <<<< nable-transportagent -Identity:
$name }
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:60 char:5
+ g <<<< et-transportagent -Identity:$name
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:43 char:13
+ $agent = <<<< get-transportagent -Identity:$name
Install-TransportAgent : The Transport Agent assembly file "E:\Program Files\Mi
crosoft\Exchange Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transp
ort.Agent.Hygiene.dll" does not exist.
Parameter name: AssemblyPath
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:56 char:27
+ install-TransportAgent <<<< -Name:$name -TransportAgentFactory:$factory
-AssemblyPath:$agentAssembly > $null
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:57 char:40
+ if ($agent.enabled -or ! $agent) { e <<<< nable-transportagent -Identity:
$name }
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:60 char:5
+ g <<<< et-transportagent -Identity:$name
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:43 char:13
+ $agent = <<<< get-transportagent -Identity:$name
Install-TransportAgent : The Transport Agent assembly file "E:\Program Files\Mi
crosoft\Exchange Server\TransportRoles\agents\Hygiene\Microsoft.Exchange.Transp
ort.Agent.Hygiene.dll" does not exist.
Parameter name: AssemblyPath
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:56 char:27
+ install-TransportAgent <<<< -Name:$name -TransportAgentFactory:$factory
-AssemblyPath:$agentAssembly > $null
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:57 char:40
+ if ($agent.enabled -or ! $agent) { e <<<< nable-transportagent -Identity:
$name }
No valid agents.config file was found in 'E:\Program Files\Microsoft\Exchange S
erver\TransportRoles\Shared\agents.config'. The default configuration for tran
sport agents can be recovered by running 'scripts\ReinstallDefaultTransportAgen
ts.ps1'.
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:60 char:5
+ g <<<< et-transportagent -Identity:$name
WARNING: The agents listed above have been installed. Please restart Microsoft
Exchange Transport service for changes to take effect.
Enable-AntispamUpdates : An error occurred while accessing the registry of the
specified server: "PLUTO". The error message: "Requested registry access is not
allowed.".
At E:\Program Files\Microsoft\Exchange Server\Scripts\install-AntispamAgents.ps
1:85 char:23
+ enable-AntispamUpdates <<<< -UpdateMode:Manual -IPReputationUpdatesEnabled:$
false -SpamSignatureUpdatesEnabled:$false
Paul Cookman * Technical Account Manager
[cid:[email protected]] +44(0) 844 874 1000 *
[cid:[email protected]] +44(0) 844 874 1001
[cid:[email protected]] [email protected] *
www.selection.co.uk<http://www.selection.co.uk/>
[cid:[email protected]]
This e-mail is confidential and is intended for the exclusive use of the
addressee only. Selection Services Plc accepts no liability for personal views
expressed. While every effort has been made to ensure the attachments are
virus-free, they must be checked before further use, especially those
containing encrypted data. If you have any problems with this e-mail, please
contact our IT Manager on [email protected]<mailto:[email protected]>
Registered in England and Wales Registered Number: 2758710 Registered Office:
Provident House, 122 High Street, Bromley, Kent BR1 1EZ
<<inline: [email protected]>>
<<inline: [email protected]>>
<<inline: [email protected]>>
<<inline: [email protected]>>
