0
I work in a company that does net support for 20 different schools. While working on accounts I might log my "test" computer in 10 different domains in one day.
After a few days a login goes from 30 seconds to 5 minutes.
Then if I clear out all the profiles by right click computer, properties, advanced system settings, User Profile Settings, delete one by one.
Then clear their c:\user\jdoe folders.
Is there a script that can delete all the profiles, and all the network folders?
Like:
net user * /delete
or
for %%a in (***) do (
net user %%a /del
rd /s /q "C:\UserProfiles\%%a"
)
but I need to replace ***
with each user.
1You might want to adjust the title, it seems to have nothing in common with the actual question. – Hennes – 2016-03-03T17:23:47.560
I have no idea what "Windows 7 SR 1" is – Ramhound – 2016-03-03T17:57:54.520
Possibly SP1??? – Moab – 2016-03-04T16:51:51.067