Solved

remove the home directory from active directory user objects.

Posted on 2008-10-28
7
400 Views
Last Modified: 2012-05-05
remove the home directory from active directory user objects.
0
Comment
Question by:UnityTech
7 Comments
 
LVL 17

Expert Comment

by:JohnGerhardt
ID: 22826631
Sorry you are going to have to give some more information. I dont understand!?
0
 

Author Comment

by:UnityTech
ID: 22826659
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
 
LVL 35

Accepted Solution

by:
Joseph Daly earned 125 total points
ID: 22826675
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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 
LVL 35

Expert Comment

by:Joseph Daly
ID: 22826683
You could do something like dsquery user -samid * | dsmod user -hmdir {enter your text here}
0
 
LVL 5

Assisted Solution

by:lecaf
lecaf earned 125 total points
ID: 22826845
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
 
LVL 5

Expert Comment

by:lecaf
ID: 22826850
anagrammatically = programatically

damn spell checker

m  a r  c
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know all systems administrator at some time or another has had to create a script to copy file from a server share to a desktop. Well now there is an easy way to do this in Group Policy. Using Group policy preferences is not hard. The first thing …
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now