Discussion Locked

Diskmapping problem under different OS.

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I work at a small office, only 70-80 employee and all users are under same OU in AD, both W2K user and W98 users. We are about to migrate all machines to W2K, but meanwhile doing I experience some problems.

Win2K client computers have difficulties to release disk mapping at logoff procedure. Sometimes the computers hang, while W98 client users don?t bother. I know that the line (NET USE x: \\Server\share /Persistent: no) in logon, releases the mapping for W2K clients as they logoff. But allW98 users get a fault message at logon when I use that line.

Is there an easy way to have different logon script for different OS in a small LAN like my example? Or what can I do to get it right?

Please Help!

Sincerely

Martin

1 reply

by martin.malmborg

@echo off

goto step3

:step1
(Type in for W2000)

goto both

:step2
(Type in for W98)

goto both

:step3
set x=Windows_NT
if /i %os%==%x% goto step1
goto step2

:both

(Type the data for both os here.)

goto end

:end

This discussion is closed to new replies.