0 votes

Hello

We are using the built in Copy command to copy users but have run into an issue. We get the error 'can't create a home drive because it already exists'. No home drive for the new user is created. I'm assuming that it's trying to create the original users home drive again.

Is there any way round this?

Thanks.

by (700 points)

1 Answer

0 votes
by (216k points)
selected by
Best answer

Hello,

If the original user has a home directory and a drive assigned, the home directory path and drive will be copied from the original user because the Home Directory and Home Directory Drive properties are marked in the AD schema as properties to copy. To work around the issue, you can add an action to your Business Rule that creates the home folder to clear the home folder path and drive before creating a home folder. To do this:

  1. Launch Adaxes Administration Console.
  2. In the Console Tree, navigate to and select the Business Rule that creates home folders for users. The actions and conditions of the Rule will be displayed in the Result Pane (located to the right).
  3. Right-click the action that creates the home folders and select Add New Action.
  4. Select the Update the User action.
  5. Click Add.
  6. In the Property to modify field, select Home Directory.
  7. Select Remove property.
  8. Click OK.
  9. Click Add again.
  10. In the Property to modify field, select Home Directory Drive.
  11. Select Remove property.
  12. Click OK 2 times.
  13. With the help of the arrow buttons located at the bottom of the actions / conditions list, place the action that you've added before the action that creates the home directories,
  14. Save the Business Rule.

Related questions

0 votes
1 answer

Hi folks, I already have a great script (thank you) that monitors our HR system for adds/removes/changes of our staff and reflects those changes in AD via scheduled ... way of doing this? Could I possibly incorporate it into the existing script? Thanks Corey

asked Dec 11, 2014 by ckemp (170 points)
0 votes
1 answer

Here are the actrions of the custom command. Here are the parameters. Need a script to copy the param user's file path for home drive example: Param user's home drive ... ) should be //server1/homedirs/%username%. Then give the user full control of the folder.

asked Feb 8, 2023 by mightycabal (1.0k points)
0 votes
1 answer

Is it possible to create a Home Page Action to copy group memebership from one user to another? (Already existing users)

asked May 5, 2014 by kjesoo (960 points)
0 votes
1 answer

On the Home page Action screen(Configure Home Page Actions), there are groups and actions under those groups. In the new version there is a COPY command if you right click( ... copied...but nothing ever gets pasted. Bug or am I doing something wrong. Thanks!

asked Jun 18, 2012 by mpaul (360 points)
0 votes
1 answer

I have a business rule that creates the home directory after user creation. It is set to Inherit parent directory permissions. Everything works fine however it also adds a ... both TestJ and AdaxAdmin have full permissions the subsequent H drive. why is this?

asked Sep 11, 2012 by It_helpdesk (280 points)
3,589 questions
3,278 answers
8,303 comments
548,115 users