Cipher.exe can't encrypt the user Desktop folder

  • Thread starter Thread starter Dean
  • Start date Start date
D

Dean

I wonder if someone saw this behavior before. I use the following
command:

cipher.exe /E /S:"%userprofile%\desktop" /A /F

to encrypt the user Desktop folder. All the files and subfolders are
encrypted but the Desktop folder itself.

However, if I use Windows Explorer GUI and go to the desktop folder
properties/advance..., I can encrypt the desktop and all subfolders
and files.

Therefore, EFS has a different behavior on Desktop folder between
Windows Explorer GUI and cipher command line tool.

Can anyone or MS online support give some explanation here?

Thanks,

Dean
 
Shell releases its handle to the Desktop folder when it calls EncryptFile.
That's why it succeeds in encrypting the Desktop folder itself.

Thanks.
Pat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top