Hi there!
The easiest way to do this would be something like:
for /F "DELIMS=" %%a in ( USERS.TXT ) do (
net user %%a /PROFILEPATH:"" /DOMAIN
)
Where users.txt contains the list of users to do the
operation on.
If you're using W2K3, you could also create a saved query
to find all user accounts, do a select all and open the
properties. If you clear the data on the profile tab,
this should clear all of the selected users as well.
Hope this helps,
Tony Yuhas
Microsoft
Active Directory Tools
------------------------------------------
This posting is provided "AS IS" with no warranties, and
confers no rights.
-----Original Message-----
Hello - we need to remove the Profile Path (Terminal
Services Profile) from each user ID in a given OU. We
just want to clear the field entirely and have it be
blank. Other than going one by one, what is the easiest
way to do this in batch?