Batch profile path removal in AD

  • Thread starter Thread starter Nick Silkey
  • Start date Start date
N

Nick Silkey

- We currently have around 4,400 users in our AD tree. We are downgrading
from roaming profiles to mandatory profiles. What I am seeking is a script
or utility to batch process the removal of the profile path metadata from
our accounts. Additionally, the same function should be able reestablish
the path set for our mandatory roaming. If anyone has bumped up to this
problem before, constructive feedback is welcomed.

- Our user account creation environment is uni-directional, and in the
prosess of being revamped for our LDAP move. Sadly, that is too far
down the road. ;)

- All assistance and direction is appreciated.

~silkey
Nick Silkey
ECE-LRC IT
 
- We currently have around 4,400 users in our AD tree. We are downgrading
from roaming profiles to mandatory profiles. What I am seeking is a script
or utility to batch process the removal of the profile path metadata from
our accounts. Additionally, the same function should be able reestablish
the path set for our mandatory roaming. If anyone has bumped up to this
problem before, constructive feedback is welcomed.

- Our user account creation environment is uni-directional, and in the
prosess of being revamped for our LDAP move. Sadly, that is too far
down the road. ;)

- All assistance and direction is appreciated.

~silkey
Nick Silkey
ECE-LRC IT


Use tip 4646 in the 'Tips & Tricks' at http://www.jsiinc.com to run

net user %user% /profilepath:<MandatoryProfilePath>

or run:

net user username1 /profilepath:<MandatoryProfilePath> /domain
net user username2 /profilepath:<MandatoryProfilePath> /domain
net user username3 /profilepath:<MandatoryProfilePath> /domain
etc..

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Doesn't really solve the issue of how to do 4400 users at once ... I emailed
the poster a code sample which does.

--
--
Brian Desmond
Windows Server MVP
(e-mail address removed)12.il.us

Http://www.briandesmond.com
 
Back
Top