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

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

How do change the display name of a custom attribute in version 2017.2? All the information I am finding contains links that bring me to 2018 version

asked Nov 1, 2018 by hgletifer (1.3k 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)
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

Have a csv file of users that I need to import into Adaxes. I had initially found an article for this, but upon going today, it gave me an error (looks like it was deleted). Thank you

asked Nov 19, 2022 by wangl (20 points)
3,350 questions
3,051 answers
7,791 comments
545,068 users