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 (40 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

Is there a comparison between the OnPrem user object and Entra user object in the built-in condition? Which determines the most recent inactivity from both environments. Or should a choice be made between the OnPrem domain or Entra based on the Activity scope?

asked Dec 13 by IwistIT (40 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)
3,588 questions
3,277 answers
8,303 comments
548,080 users