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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Removing profiles or files (Registry?)

Status
Not open for further replies.

PJHAction

Technical User
Aug 22, 2003
29
US
I have a Lab where students log into W2K to a server, which in-turn creates a profile for them. This fills up my hard drive with profiles and Temp Internet Files. Can I set the Registry to either delete the profile or delete the Temp Internet Files when the user logs off.

Pegte
 
You could probably write a logoff script or batch file to do this. I haven't done much of this type of thing but I'd guess something like:
del "c:\Documents and Settings\%username%\path to files to delete\*"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top