• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 419
  • Last Modified:

remove the home directory from active directory user objects.

remove the home directory from active directory user objects.
0
UnityTech
Asked:
UnityTech
2 Solutions
 
JohnGerhardtCommented:
Sorry you are going to have to give some more information. I dont understand!?
0
 
UnityTechAuthor Commented:
I need to remove the home directory in the profile in the users property for multiple users, so I was wanted to know if there was a way to automate it instead of going into each users profile and manually modifying it.
0
 
Joseph DalyCommented:
GO into active directory multiselect all the users that you want to remove it from right click and select properties. You will have the ability to change all of them back to local home directory or any other location you like.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
Joseph DalyCommented:
You could do something like dsquery user -samid * | dsmod user -hmdir {enter your text here}
0
 
lecafCommented:
yes anagrammatically is a way ... but if you lack experience don't go that way


go to active directory users and computers
dsa.msc
select saved queries
right click new
create a query to catch all users
on the left pane select them all
right click properties


go to profile
tick the home folder leave it empty
and voila


the advantage over xxdcmast: is that you catch ALL OUs in one click

if you have lots of users then create a filter as such
define query select custom advanced
copy paste
(&(&(objectcategory=person)(objectclass=user)(homeDirectory=*)))

or

(&(&(objectcategory=person)(objectclass=user)(homeDirectory=\\server*)))
this will catch only users who's home drive begins with \\server


m a  r  c
0
 
lecafCommented:
anagrammatically = programatically

damn spell checker

m  a r  c
0

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now