0 votes

Hello,

I am using this script found in the repository to remove the permissions for Adaxes service administrators from a newly provisioned user home directory: https://www.adaxes.com/script-repository/remove-permissions-for-adaxes-default-service-administrator-to-access-user-s-home-directory-s316.htm

How can I change this script so that it will set the owner of the folder to the Administrators group as opposed to the Adaxes service administrator account?

Also to note, we are using a DFS namespace, so the folder path is similar to \ \domain.domain.com\ServerName\Users

by (320 points)
0

Hello,

Sorry for the confusion, but we are not sure what exactly you mean by Administrators group. Is it just an existing AD security group that should always be set as owner of the target user home directory? Please, describe the desired behaviour in all the possible details with live examples.

0

Hello Support,

I actually managed to answer this myself after some troubleshooting.

My original question, when Adaxes creates a homedrive for a user, the Adaxes Service Administrator is set as the owner of the home directory. In my case, this was not desired behaviour.

By modifying the script, I was able to make it so that after the permissions get cleaned up in the script, the owner of the folder is changed from the Adaxes service administrator to the BUILTIN\Administrators group of the respective file server the folder resides on. Initially, I was getting an error in doing this. The Adaxes account required rights to "Restore files and directories" in order to change the owner to the desired account.

Thanks

Please log in or register to answer this question.

Related questions

0 votes
1 answer

I need to send an e-mail to the owner ("managed by") for each group. The e-mail should contain a list of group members. What is the best way to do that?

asked May 9 by akindy (20 points)
0 votes
1 answer

We are replacing our Namescape rDirectory product with Adaxes because of the very flexible automation components. I've been able to replicate some of the pages previously ... vast majority of our users, that would function as the default company directory.

asked Aug 5, 2022 by MRBruce (110 points)
0 votes
1 answer

I have a Business Rule where "After User Creation", "Create the home directory". This works fine and adds the user Modify Access to their home directory, but it also Adds ... does not need to be given explicit access. Is there a way to suppress this behavior?

asked Mar 4, 2016 by Kikaida (1.1k points)
0 votes
1 answer

Users are asking if they can change their name to suit preferred names as opposed to birth names? Is this possible?

asked Oct 14 by Charlie.Evans (70 points)
0 votes
1 answer

we used the adaxes "move home directory" tool, but after all the directories were moved, they were all set to the default security of the parent folder. The per user ... there a way to go through each user and assign their rights to the home directory?

asked Feb 27, 2017 by mdedmon (150 points)
3,541 questions
3,232 answers
8,225 comments
547,802 users