Win98 logon script %username%

Posted on 2003-03-14
Medium Priority
Last Modified: 2010-03-18
Hi !

I am a script beginer and need u help a little bit !

So we move our file server from Novell 5 to Win2k server this weekend and created all the script
for our user, before with Novell we had a script for pepeople to have a personnal folder ( p: )
the script was simple but working ( map root p:=prx\data:usagers\%login_name ) and each user
had there ( p: ) but now the probleme is that our station are 80% Win98 and 20% Win2k pro
and the ( net use p: \\prx\%username% ) only work with Win2k pro ( I know use Kixtart )
but i am to beginer to use that, so I share the personnal folder, but don t want to map the share
manually, but rader use in a logon script ( 30% of the station is use by many user )
so if some pepeole know a script that would work , please help me out.

Right now i am trying with this ( set homedir= \prx\%username%
                                  net use p: \prx\homedir      )

Question by:echos
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3

Accepted Solution

Simonv earned 300 total points
ID: 8137555
Hi echos,

I use this methos for my login script for Win98 and it also works on XP and 2000. Place the batch file in the NETLOGON shared folder on you W2k server then in the users profile put the name of the batchfile file and also there home directory letter and path to match. the /HOME switch will then take care of the rest.

REM  ********** Map user drive to letter J: ***************
REM  NOTE: Details in user's profile need to be set
REM  e.g. home directory drive letter = j:
REm  and path = \\<servername>\<sharename>

@echo off
net use j: /HOME



Author Comment

ID: 8138295
Thank you very very much.
It work perfectly

I appreciate ! :0)

Expert Comment

ID: 8139409
No problem. Your very welcome.

Expert Comment

ID: 8139834
Forgot to add, this line will set your clients time and date to be the same as your server!!!

NET TIME \\<servername> /SET /YES

Is this worth the points now???? ;o)
LVL 41

Expert Comment

ID: 8142706
Glad it worked, now we need you to accept a comment as the answer, and grade it, so we can close this one out, move it to PAQ, and award the expert (Simonv)

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enterprise networks where VoIP phones have been deployed frequently use port configurations that allow both a computer and an IP phone to be plugged into the same switch port but use different VLANs. On Cisco equipment I'm referring to the "native V…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question