This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Using a script to assign/create home folder - permissions end up as Full Control to user - Why?

I am using a powershell script to determine the server/shared folder location for a user's home drive.

As part of the onPostCreate it creates the folder and sets the AD attributes.

The permissions are set to 'Modify' by the script, but after creation the user gets Full Control.

What is making this happen?

Thx.

Parents
  • I've rem'd out the lines I listed and the folder is created with the correct permissions - so the script is good.

    I'm guessing that it is the update to the AD attributes that causes the problem - so I guess I now need to find another way to update those attributes.

Reply
  • I've rem'd out the lines I listed and the folder is created with the correct permissions - so the script is good.

    I'm guessing that it is the update to the AD attributes that causes the problem - so I guess I now need to find another way to update those attributes.

Children
No Data