Hi all,

I have a simple agent procedure that uploads a file from VSAshared, to the clients machine, then copies that file to the required location. Essentially copying a local group policy file that disables action centre notifications, and keeps all the resident policy settings in place.

Anyone shed some light on what the heck is going on?

The script below throws these errors:

11:36:59 27-Feb-13 Copy file-1 nash
Informational: Execute DOS Command task in ELSE step 3 was ignored because the client machine is running Win7, which does not meet the Mac OS X OS type criteria.
11:36:59 27-Feb-13 Copy file-1 nash
Informational: Execute DOS Command task in ELSE step 2 was ignored because the client machine is running Win7, which does not meet the Linux OS type criteria.
11:36:59 27-Feb-13 Copy file-1 nash
Copying c:\kworking\ActionCenterDisable\BJTM_GP_Machine.pol to C:\Windows\System32\GroupPolicy\Machine\Registry.pol....

Here is the content's of my agent procedure:

<?xml version="1.0" encoding="utf-8"?>
<ScriptExport xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.kaseya.com/vsa/2008/12/Scripting">
<Procedure name="Disable Action Center Notifications" treePres="3" id="988279591" folderId="32421218872592525219186418">
<Body description="">
<Statement description="Create a named procedure variable and assign a value retrieved from the managed machine by the agent." name="GetVariable" continueOnFail="false">
<Parameter xsi:type="EnumParameter" name="VariableType" value="AgentTempDirectory" />
<Parameter xsi:type="StringParameter" name="SourceContent" value="" />
<Parameter xsi:type="StringParameter" name="VariableName" value="agentDir" />
</Statement>
<Statement description="Write the selected file to the machine at the path specified - full path required." name="WriteFile" continueOnFail="false" osType="Windows">
<Parameter xsi:type="StringParameter" name="Path" value="#agentDir#\ActionCenterDisable\BJTM_GP_User.pol" />
<Parameter xsi:type="StringParameter" name="ManagedFile" value="VSASharedFiles\CustomDesktopProfiles\BJTM_GP_User.pol" />
<Parameter xsi:type="BooleanParameter" name="DeleteAfter" value="False" />
</Statement>
<Statement description="Write the selected file to the machine at the path specified - full path required." name="WriteFile" continueOnFail="false" osType="Windows">
<Parameter xsi:type="StringParameter" name="Path" value="#agentDir#\ActionCenterDisable\BJTM_GP_Machine.pol" />
<Parameter xsi:type="StringParameter" name="ManagedFile" value="VSASharedFiles\CustomDesktopProfiles\BJTM_GP_Machine.pol" />
<Parameter xsi:type="BooleanParameter" name="DeleteAfter" value="False" />
</Statement>
<Statement description="Copies a file from one location to another. " name="Copy File" continueOnFail="true" osType="Windows">
<Parameter xsi:type="StringParameter" name="Parameter1" value="#agentDir#\ActionCenterDisable\BJTM_GP_User.pol" />
<Parameter xsi:type="StringParameter" name="Parameter2" value="C:\Windows\System32\GroupPolicy\User\Registry.pol" />
<Parameter xsi:type="StringParameter" name="Parameter3" value="false" />
</Statement>
<Statement description="Copies a file from one location to another. " name="Copy File" continueOnFail="false" osType="Windows">
<Parameter xsi:type="StringParameter" name="Parameter1" value="#agentDir#\ActionCenterDisable\BJTM_GP_Machine.pol" />
<Parameter xsi:type="StringParameter" name="Parameter2" value="C:\Windows\System32\GroupPolicy\Machine\Registry.pol" />
<Parameter xsi:type="StringParameter" name="Parameter3" value="false" />
</Statement>
<Statement description="Write an Entry into the Procedure Log" name="WriteScriptLogEntry" continueOnFail="false">
<Parameter xsi:type="StringParameter" name="Comment" value="Policy Successfully Copied" />
</Statement>
</Body>
</Procedure>
</ScriptExport>