locked
Why cannot move special folders when impersonated RRS feed

  • Question

  • Hello!

    I am trying to move user special folders of other user by using impersonation, but when I call redirect I get "can not move know folder" or "failed to update known folder's path"

    What do I need to do to impersonate my program correctly, so it to be able to move special folders of other users on local machine?



    Thursday, August 25, 2011 10:31 PM

All replies

  • Not really sure if special folders make a difference, the requesting process and token all need to have the required permissions to move the folder. Without that, you should get an exception. To determine what permissions you need, you can use process monitor. That utility will tell you why the move failed and then you can adjust the permissions as appropriate.
    Wednesday, August 31, 2011 3:45 PM