General discussion

  • Creator
    Topic
  • #2089600

    Logon Scripts with Win 98

    Locked

    by stavros41 ·

    I am trying to write a logon script (.vbs) that will map drives according to which user has logged on. Most of the commands do not work on the Windows 98 system. Does anyone know how to do this, or is there any sites I can go to for help?

    Thanks

All Comments

  • Author
    Replies
    • #3813049

      Logon Scripts with Win 98

      by rvkempen ·

      In reply to Logon Scripts with Win 98

      It looks like you’re trying to invent the wheel again, try using kixtart, it’s includen in the nt4 resource kit, if you don’t have it you can also download it from http://www.kixtart.org.
      It has anything you need, and is simpler in use than vb scripting.Some sample rules:

      If ingroup( “Friends” )
      use x: “\\mainserver\c$”
      endif

      If @userid = “Ron”
      use y: “\\mainserver\alldata$”
      endif

      If ingroup( “nitwits” )=0 or @userid = “BigBoss
      Logout
      endif

      Etc.

      For win98 and Win96 users, you must have the kixtart RPC running on the ntserver, since they cannot check user or group entrys.

      This one is easy, just put the kixtart files in your netlogon, type kxrpc -install, go to the services and start the service.

      But thisis all explained better in the manual provided.

      I’m sure you like the utility, since you can change registry setting, and everything else, according to group membership, or username.

      Happy scripting 😉

      Ron.

      • #3812315

        Logon Scripts with Win 98

        by rvkempen ·

        In reply to Logon Scripts with Win 98

        W98, and 95 have no clue about membership or username, so you must use a util which tells them what de need to know, this is why you need the kxrpc when using kixtart on 98 or 95 machines.

      • #3430651

        Logon Scripts with Win 98

        by stavros41 ·

        In reply to Logon Scripts with Win 98

        The question was auto-closed by TechRepublic

    • #3813653

      Logon Scripts with Win 98

      by stavros41 ·

      In reply to Logon Scripts with Win 98

      It must be possible to do similar processes by using the wshnetwork.username object and if..then statements.

      Can anyone help?

    • #3558862

      Logon Scripts with Win 98

      by ccsbz ·

      In reply to Logon Scripts with Win 98

      the easy way create a batch file, e.g login.bat insert the following line or lines
      NET USE \\computer name\folder and take it from there. need help on NET USE, at command promtp: tpye net use/?

    • #3430650

      Logon Scripts with Win 98

      by stavros41 ·

      In reply to Logon Scripts with Win 98

      This question was auto closed due to inactivity

Viewing 3 reply threads