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!

prof script

Status
Not open for further replies.

terry712

Technical User
Oct 1, 2002
2,175
GB
mix of a citrix question here but principle the same
i seen the script somewhere for this but cant find it anywhere

have 5 2003 servers in a farm - NOT domain

basiaclly all users are volatile so remove on logout - occasionaly their profiles are left - not a problem as their sid is removed so they arent used again

i basically want a script that checks for valid user and if not present deletes the profiles for the user.
i looked at delprof but it only seems to specify days
 
Easy enough to try to bind to the user on the local machine and if you get a failure return an error so you can delete the folder.

I believe you have also posted similar to this int he vbscript forum?

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
i havent but i will as it was in vb that i seen it

i know it was about 5 lines but afraid my vb skills are at the - i understand when i see it but cant write it so lets google and copy the stuff
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top