Hi!
It's a Win2k domain network with WinXp clients.
In the "user profile" I've got the text "empleado.bat"
In \\DCSERVER\NETLOGON i've got some files (not all needed):
con2prt.exe
empleado.bat
empleado.kix
empleado.vbs
KIX32.EXE
kx16.dll
kx32.dll
kxrpc.exe
print.kix
WKIX32.EXE
EMPLEADO.BAT
start /w net use * /delete /y
start /w con2prt /f
start /min wkix32.exe print.kix -f
wkix32.exe empleado.kix -f
cscript.exe %Logonserver%\netlogon\empleado.vbs
EMPLEADO.KIX
$index=0
Do
$group=EnumGroup($index)
$index=$index+1
Until (Len($group) = 0)
$index2=0
If (InGroup("domain\domain admins") <> 0)
Use Q: "\\heriz02\software"
Use R: "\\heriz10\grupos\informatika"
EndIf
WriteValue ("HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Start Page", "
http://my.corporation.com/", "REG_SZ")
EMPLEADO.VBS
on error resume next
Set objShell = CreateObject("Shell.Application")
objShell.NameSpace("Q:").Self.Name = "Software"
objShell.NameSpace("R:").Self.Name = "Informatika"