General discussion

Locked

Logon Scripts with Win 98

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

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

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

Collapse -

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.

Collapse -

Logon Scripts with Win 98

by stavros41 In reply to Logon Scripts with Win 98

The question was auto-closed by TechRepublic

Collapse -

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?

Collapse -

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/?

Collapse -

Logon Scripts with Win 98

by stavros41 In reply to Logon Scripts with Win 98

The question was auto-closed by TechRepublic

Collapse -

Logon Scripts with Win 98

by stavros41 In reply to Logon Scripts with Win 98

This question was auto closed due to inactivity

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Discussions

Related Forums