General discussion

  • Creator
    Topic
  • #2337686

    LOGON SCRIPTS IN WIN2K

    Locked

    by lumbini ·

    Hi Everyone,
    I recently setup a Windows 2000 Server and conected some clients to it. I wanted to configure the older 98 systems to connect to the Domain and to get authenticated and in the process to run their individual logon scripts. However, Ifound that the 98 machine didn’t run the logon script after loggin on to the domain.

    This is what I did.
    Client Side:
    I setup the pc to connect and validate with the domain. This part works as the user gets authenticated by the Primary. (by the way, only one server in the domain)

    Server Side:
    I setup the User’s User Profile by typing in \\servername\netlogon\user.bat under the logon script section. I also created a home folder with the path f:\corp\user where I shared the “corp” as well as the “user” folders and gave full control (both share and security permissions) to the user. I also ensured that higher level security permissions don’t flow to these folders. Finally, I placed the logon batch file titled “user.bat” under %systemroot%\sysvol\sysvol\company.com\scripts folder.

    The logon batch file was a simple one as follows:

    net use * \\servername\user and the files was named user.bat

    Thats it..

    Now my question is, is the above correct for windows 2000 or what am I missing here. Your help would be deeply appreciated.
    Best Regards,
    Nigel

All Comments

  • Author
    Replies
    • #3486060

      LOGON SCRIPTS IN WIN2K

      by machinetype ·

      In reply to LOGON SCRIPTS IN WIN2K

      In User Manager for Domains there is an option to specify a home directory for each user. When a NT Workstation logs on to the domain it obtains this information and maps the drive automatically. Windows 9x does not perform this
      automatically. If you place the command

      NET USE H: \\servername\sharename /HOME in the logon script, Windows 9x clients will map the homedirectory for you.

      Hope this helps…

      SLM

      • #3486058

        LOGON SCRIPTS IN WIN2K

        by machinetype ·

        In reply to LOGON SCRIPTS IN WIN2K

        Sorry I did not put enough emphisis on what your script was missing. It is the /home at the end of the command. This specifies what it is. 9X gets confused.

        SLM

      • #3505536

        LOGON SCRIPTS IN WIN2K

        by lumbini ·

        In reply to LOGON SCRIPTS IN WIN2K

        Sorry SLM,
        That wasn’t the problem..but thanks for the effort.

    • #3507066

      LOGON SCRIPTS IN WIN2K

      by lumbini ·

      In reply to LOGON SCRIPTS IN WIN2K

      p.s. I forgot to mention that eventhough the Windows 98 machine doesn’t run the logon script off the server at logon, if i go to network neighborhood from the 98 machine and go to Domain, Servername, Netlogn folder and double click the batch.file, it executes and the drive is mapped to the 98 Machine.

    • #3507065

      LOGON SCRIPTS IN WIN2K

      by lumbini ·

      In reply to LOGON SCRIPTS IN WIN2K

      p.s. I forgot to mention that eventhough the Windows 98 machine doesn’t run the logon script off the server at logon, if i go to network neighborhood from the 98 machine and go to Domain, Servername, Netlogn folder and double click the batch.file, it executes and the drive is mapped to the 98 Machine.

    • #3505881

      LOGON SCRIPTS IN WIN2K

      by rdunn ·

      In reply to LOGON SCRIPTS IN WIN2K

      You don’t need to put the entire server name (UNC, or otherwise) path in the logon script field in User Manager. Just entering the full name of the batch file should be adequate.

      I don’t know if this would even have any affect on your problem, but at the very least, it would eliminate one potential issue.

      Good luck!
      Rob

      • #3505537

        LOGON SCRIPTS IN WIN2K

        by lumbini ·

        In reply to LOGON SCRIPTS IN WIN2K

        Bang on target Rob..!
        Many thanks for the help.
        Best Regards,
        Nigel

    • #3505535

      LOGON SCRIPTS IN WIN2K

      by lumbini ·

      In reply to LOGON SCRIPTS IN WIN2K

      This question was closed by the author

Viewing 4 reply threads