RE: Scripting and creating home directories

From: Jay (Jay_at_discussions.microsoft.com)
Date: 02/28/05


Date: Mon, 28 Feb 2005 05:51:03 -0800

How do I access a program like xcacls.exe from inside the script?

"Jay" wrote:

> I recently wrote a script to create multiple users in AD. One of the tasks I
> would like to accomplish is assign and create home directories. While I have
> been able to assign the drive letter and the path I would like to use I have
> been unable to have the system create the folder. Basicly when if you open
> the user object and select the Profile tab Connect is selected, the drive
> letter is set to Z: and but the path remains \\server_name\Users\%username%.
> I tried substituting the actual username for %username% but it still does not
> create the directory. Will I have to create a File System Object to create
> the folder before the path is assigned?



Relevant Pages

  • Scripting and creating home directories
    ... I recently wrote a script to create multiple users in AD. ... would like to accomplish is assign and create home directories. ... I tried substituting the actual username for %username% but it still does not ... Will I have to create a File System Object to create ...
    (microsoft.public.windows.server.scripting)
  • Deleting Folders
    ... I am trying to delete a folder on a remote computer. ... I have tried using the File System object but i keep getting permission denied. ... username = "test" ...
    (microsoft.public.windows.server.scripting)
  • Re: Home directories help
    ... they will still be able to see it in Windows. ... Novell is different ... Set the NTFS permissions on each user's folder to give them full ... >> I want to setup home directories for my users in AD currentley they have ...
    (microsoft.public.windows.server.active_directory)
  • Re: Roaming profiles!!
    ... >>> If you just use the server name they can have problems logging in ... >> to the users' home directories via GPO? ... folder that all users have access to, they need to browse to it. ... What do you use home directories for, then, if not for user storage of data? ...
    (microsoft.public.windows.server.sbs)
  • Re: Copy a directory to multiple destination DIRS
    ... The file server is a windows 2003 server but I can not connect to it ... Instead of copying the entire manual to each user's folder, ... but allow you to connect to the home directories of the users? ... Note that if you can map to someone's home directory folder, ...
    (microsoft.public.windows.server.scripting)