Jump to content

Recommended Posts

Posted

In the documents and settings folder there is a long list of old user folders. I need to delete everything but the "admin", "all users" and "default user" folders...

 

Here is the bat file I have, but I can't get it to exclude anything:

for /D %%j in ("C:\documents and settings\*") do RD /S /Q "%%j"

Posted

Use delprof - much easier

 

As long as you don't have roaming profiles you can make the users a member of either the local or domain guest group which by design will delete there profile at log off.

 

If you use roaming profiles and do the above ref making them a member of the guest group it wont copy the profile back to the server and will delete it ( as per another thread on edugeek )

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...