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.
  • Posts

    • I wil do anything I can to get off Winblows! Most dreadful OS made by the most hated company!!
    • I don’t use Phone Link. Can I better uninstall this? Or will Microsoft constantly keep adding and downloading this piece of software on each boot, or update via Microsoft Store? (so,… basically pretty useless to uninstall)
    • This Windows feature has been eating users' RAM for years, Microsoft still hasn't fixed it by Ivan Jenic Memory leaks caused by various first-party and third-party features and apps have been a thing ever since Windows started existing as a platform. Last year, we reported on a memory leak tied to Delivery Optimization of Windows 11 and app updates. And now, we’ve come across another feature that might be secretly eating up RAM for some Windows 11 users. According to various reports, a recurring bug in Windows 11's Phone Link feature is causing its Cross Device Service to consume massive amounts of RAM. The most recent complaint comes from a Reddit user who described the service eating 25 to 30GB of RAM during a gaming session. On top of that, a related process was pushing usage even higher, to the point where Task Manager took three minutes just to open, and internet speeds dropped from 900 Mbps down to 150. Image: CoolerC94 on Reddit That's not an isolated case either, as complaints about memory leaks caused by the Phone link feature date as far back as 2023. Other reports describe the same service consuming 15 to 20GB of RAM roughly once a day, forcing users to manually end the process through Task Manager just to get their system responsive again. One user on Microsoft's Q&A forum said the issue pushes their PC to use over 90 percent of available RAM, and that it's become a regular occurrence rather than a one-off glitch. So, if you’re using Windows 11’s Phone Link feature to sync data between your PC and your mobile phone, and you noticed unusually high memory usage, you now may know the cause. Cross Device Service is the background component that powers Phone Link, handling things like clipboard sharing between devices, notification syncing, remote control, and app continuity through the Resume feature. When it works properly, it's meant to run quietly without much resource draw. When it doesn't, it appears to get stuck in some kind of loop that never resolves, gradually eating up more memory the longer it runs. Image: dwhaley720 on Reddit This issue was never officially confirmed by Microsoft, as we only learned about it from various forum and Reddit posts. But the complaints seem frequent enough, with similar symptoms, to conclude that this is an underlying issue for some users on Windows 11. Microsoft support did offer a few troubleshooting steps for anyone hitting this, but these are mostly generic solutions, like making sure both Windows and Phone Link are fully updated. An additional solution could be disabling the Mobile Devices entry under Task Manager's Startup apps tab. It’s fair to say that trying these troubleshooting steps might not solve the problem for everyone. So, for users who have already tried these solutions and still haven’t resolved the problem, the simplest fix may be to just disable Phone Link altogether and accept the loss of cross-device syncing rather than dealing with the memory drain. Sources: Reddit post 1, Reddit post 2, Reddit post 3, Microsoft Q&A forum post
    • Mitch McConnell spotted !
  • Recent Achievements

    • Reacting Well
      flexorcist earned a badge
      Reacting Well
    • First Post
      VitãoTub earned a badge
      First Post
    • Week One Done
      M S COMMUNICATION earned a badge
      Week One Done
    • One Year In
      Dřívko earned a badge
      One Year In
    • Dedicated
      Brandon J earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      397
    2. 2
      PsYcHoKiLLa
      137
    3. 3
      +Edouard
      112
    4. 4
      Nick H.
      88
    5. 5
      neufuse
      74
  • Tell a friend

    Love Neowin? Tell a friend!