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

Delete local user directories 1

Status
Not open for further replies.

jongag1

Technical User
Feb 1, 2002
65
NL
Hello,

We have an office with 50 workstations. We use a file/print server for the users documents and other files.
Our users can login at every workstation. Because of that on each workstation are a lot of directories for each user in the C:\Documents and Settings\ directory.

I would like a vbs script, which runs once a month at login, to delete all the user directories (except for the Administrator, All Users and Default User directory) on the worksgtation of the users which doesn't excist anymore in the active directory.

Is that possible?

Kind regards,
Age
 
For anyone else following this thread, I have been helping Age offline. There are issues with his AD not being accessible via script. We are attempting to find the problem.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top