Solved

remove the home directory from active directory user objects.

Posted on 2008-10-28
7
402 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
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.

 
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

Mapping Drives using Group policy preferences Are you still using old scripts to map your network drives if so this article will show you how to get away for old scripts and move toward Group Policy Preference for mapping them. First things f…
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
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 …

839 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