VB script to modify Home Directory

Hello all

i have a vbscript which will update the home directory and home drive field in Active directory, however this require that i allow full control on SELF, is there any way that i gave give only those fields access to?
LVL 2
EfrenMAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joseph DalyCommented:
Are you talking about the field below in active directory?

I dont know if you have a specific requirement to have the user change their own home drive but if these are the fields you want to change there is a good tool called admodify.net that will allow you to do a bulk change of the user account properties.

http://blogs.technet.com/exchange/archive/2004/08/04/208045.aspx
1.jpg
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
EfrenMAuthor Commented:
also found out how to do it via Delegate on the OU just make sure it says specific - object user- the look for home drive and home profile

http://www.zdnet.co.uk/news/desktop-os/2006/05/05/allow-your-users-to-use-galmod32-to-change-their-own-gal-details-39267250/
0
sr75Commented:
Sortof but that requires you to go into adsiedit and change the permissions there.  It can be done, but it isn't something to be taken lightly.  I would suggest you find an alternate method to updating the user information instead of having the users run the script (albeit as a logon script).

to change it.  You would run adsiedit.msc.  Then right click the proper container and select properties.  Go to the Security tab and select advanced.  Then add the user or user group and select only Create User Objects and Delete User Objects.

I must warn you that if you mess up, you may have to reinstall your AD Domain.  
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.