Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Permanent Deleting for file - roaming profiles

Status
Not open for further replies.

Trevahaha

Programmer
Nov 21, 2002
129
US
I have many instances where a user is trying to delete a file on their network drive, but when logging out, the computer then copies the local cached file to the network drive (synchronizing) and upon next logon, the file is back. How can I prevent this from occuring?


Trevor
 
The age-old problem with roaming profiles!

There are 3rd party tools that do this, you can probably find one at
Or you could use a scheduled reboot to run a batch file immediately after rebooting to delete the contents of "Documents and Settings". Remembering to copy Administrator, Default User and All Users to a safe place first, of course...

I say you'd need a reboot, because the reason most of these profiles don't get cleared up is because processes in the sessions hold files locked in memory - and the files keep the processes running despite the sessions' death.

HTH
 
Thanks. What I ended up doing (i hope this works..) is enabling "Delete local profile" in the group policy upon logoff.

What I need to find out is whether this does this before or after synchronization.

But if it doesn't work, i'll try out yours. Thanks for the repsonse.

-trevor
 
This works to some extent - if a file is locked open, as described above, then it won't.

 
I tried a script that deleted all the local files, but found it was also deleting the files from the network drive as well -- maybe something weird about when it was running vs when the computer was syncing with the file server.

The deleting local-cached profile doesn't help at all with the deletion problem. The system still "restores" the file on the server from the local system. I guess the local-cached deletion occurs after syncing.

Ugh. Anyone know specifically any utilities that help with this? What would be a fix is if you delete a file from the desktop, it automatically deletes the file from the local cached copy.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top