Hi Tony, First: you didn't specify operating system (Windows 2000, 2003, XP?) You didn't mention IIS or ftp server and you did not say local user or domain user. This makes answering a little bit difficult.
Second: automating and scripting is not the Microsoft way (TM), they like people to klick and klick and klick and so on..... So you have to build your own tools or use the ideas of someone else ;-) If you are really interested in scripting you should take a look at perl (which is used by unattended anyway). A good starting point is Win32 Perl Scripting by Dave Roth, homepage: "http://www.roth.net/perl/", Amazon: ("http://www.amazon.com/exec/obidos/ASIN/1578702151"). On pages 49-51 there is a script for renaming local accounts. Regarding ftp: What's wrong with Microsoft's own iisftp.vbs? "http://www.microsoft.com/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/standard/proddocs/en-us/iisftp.asp" I don't use it because I would never use IIS, but this script sounds like what you want. File sharing: use a firewall and plock the wellknown ports. So if you need the shares again for updating then you can do it anytime. And you are using a firewall anyway, don't you? Regards Stefan Kell On Fri, 4 Feb 2005, Tony Worrall wrote: > Hey Stefan, thanks for replying. > > I did check technet and found little info pertaining to automating these > tasks. > > The services are installed by default with TCP-IP on the local area > connection and are needed during unattended for windows updates etc. I > want to turn them off when I no longer require network shares. > > The desktop article you linked to might work, I'll try it. :) > > When I say FTP server, I mean the FTP functionality within IIS6.0. I > have it installed and have removed anonymous users, but I want it > automatically stopped when installation is complete. I was unable to > find a metabase.xml entry to specify this. > > Finally, renaming a user I can do with VBS, it's setting the password > and doing it all from a batch file which prompts for the values I've > having trouble with. Does anyone know how to do a batch file/somehing > to prompt for user input and then run some dynamically generated vbs? > > Thanks again for the reply. > > Tony > > > Stefan Kell wrote: > > >Hi, > > > >why don't you look at microsoft technet? I needed 10 minutes for that. > > > >On Fri, 4 Feb 2005, Tony Worrall wrote: > > > > > > > >>>1. Automatically disable "Client for Microsoft Networks" and "File > >>>and Printer Sharing" for Local Area Connection after the install is > >>>complete. > >>> > >>> > > > >see: > >"http://www.microsoft.com/technet/security/prodtech/windows2000/secmod153.mspx" > > > >you could probably automate it with autoit. Or do not install these > >components. > > > > > > > >>>2. Automatically set a desktop background for all users after install > >>>is complete, I can already set it fro tghe .default user in the > >>>registry, with the key: [HKEY_USERS\.DEFAULT\Control Panel\Desktop] > >>>"Wallpaper"="c:\\windows\\800x600.bmp" However, once a user logs in, > >>>it disappears. > >>> > >>> > > > >See: > >"http://www.microsoft.com/resources/documentation/Windows/2000/server/reskit/en-us/Default.asp?url=/resources/documentation/Windows/2000/server/reskit/en-us/regentry/93214.asp" > > > > > > > >>>3. Disable FTP, I want FTP installed, (working), but I need the > >>>default FTP site in a 'stopped' state. > >>> > >>> > > > >what do you mean? ftp-server? > > > > > > > >>>4. Provide a batch file at the end of the install process which will > >>>prompt for, rename and set a password for an already setup user. > >>> > >>> > > > >see: > >"http://www.microsoft.com/resources/documentation/windows/2000/server/scriptguide/en-us/sas_usr_aznz.mspx" > > > >regards > > > >Stefan Kell > > > > > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > >Tool for open source databases. Create drag-&-drop reports. Save time > >by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > >Download a FREE copy at http://www.intelliview.com/go/osdn_nl > >_______________________________________________ > >unattended-info mailing list > >unattended-info@lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/unattended-info > > > > > >----------------------------------------------- > >Scanned by NetCleanse for all known viruses. > >http://www.netcleanse.com > > > > > > > > > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info