Re: Login Script Trouble

From: Galaxy (spamass_at_nootthanks.***)
Date: 08/19/04


Date: Thu, 19 Aug 2004 18:14:40 -0000

Well, I figured this one out with regards to why the batch file didn't
inherit the permissions from the scripts folder. It was because I moved
it within the same NTFS partition. This meant I had t set the permissions
manually, which I should have checked in 1st place. From now on, I'll just
copy and paste the scripts into the Netlogon share so the batch files will inherit
the relevant security permissions.

Thanks to both Pegasus and Dmitry for the replies.
  "Pegasus (MVP)" <I.can@fly.com> wrote in message news:#Af3qafhEHA.1972@TK2MSFTNGP09.phx.gbl...
  It makes no difference if a file has a .bat or a .cmd extension -
  Windows 2000 treats it the same way. The purpose of .cmd
  extensions is to prevent them from running in a Win9x
  environment, in case they contain commands that are
  specific to WinNT/2000/XP.
    "Dmitry Korolyov [MVP]" <d__k@removethispart.mail.ru> wrote in message news:Opm1dRehEHA.2052@tk2msftngp13.phx.gbl...
    Did the drives map if you launch the script manually? Also, try renaming the file from .bat to .cmd

    --
    Dmitry Korolyov [d__k@removethispart.mail.ru]
    MVP: Windows Server - Active Directory

      "Galaxy" <spamass@nootthanks.***> wrote in message news:O#LKSBehEHA.2540@TK2MSFTNGP10.phx.gbl...
      I'm new to creating scripts and I'm experimenting with trying to map drives
      with this script below.

      NET USE Q: \\server1\Mapped1
      NET USE Z: \\server1\Mapped Bob

      I saved this as mapped.bat and placed in the
      SYSTEMROOT%\SYSVOL\domain name\SCRIPTS folder. I then went to
      a users profile tab and then put mapped.bat in thgeir logon script path.
      When I log on with this user from a W2K workstation the mapped drives are
      not showing. Is there anything I have missed, or where should I be checking?

      Don't know if this has anything to do with it, but in Event Viewer in the
      system log,
      at the same time I'm trying to run the script theres a warning which says
      "The redirector
      failed to determine the connection type"

      Thank You


Loading