Thanks for the help. Does delprof use the /F and how would you use the %i
again?
fred
> Use delprof /C
>
> For /F %i IN (servernames.txt) do delprof /C:\\%i /D:30 /Q /I
>
> Put pcnames (fqdn or if you trust your wins resolutions) into
> servernames.txt
>
> Thank you and have a splendid day!
>
>
We run the following script at machine startup for all student computers
to delete any stray profiles - all users should have mandatory profiles
except for local admin, domain admin. We also don't want to delete all
users. It gets rid of both the profile and the reference to it in the
registry.
Yo
Use delprof /C
For /F %i IN (servernames.txt) do delprof /C:\\%i /D:30 /Q /I
Put pcnames (fqdn or if you trust your wins resolutions) into servernames.txt
Thank you and have a splendid day!
Kind Regards,
Freddy Hartono
Windows Administrator (ADSM/NT Security)
Spherion Technology Group, Singa