I'm looking for a possibility to pass Samba-macro's into the NETLOGON.BAT, so that I can use the macro's within the batch-file. I tried this in the smb.conf: logon script = NETLOGON.BAT %U but then the logon script didn't start at all. Is there a way to pass the macro's to the NETLOGON.BAT? Thanks, Frank van Kruijl