Why login.bat applied to a simple user account doesn't work ?

From: Marlon Brown (marlon_brown_at_hotmail.com)
Date: 09/10/04


Date: Fri, 10 Sep 2004 15:27:20 -0700

I go to the MyUserAd account and under 'profile' tab I put it on "login
script":
\\myserver\share\share2\logon.bat
The content of the logon.bat is something like
REM *** hello
net use f: \\myserver3\share

If logon as MyUserAd, I see no indication at all that any logon.bat is
running. I go to the command promp and I am able to browse to
\\myserver\share\share2\ and launch logon.bat and successfully get drive f:
mapped. I tried shorter paths such as \\myserver\share\logon.bat and that
doesn't work either.

I created other user accounts as testing, but again I am not successfull
making this simple .bat work upon login. I go to a DC and I run "net user
<myuserad>" and I see the information there that confirms the login script
applied to the user account profile.

What am I missing here ?

Win2KADSP4, WinXPSP2 clients.



Relevant Pages

  • Re: problem with login
    ... login session" after I create their account. ... If your script is using the mkuser command, ...
    (comp.unix.aix)
  • Re: Running Login Script Problems
    ... Have you replicated the login script to all your DCs' netlogon shares? ... If the "special account" is a domain admin account, ... > all my computers in a lab. ...
    (microsoft.public.win2000.networking)
  • Re: Restricting user access to one file only
    ... Now, as far as the outline for a kiosk machine, where ... would I add a script into the exit feature that would log ... > using the clissic login. ... In order to log in an account ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Expiring inactive accounts
    ... before the current day then you can have it disable the account. ... Would be great help if I can get the script. ... >> for 60 days cannot login after that without admin intervention. ... >> did not change password in 60 days and came later he could not login. ...
    (Focus-Microsoft)
  • Re: content advisor password corruption
    ... script appears to work when I login as admin but I ... > Hi Dru - If you just do the Supervisor password steps ONLY, ... >> family account where all the other programs are is the ...
    (microsoft.public.windows.inetexplorer.ie6.ieak)

Quantcast