Re: Unknown cmd on logon

From: bolta (sbranaga_at_optusnet.com.au)
Date: 09/15/04


Date: 14 Sep 2004 20:31:32 -0700

Paul,

What's running is part of the normal SBS logon script that kicks off
whenever a domain controller logs on a new user. The script is found
on the domain controller, and lives in "C:\WINDOWS\SYSVOL\sysvol\[name
of your domain]\scripts. By default, it's called
"SBS_LOGIN_SCRIPT.BAT".

Open this file up using any text editor, and your can remove the
offending command - as with anything to do with SBS, however, remember
to take a backup of the file first!

Cheers,

Stuart B.

Paul Proefrock wrote:
> When one of my clients connects via remote, if you check "dialup" on
logon,
> the unit connects and functions as it should, using a vpn connection.
>
> But it also get a "dos window" that starts up automatically? The
command
> line says "\\[ServerName]\Clients\Setup\Setup.exe /s [Server name]"
The
> square brackets are mine to identify that it inserts my servers name.
>
> I've searched the startup folders and nothing is in them. I've
checked the
> client and the server for the setup file and folder but don't find
anything
> that matches the path.
>
> If I don't indicate to make the connection, if I just logon then
establish
> the vpn connection, it doesn't do this.
>
> Has anyone else experienced this? any ideas on where to begin to look
for
> the offending file? I am confident it has something to do with the
logon
> script but can't find anything. If another user or administrator logs
onto
> the machine, it happens to them, also.
>
> Thanks
>
> Paul P



Relevant Pages

  • Re: Users last logon info from logon script
    ... I put this line in the users logon script: ... If I run the script manually, it shows the last logon time. ... I guess it is because Windows update the lastlogon attribute once a user ... Then, for each Domain Controller, ADO is used to search the ...
    (microsoft.public.security)
  • Re: Disable multiple computers logon
    ... script appended username, computername, date/time, and IP address to a text ... I always cautioned that since the logon scripts ... a malicious user could modify the logs. ...
    (microsoft.public.windows.server.scripting)
  • Re: SMSLOGON Share point
    ... you may be able to run smsls.bat from the nt4 domain controller ... > clients as you would specify the logon point in the script e.g. ...
    (microsoft.public.sms.admin)
  • Re: add computer account to AD security group during logon
    ... groups are filled after the logon. ... logoff script that log information to a text file. ... Dim objUserGroup, objComputerGroup ...
    (microsoft.public.windows.server.active_directory)
  • Re: Multiple logins
    ... How can a logon script know if the user is logged into another ... found, allow the logon, but save a file in this folder named after the ... logon script saves a file in the folder corresponding to the current PC, ... So, the startup script reads the file, determines the user, then goes ...
    (microsoft.public.scripting.vbscript)