therock_80
asked on
Files and folder will be deleted after user log off. Windows 2003
Hi,
Every times a user logs out, is there any way to automatically delete files related to that user inside My Document, Desktop,.... folders ?
Thanks
I run a win 2003 server with 20 XP computers.
Every times a user logs out, is there any way to automatically delete files related to that user inside My Document, Desktop,.... folders ?
Thanks
I run a win 2003 server with 20 XP computers.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Pber,
While I agree with your scripting, I would caution the author that this will delete EVERYTHING in My docs, including the default folders (my pictures, etc.). Just a word of caution.
For the author, one more choice I thought of would be to use mandatory user profiles. That way, even if the user creates files/folders, etc. the mandatory profile will take effect next time they log in, and basically revert back to the original profile without the extra files/folders. You can get more info here:
http://support.microsoft.com/KB/307800
While I agree with your scripting, I would caution the author that this will delete EVERYTHING in My docs, including the default folders (my pictures, etc.). Just a word of caution.
For the author, one more choice I thought of would be to use mandatory user profiles. That way, even if the user creates files/folders, etc. the mandatory profile will take effect next time they log in, and basically revert back to the original profile without the extra files/folders. You can get more info here:
http://support.microsoft.com/KB/307800
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
For local setting for each computer, how can i only remove things related to the user?
I dont want to remove default applications such as IE and Office on desktop.
I dont want to remove default applications such as IE and Office on desktop.
ASKER
I meant on the previous post that if i dont have server and i just run each computer locally. How can i remove things?
If i use script, i'm fraid that it will delete all default application shotcuts..etc.
I just want to delete file and folder created by user.
If i use script, i'm fraid that it will delete all default application shotcuts..etc.
I just want to delete file and folder created by user.
I would look into the shared computer toolkit I said originally.
ASKER
Wow this is #1 tool. But do you know which setting enables user access startup programs on taskbar.
Because after using this tool, all startup programs disappeared on taskbar.
I want to access Volume or Antivirus from taskbar
Because after using this tool, all startup programs disappeared on taskbar.
I want to access Volume or Antivirus from taskbar
@echo off
echo Perfoming cleanup
ECHO y |del %USERPROFILE%\My Docuements\*.* > nul
ECHO y |del %USERPROFILE%\Desktop\*.* > nul