Brian Madden Logo
Your independent source for application and desktop virtualization.
Marketplace

advertisement

strange recycle bin/profile issue, in the Citrix XenApp / Presentation Server forum on BrianMadden.com

rated by 0 users
Not Answered This post has 0 verified answers | 13 Replies | 0 Followers

Top 200 Contributor
Points 985
darshan arya posted on 01-28-2008 4:44 PM
the environment is windows 2003 sp2/ps 4.5

users are noticing that when they delete something, it's permanently gone and doesn't show up in their recycle bin. all users are on mandatory profiles with their desktop, app data, mydocuments folders redirected to their home directories.

any ideas?
  • | Post Points: 65

All Replies

Top 10 Contributor
Points 35,574
So typically the recycle bin only contains idems deleted locally or from the users network home folder, i.e. redirected My Documents Folder. Is this also not working? Do you use/support Shadow Copy of Shared Folders, so users & administrators can retrieve previous versions of files and directories without having to restore from backup?

http://www.windowsnetworking.com/articles_tutorials/Windows-Server-2003-Volume-Shadow-Copy-Service.html

http://technet2.microsoft.com/windowsserver/en/library/c52e7438-cae3-4b93-88b7-6a083a9ad7e61033.mspx?mfr=true

http://www.computerperformance.co.uk/w2k3/disaster_volume_shadow.htm

Patrick Rouse
Microsoft MVP - Terminal Server
Systems Consultant
Quest Software, Provision Networks Division
Virtual Client Solutions
(619) 994-5507 mobile
http://www.provisionnetworks.com

Check out the Official Provision Networks Blog:
http://blogs.inside.quest.com/provision

  • | Post Points: 5
Top 75 Contributor
Points 2,580
Had a similiar problem in the past. In my configuration, I was using roaming profile, and I had delete cached/temp settings ON during log off (I've forgotten the exact name of the policy). When a user logs in to the Citrix desktop and deletes something, the recycle bin will clean up itself during log off. I'm not sure if I remember correctly - an item in the recycle bin has a pointer, and that pointer is stored in one of those temp folders in the profile. If you have that cached/temp settings ON in GPO during log off of a roaming profile, the pointer(s) in the recycle bin will get wiped out; therefore, the next time you log in, the recycle bin will be empty. I had at least 70 sales guys running on full desktop, and only one user (apparently, the next CEO of the company =( ) complained about this. Since he was the future boss of the company and he requested for a private citrix server just for him, we just had special gpo settings on that box. I believe there is another work around - take a look at Microsoft's Terminal Server best practice guide. It has some helpful techniques to redirect the recycle bin folder to a network share.


Hope this helps.
  • | Post Points: 5
Top 150 Contributor
Points 1,025
I've had what sounds like the same issue, in the past. I documented the issue here: http://blog.stealthpuppy.com/deployment/files-not-moved-to-the-recycle-bin. Hope that helps.
  • | Post Points: 5
Top 200 Contributor
Points 985
here is the latest on this - I created a local user account on the server with regular user permissions. nothing fancy, just default permissions - user is NOT an admin.

when i login with that account, the recycle bin work fine.

i copied that same profile to the network, changed permissions to authenticated users and change to ntuser.man and applied to a regular domain account (new account i created for testing just to ensure it's clean)

the test account can NOT use recycle bin, documents just get deleted. Regmon/filemon don't show any access denied or anything of the sort.

User has the desktop, my documents and applicaiton data folders also redirected to users home directory
  • | Post Points: 35
Top 10 Contributor
Points 35,574
Interesting, but I can't say that this is normally an issue, as the recycle bin (at least for me) is just a holding place for junk that I delete. I can not remember the last time I restored something from the recycle bin, and in 10 years of working in IT I have never published the recycle bin, nor had someone ask anything about it.

Is someone really making an issue about this, or are you just curious? Shadow Copies of Shared Folders are much more functional.

Patrick Rouse
Microsoft MVP - Terminal Server
Systems Consultant
Quest Software, Provision Networks Division
Virtual Client Solutions
(619) 994-5507 mobile
http://www.provisionnetworks.com

Check out the Official Provision Networks Blog:
http://blogs.inside.quest.com/provision

  • | Post Points: 5
Top 150 Contributor
Points 1,025
Does the C:\RECYCLER folder exist and are the permissions on that folder correct?
  • | Post Points: 5
Top 200 Contributor
Points 985
ok got some more updates for you -

i verified all the permissions on the folder, they are fine. I also managed to confirm this issue on just about every other customer environment running win2k3 sp2 and doing folder redirection/mandatory profiles.


Here is what I found - users CAN delete documents and have them show up in recycle bin IF they delete from their MY DOCUMENTS folder (again, my documents, desktop, app data are redirected to home drive)


if the user deletes documents from any other location including the root of their home drive ,the files are instantly deleted or at least don't show up in the recycle bin. Only my documents files go to recycle bin.

After several searches, I came across something similar at Citrix knowledge base that someone had posted. However, there was no resolution clearly listed.

I just noticed we're having the same issue on our internal network as well and it appears this problem has been around for a while and slipped under the radar.
Can anyone else validate they are having this??? Seems pretty common
  • | Post Points: 20
Top 10 Contributor
Points 35,574
So are you redirecting My Documents to the Home Folder, and having it display as a sub-directory in their Home Folder? I usually redirect My Document to the Home Folder, where My Documents is not a sub-directory in the Home Folder, which may be why I haven't seen this problem.

Patrick Rouse
Microsoft MVP - Terminal Server
Systems Consultant
Quest Software, Provision Networks Division
Virtual Client Solutions
(619) 994-5507 mobile
http://www.provisionnetworks.com

Check out the Official Provision Networks Blog:
http://blogs.inside.quest.com/provision

  • | Post Points: 5
Top 200 Contributor
Points 985
correct and you may be on to something with that. We normally put it in their home drive vs a subfolder and have never run into this. However, we wanted to seperate user files from various system files that were ending up in the root of their home folder

Let me know if you are able to reproduce this. seems like a pretty consistent issue so far.
  • | Post Points: 5
Top 200 Contributor
Points 985
I just confirmed your theory, it turns out that if you set the policy to "Create a folder for each usr under the root path" and fill in something like \\myserver\myshare\ you'll notice that it fills in the remaining path for you such as \\myserver\myshare\username\my documents


If you do this, you'll find that your recycle bin NO LONGER WORKS from any other directory other than mydocuments. if the user deletes anything off their desktop or even the root of their home directory, it will delete it without going to recycle bin.

to get around this, you have to set the redirection policy to "Redirect to user's home directory" and it magically works! :)

Seems like yet another folder redirection bug...