Hello!

I have an directive bundle with an action of copy directory from the user profil on the workstation to the user homedirectory.
Its set to run at user logout.
But the copy fails.

The user can manually create folders and files on both C: and H:

Found thees threads thru forum search:
http://forums.novell.com/showthread.php?t=279079
http://forums.novell.com/showthread.php?t=209836
But none of the threads helped.

Workstation log says:

Code:
[DEBUG] [10/12/2007 8:19:21 PM] [] [Copy Directory] [] [Unable to copy C:\Documents and Settings\user_name\folder\file_name.url to H:\folder\file_name.url] [] [] 
 [DEBUG] [10/12/2007 8:19:21 PM] [] [Copy Directory] [] [Got exception - System.IO.DirectoryNotFoundException: Could not find a part of the searchpath H:\folder\file_name.url.
   vid System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   vid System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   vid Novell.Zenworks.ActionManager.GenericActions.CopyFilesLib.CopyDirectoryFunc(String Src, String Dst, Boolean rootFolder)] [] []
*note: The phrase "Could not find a part of the searchpath" is directly translated from Swedish, i am not sure if the English errormessage is the same :)

The output from command zman betf bundle_name bundle_name.xml says:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<ns1:Bundle xmlns:ns1="http://novell.com/zenworks/datamodel/objects/bundles" xmlns="http://novell.com/zenworks/datamodel/objects/bundles">
    <ns2:UID xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">3ab6ebb6a2a050a7af01dc909de27fb8</ns2:UID>
    <ns2:Name xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">bundle_name</ns2:Name>
    <ns2:InternalName xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">bundle_name</ns2:InternalName>
    <ns2:ParentUID xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">3346df859a9f58b2823a61223a118010</ns2:ParentUID>
    <ns2:Path xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">/Bundles/bundle_name</ns2:Path>
    <ns2:InternalPath xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">/~bundles~/bundle_name</ns2:InternalPath>
    <ns2:AdminID xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">Bundles</ns2:AdminID>
    <ns2:Description xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">My_bundle_description.</ns2:Description>
    <ns2:PrimaryType xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">Bundle</ns2:PrimaryType>
    <ns2:SubType xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">Directive Bundle</ns2:SubType>
    <ns2:GeneralType xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">2</ns2:GeneralType>
    <ns2:Deletable xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">true</ns2:Deletable>
    <ns2:Undeletable xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">false</ns2:Undeletable>
    <ns2:ErrorWarningStatus xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">3</ns2:ErrorWarningStatus>
    <ns2:ComplianceStatus xmlns:ns2="http://novell.com/zenworks/datamodel/objects" xmlns="http://novell.com/zenworks/datamodel/objects">1</ns2:ComplianceStatus>
    <ns2:IsEnabled xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">true</ns2:IsEnabled>
    <ns2:Version xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">3</ns2:Version>
    <ns2:Revision xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">0</ns2:Revision>
    <ns2:ContentInfoVer xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">0</ns2:ContentInfoVer>
    <ns2:ContentPriority xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">0</ns2:ContentPriority>
    <ns2:NextRevision xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">0</ns2:NextRevision>
    <ns2:Replication xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">2</ns2:Replication>
    <ns2:Sandbox xmlns:ns2="http://novell.com/zenworks/datamodel/objects/assignablecontent" xmlns="http://novell.com/zenworks/datamodel/objects/assignablecontent">false</ns2:Sandbox>
    <ns2:ActionSets xmlns:ns2="http://novell.com/zenworks/datamodel/objects/actions" xmlns="http://novell.com/zenworks/datamodel/objects/actions">
        <Id>96f8130ecbea41db8c33ec1ab3fc048c</Id>
        <Type>Launch</Type>
        <Version>7</Version>
        <Modified>false</Modified>
        <Data>
            <ns1:Launch xmlns:ns1="http://novell.com/zenworks/apps/appSchema" />
        </Data>
        <Actions>
            <Id>9f79829e8211069ea004f6ced2a36a71</Id>
            <Name>Copy Directory</Name>
            <Type>Copy Directory Action</Type>
            <Data>
                <ns1:CopyDirectoryData xmlns:ns1="http://www.novell.com/ZENworks/Actions/v1.0">
                    <Source xmlns="http://www.novell.com/ZENworks/Actions/v1.0">%USERPROFILE%\user_folder</Source>
                    <Destination xmlns="http://www.novell.com/ZENworks/Actions/v1.0">H:\user_folder</Destination>
                    <ImpersonateCopy xmlns="http://www.novell.com/ZENworks/Actions/v1.0">USER</ImpersonateCopy>
                </ns1:CopyDirectoryData>
            </Data>
            <ContinueOnFailure>false</ContinueOnFailure>
            <Enabled>true</Enabled>
            <Properties />
        </Actions>
    </ns2:ActionSets>
    <DisplayName>bundle_name</DisplayName>
    <Category>addDirectives</Category>
    <Data />
</ns1:Bundle>
Love some help on this one. :) /Jocke