How to write logon script in windows 2000 server?


Recommended Posts

you have to write Logon Scripts by hand and you can use 2 langauges as far as i know, batch or Kixscript.

you place the files into scripts on the server. this is by default in C:\WINNT\Sysvol\sysvol\domain.name\scripts

The client PC's see this as \\ServerName\NETLOGON.

if your using batch you type the batch file name (i.e. Fred.bat) into the users logon script entry.

if your using kixtart it would be WKIX32.exe scriptname.kix, with kix you ONLY need the EXE and the kix script file in the NETLOGON folder.

hope this helps

  • 2 weeks later...
you have to write Logon Scripts by hand and you can use 2 langauges as far as i know, batch or Kixscript.

you place the files into scripts on the server. this is by default in C:\WINNT\Sysvol\sysvol\domain.name\scripts

The client PC's see this as \\ServerName\NETLOGON.

if your using batch you type the batch file name (i.e. Fred.bat)? into the users logon script entry.

if your using kixtart it would be WKIX32.exe scriptname.kix,? with kix you ONLY need the EXE and the kix script file in the NETLOGON folder.

hope this helps

huh? whats wrong with good old notepad? (whats the point of wasting money on buying an app to do login scripts when you get notepad FREE with every version of windows?)

it is more than up to the job of creating logon scripts or batch files.

open notepad up and create the scripts you want to create.

when done choose save as and add to the end of the script name .bat

whala you have a batch file logon script now.

chuck these created .BAT files into C:\WINNT\Sysvol\sysvol\domain.local\scripts (domain in this case is the netbios name of your domain controller or the server holding the logins).

Go into AD and connect the corresponding logon scripts to the accounts.

EXAMPLE OF A SCRIPT WRITTEN IN NOTEPAD

net time \\rbrs3 /set /y

net use f: \\rbrs4\Quality

net use h: \\rbrs4\qa5

net use g: \\rbrs4\acccommon

net use j: \\rbrs4\cusserv

net use k: \\rbrs4\engcommon

net use l: \\rbrs3\mkcommon

net use m: \\rbrs4\xalwin

net use n: \\rbrs4\managemnt

net use o: \\rbrs4\payroll

net use p: \\rbrs4\connect

net use q: \\rbrs4\prodcommon

net use r: \\rbrs4\purcommon

net use s: \\rbrs4\sacommon

net use t: \\rbrs4\doors

net use v: \\rbrs2\media

net use w: \\rbrs4\transfer

net use x: \\rbrs4\xalwin

net use y: \\rbrs2\itcommon

net use U: /home

type that in and whala a individual users login script so that all our work shares are online when th eclient logs in locally and via VPN

Edited by Mando
Kix is FREE and in some cases does more than batch, the script is ALSO created in Notepad.

www.kixtart.org and see for your self.

my organization will actually take a look at this kixstart tomorrow. We need a specialize login script that determines what group the users belong in and than map the group's respective network drive.

my organization will actually take a look at this kixstart tomorrow. We need a specialize login script that determines what group the users belong in and than map the group's respective network drive.

i belive kix can do that :)

my organization will actually take a look at this kixstart tomorrow. We need a specialize login script that determines what group the users belong in and than map the group's respective network drive.

Hi thats exactly what i do for our clients logins with notepad.

I arrange clients into deptartments within AD and then create a script for each department groups allowing access to network shares depending on their permission rights and privaliges.

my organization will actually take a look at this kixstart tomorrow. We need a specialize login script that determines what group the users belong in and than map the group's respective network drive.

Why not use the OUs for this and assign the script to the OU? Place the users in OUs by group.

Why not use the OUs for this and assign the script to the OU? Place the users in OUs by group.

Yeah ... that's what I want to do. However, the IT director think otherwise. She wants one global login script and not have to dig thru the OU's gpo to edit a login script.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.