Net use command in Windows NT 4
Posted on 2004-11-20
Dear all experts,
I've some question regarding the net use command in Windows NT4, please kindly advice:
Currently I've 10 NT 4 Workstations and 60 Windows 2000 Professional clients, both of the computers are joinned in my Windows 2003 Active Directory. I've made a login script for my client to map the network drive when they login to the network, the script is as follow:
Net Use H: \\Server1\Data > Nul
Net Use I: \\Server1\Data\Application > Nul
Net Use J: \\Server1\Data\Application\New > Nul
Net Use K: \\Server1\Document > Nul
Net Use L: \\Server1\Document\IT > Nul
Net Use M: \\Server1\Document\Human > Nul
Where \\Server\Data and \\Server1\Document are the share folder in my network.
And Application is the subfolders under "Document" share
When the clients login on the Windows 2000 Professional machine, it can map all the network drives (H, I, J, K, L, M). However, when the clients login on the Windows NT4 workstatoin, it can mapped to H and K drive. I think the problem is the net use command provided by Windows NT4 cannot map to network share folder directly.
Therefore, can any experts tell me how to override the above problem. How do I re-write my login script? Please advice.
Futhermore, I would like to know how to detemind the OS version in login script.