Failed to encrypt file on virtual disk in vista

Hi,

I encountered a problem in vista(test environment is vista5472), I have a virtual disk driver, like filedisk. after mounted a virtual disk and formatted it with NTFS(the virtual disk is “removable” by design, that is, a user can eject it in the windows explorer), there is a strange problem:

  1. copy normal file to or from the virtual disk is ok.
  2. copy encrypted files is ok too.
  3. encrypt a file on the root directory of the virtual disk failed! if use cipher.exe, it says “incorrect parameter”.
  4. encrypt or decrypt a file on some sub-directory of the virtual disk is ok.

and that problem does not appear in WinXP.

and ideas? thanks in advance.