Re: Logon Script

From: Al Dunbar [MS-MVP] (alan-no-drub-spam_at_hotmail.com)
Date: 12/31/04

  • Next message: Al Dunbar [MS-MVP]: "Re: Logon Script"
    Date: Fri, 31 Dec 2004 10:17:11 -0700
    
    

    "Jaime" <Jaime@discussions.microsoft.com> wrote in message
    news:A109AC48-AA2E-48B1-8A87-1B38FCEAA7B8@microsoft.com...
    > Thanks for the responses! I will look at both sites and try to solve my
    > problem. I do have one question. What book would you recommend for
    Windows
    > Scripting? I have taken a look at Microsoft's Windows 2000 scripting
    guide
    > at that seems ok, but I was wondering if you had any recommendations. I
    have
    > some programming background, and would like to learn more about scripting
    for
    > network administrators in a Windows environment.

    General windows scripting book recommendations:
    http://groups.google.ca/groups?hl=en&lr=&q=windows+scripting+book+recommendation+group%3Amicrosoft.public.*

    Personally, I'd recommend two WROX books: Programmer's guide to VBScript and
    Programmer's guide to Windows Script Host.

    /Al

    > "Al Dunbar [MS-MVP]" wrote:
    >
    > >
    > > "Jaime" <Jaime@discussions.microsoft.com> wrote in message
    > > news:EBB679F4-4EBC-4CB3-BBF5-3CABAABB0492@microsoft.com...
    > > > I appologize for my vaugness.
    > > >
    > > > I would like the script to run at logon. We have a LAN. 2k DC. Most
    > > > workstations are running XP with a few on 2k.
    > >
    > > Logon scripting would seem to be in order, then. An excellent resource
    for
    > > doing this kind of thing using WSH can be found at Richard Mueller's
    > > "Hilltop Labs" site: http://www.rlmueller.net, especially the section on
    > > group membership testing:
    > >
    > > http://www.rlmueller.net/freecode1.htm
    > >
    > > /Al
    > >
    > > > "Al Dunbar [MS-MVP]" wrote:
    > > >
    > > > >
    > > > > "Jaime" <Jaime@discussions.microsoft.com> wrote in message
    > > > > news:25C81D56-1C9A-4A0D-B92C-983E9C312221@microsoft.com...
    > > > > > I am looking for a script that users can run at logon that will
    map
    > > drives
    > > > > > and printers. I would like for it to check what group the users
    > > belong to
    > > > > > (global group.."Accounting", "Finance") and then map the
    corresponding
    > > > > > drives. We are currently using batch files that are for specific
    > > groups
    > > > > and
    > > > > > I would like to consolidate them into one file for easy
    maintenance.
    > > We
    > > > > have
    > > > > > no need to keep batch files. We are open to any scripting
    language.
    > > > >
    > > > > A logon script is one the WILL RUN at logon, not one that "users CAN
    > > run".
    > > > > Which is it that you want?
    > > > >
    > > > > What is your network environment - NT4 or native Active Directory?
    > > Network
    > > > > topology - LAN, LAN/WAN, LAN/VPN? Wat O/S's on your client
    workstations?
    > > > >
    > > > >
    > > > > /Al
    > > > >
    > > > >
    > > > >
    > >
    > >
    > >


  • Next message: Al Dunbar [MS-MVP]: "Re: Logon Script"

    Relevant Pages

    • Re: SEEK: utility to add file date to name
      ... 2K and later have Windows Scripting Host that runs vbscript and jscript code from the command line--with older versions of windows you have to invoke it with cscript but in Vista you can just type "helloworld" on the command line and if helloworld.vbs is anywhere in your search path it will run. ...
      (rec.photo.digital)
    • Re: Shell script to do a backup and then shutdown the machine.
      ... [compton ~]$ whatis sleep ... The Bash Guide for Beginners gets you started with Bash scripting ...
      (alt.os.linux.suse)
    • Re: Pulling Fields from LDAP
      ... I know this is an ADSI pull, but am I on the right track? ... A general AD programming guide? ... Inside Active Directory: A System Administrator's Guide ... Windows NT/2000 ADSI Scripting for System Administration ...
      (microsoft.public.win2000.active_directory)
    • Re: Windows decided to make a password
      ... and now it got a Log on to windows pop up screen ... you might try to reset the local Administrator ... torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway ... the 1328 page Scripting Guide: ...
      (microsoft.public.win2000.security)
    • Re: Why is the Script 5.6 documentation so crummy?
      ... I don't think that the WSH and Windows scripting ... VBS for browser scripting. ...
      (microsoft.public.scripting.vbscript)