[Webinar] Streamline your web hosting managementRegister Today

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

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?
1 Solution
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.

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

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.  

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

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