Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)

From: Richard C. (richardc_ca_at_hotmail.com)
Date: 11/16/04


Date: Tue, 16 Nov 2004 17:41:43 -0500

Hi Matt,

You've got a pretty good picture of the overall task at hand.
I suggest you start looking at your task in little bits.
Look for code samples that already exist on the net (google is your friend).
We'll help you put it all together in the end.
First look for some create user code as there's no sense posting it here,
there's tons of sample code out there.

HTH

Richard...

"Matt T" <Matt T@discussions.microsoft.com> wrote in message
news:FFE47AF4-2740-4C25-BF83-DDFDE188F7BF@microsoft.com...
> Hi. I'm hoping someone here can help me with some if not all of this
> question.
>
> I've been assigned the task of creating 200+ local user accounts on a
> Windows 2000 Server and create corresponding Containers/Virtual Folders in
> IIS Administrator for an FTP site.
>
> I'm hoping I can script some, if not all of this procedure, but I am a
> complete Windows Scripting novice so I'm hoping that I can get some help
> on
> how to proceed.
>
> For the local users I need to be able to do the following:
>
> Enter the username and full name, both of which will be the same. They
> will
> be in the following incremental format: user1, user2, user3 . user200
> I will need to enter a description and a custom password. I will also need
> to configure the password so the user cannot change it and it never
> expires.
>
> Once the user is created it will have to be removed from the users group
> and
> added to the ftp-users group.
>
> A 'Local Path' will also need to be set on the Profile tab. This path will
> point to incrementing folder names: i.e. user1 will have a local path of
> D:\folders\site1; user2 will have a local path of D:\folders\site2
>
> I believe this is all possible through scripting; however I am very
> unfamiliar with it, as it is somewhat out of my normal area of work.
>
>
> What I am even more unsure of is scripting the creation of Virtual Folders
> in IIS Administrator.
>
> I need to create virtual directories with incremental aliases: i.e. site1,
> site2, site3 . site200
>
> The FTP Site Content path will then need to point to the corresponding
> user's local path folder: i.e. site1 will need to point to the local path
> of
> user1
>
> The access permissions of the virtual folders will need to be set to
> read/write.
>
> Once this is done, Web Sharing will need to be enabled for each of the
> 'real' FTP folders in D:\folders. The permissions will need to be set to
> read/write and no executables.
>
> Inheritable permissions will need to be deactivated for each folder in
> D:\folders\ and the permissions list will need to be modified. The 'users'
> account will need to be removed from the list and the corresponding user
> account will need to be given 'modify' permissions (everything except
> 'full
> control'): i.e. for folder D:\folders\site1, user1 will need to be added
> with
> modify permissions.
>
> Finally 'High Isolation' will need to be set for the FTP site within the
> WWW
> Container in IIS Administrator.
> I hope I explained this properly.
>
> As you can see, doing all this for 200 users would take a long time and
> scripting, even if it was only partial would be a life-saver. Any help
> offered will be greatly appreciated!
>
> Matt



Relevant Pages

  • Re: Creating Multiple FTP Users and Containers (2000 Server + IIS)
    ... >complete Windows Scripting novice so I’m hoping that I can get some help on ... >What I am even more unsure of is scripting the creation of Virtual Folders ... The permissions will need to be set to ... >account will need to be given ‘modify’ permissions (everything except ‘full ...
    (microsoft.public.windows.server.scripting)
  • Creating Multiple FTP Users and Containers (2000 Server + IIS)
    ... i.e. user1 will have a local path of ... I believe this is all possible through scripting; ... What I am even more unsure of is scripting the creation of Virtual Folders ... The access permissions of the virtual folders will need to be set to ...
    (microsoft.public.windows.server.scripting)
  • Re: Display share permissions
    ... > the share permissions are, ... > from a backup, the folder permissions stay, but the shares ... > folders and this could be a nightmare. ... -- torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: ...
    (microsoft.public.win2000.general)
  • Re: Setting up FTP site in Windows 2000
    ... >location within my overall FTP site. ... >allowed download files and browse certain folders. ... >App1FTPUsers group to write to the ... Remove the Everyone group from the folder permissions. ...
    (comp.os.ms-windows.nt.admin.security)
  • Re: Setting up FTP site in Windows 2000
    ... >location within my overall FTP site. ... >allowed download files and browse certain folders. ... >App1FTPUsers group to write to the ... Remove the Everyone group from the folder permissions. ...
    (microsoft.public.win2000.security)