Solved

remove the home directory from active directory user objects.

Posted on 2008-10-28
7
401 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Introduction You may have a need to setup a group of users to allow local administrative access on workstations.  In a domain environment this can easily be achieved with Restricted Groups and Group Policies. This article will demonstrate how to…
This article runs through the process of deploying a single EXE application selectively to a group of user.
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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

810 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