File System Provider
Contains procedures that automate common Microsoft® Windows® file system maintenance tasks involving files, directories, and shares. Used by Microsoft® Provisioning Framework.
Program Files\Microsoft Provisioning\Providers\MPFFile SystemProv.dll
Name File System Provider Version 1 Provider Source Provisioning.FileSystemProvider.1
Procedure Description CopyDirectory Copies all files from a source directory to a destination directory. The recursive option includes subdirectories in the copy, and the replace option overwrites existing files. CopyFile Copies file from a source directory to a destination directory. Contains an option to set security and attributes for the copied files, as well as an option to overwrite copied files. CreateDirectory Creates a new directory with the specified properties. CreateShare Creates a network share with the specified MaxUser and Comment attributes. DeleteDirectory Deletes the specified directory and any subdirectories and files. DeleteFile Deletes the specified file. DeleteShare Deletes the specified network share. GetDirectoryAttributes Returns file system properties and Microsoft® Active Directory® security attributes for the specified directory. GetFileAttributes Returns file system properties and Active Directory security attributes for the specified file. GetShareProperties Returns file system properties and Active Directory security attributes for the specified share. ListDirectory Returns a list of the files in the specified directory, optionally with their file system properties and Active Directory attributes. MoveDirectory Moves the specified directory from one location to another. MoveFile Moves a file from a source to destination directory. RenameDirectory Renames the specified directory. RenameFile Renames the specified file. SetDirectoryAttributes Sets file system properties and Active Directory security attributes for the specified directory. SetFileAttributes Sets file system properties and Active Directory security attributes for the
SetShareProperties Sets file system properties and Active Directory security attributes for the specified share.
The following table lists the errors returned by this provider.
HRESULT Description 0xC2101068L Invalid 'ace' sub-element name '%1'. 0xC2101069L The 'ace' sub-element '%1' has an invalid value of '%2'. 0xC210106AL Missing 'ace' sub-element '%1'. 0xC210106BL Only one 'ace' sub-element named '%1' is allowed per 'ace'. 0xC210106CL The 'ace' sub-element 'trusteeForm' does not specify an object, but an object was specified. 0xC210106DL The provided ACL was rejected by SetEntriesInAcl. 0xC210106EL %1. 0xC21013ECL CreateDir failed while creating the directory : %1. 0xC21013EDL Procedure failed while removing directory : %1. 0xC21013EEL Could not extract a required node from the request XML : Node - %1. 0xC21013EFL Could not extract a required attribute from the request XML : %1. 0xC21013F0L Could not set the rollback data : %1. 0xC21013F1L Could not get the rollback data : %1. 0xC21013F2L Could not encrypt/decrypt file as requested : %1. 0xC21013F3L Could not compress/decompress file/directory as requested : %1. 0xC21013F4L Could not set/get file/directory attributes as requested : %1. 0x821013F5L Procedure failed to restore the system to its original state in case of failure : %1. 0xC21013F6L Unable to move file as required : %1. 0x821013F7L Unable to delete file as required : %1. 0xC21013F8L Invalid argument was passed : %1. 0xC21013F9L Unable to copy file as required : %1. 0xC21013FAL One of the security procedure calls failed : %1. 0xC21013FBL One of the NetShare procedure calls failed : %1. 0xC21013FCL Cannot copy a directory to its child recursively : %1. 0xC21013FDL Cannot list the contents of directory as requested : %1. 0xC21013FEL An internal function was called with invalid argument - Unrecoverable : %1. 0xC21013FFL Failed to execute a file system command. Reason: %1. 0xC2101400L Failed to cleanup the system as required. Reason: %1. 0xC2101401L Failed to perform a backup operation. Reason: %1.
Standard Providers and Namespaces
Top of Page
© 1999-2002 Microsoft Corporation. All rights reserved.