[Samba] Logon scripts in Windows 2000

Helmut Hullen Hullen at t-online.de
Sun Jan 4 07:18:00 GMT 2009


Hallo, Bruce,

Du (bferrell) meintest am 03.01.09:

> Are domain logins required for login scripts to work or will they
> work in workgroup mode as well?

You can put a local script into the user's "autostart" directory which  
calls the logon script of the server.

That's the way I connect Windows XP Home clients to the server.

------------- local logon script --------------

@echo off
set Server=192.168.0.1
rem or which IP address it may be

ping -n 1 -w 1 %Server% | find /I "(0%"
if errorlevel 1 goto tunix

\\%Server%\netlogon\logon
rem or where the logon script may live

:tunix
exit

Viele Gruesse!
Helmut


More information about the samba mailing list