Home Folders 
Author Message
 Home Folders

I have written a script that will go into a users AD account and add a drive
letter and path for their Home folder.  This works great... it creates the
folder on the server using the sAMAccountName etc.

However, by doing this via a script the NTFS permissions are not
automatically set.  Therefore I would like to change the permissions on each
folder while I am in the loop that creates it.

How do I do this?  I haven't worked with NTFS permissions yet via a
VBScript?

thanks



Tue, 08 Feb 2005 01:04:57 GMT  
 Home Folders

Quote:

> I have written a script that will go into a users AD account and add a drive
> letter and path for their Home folder.  This works great... it creates the
> folder on the server using the sAMAccountName etc.

> However, by doing this via a script the NTFS permissions are not
> automatically set.  Therefore I would like to change the permissions on each
> folder while I am in the loop that creates it.

> How do I do this?  I haven't worked with NTFS permissions yet via a
> vbscript?

Hi

I guess I would have shelled out and used a command line based util for this.
Cacls or xcacls (from the resource kit) or maybe SETACL at
http://www.helge.mynetcologne.de/setacl/ , a nice freeware app that adds a lot
to cacls and xcacls.

SetACL can set permissions on:

Local or remote directories
Local or remote files
Local or remote printers
Local or remote registry keys
Local or remote Win32 services
Local or remote network shares

--
torgeir



Tue, 08 Feb 2005 01:37:55 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Home Folder Mapping

2. Home Folders

3. HOME FOLDER

4. User Home Folder Script. HELP.

5. Loop through folders in Users Home Directories.

6. Disable Public Folder Home Page Property tab;

7. Webbrowsing without Folder home pages

8. Home page setting for outlook folders..?

9. Digital Dashboard/Folder home page problems...

10. Public Folder home page with Outlook View Control and Restriction problem

11. Display task list as HTML folder home page

12. Outlook View Control & Folder Home Page

 

 
Powered by phpBB® Forum Software