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

Need to make a batch file that deletes user profiles.

Status
Not open for further replies.

freys

MIS
Nov 20, 2002
16
US
I have 2 NT terminal servers running citrixmeta frame for windows. At erratic times,one of the servers will blue screen and die. I have found that this normally based on usage, or rather the number of user profiles stored on the server. if i go in once or twice a week and clean out all of the user profiles the system runs fine. I went to the citrix site and looked up deleting user profiles, but its all based on roaming profiles not local profiles. any idea how i could automate this task and have one less thing i need to worry about during the week? thanks!
 
That was the answer I got from Citrix. When I made these changes and rebooted I saw no change. the profiles are local on the server not roaming. any other ideas?

One Idea I am currently trying to hash my way through is creating a VB script that will go and clean out any folders that match my criteria plus a wild card (xxxx*). I plan to try call it at system reboot since the server is on a reboot schedule.

Thanks,
freys.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top