Hello,
My first admission is that I know very little about scripting/batch files. Given that here is the question. We have a mixed desktop environment - win 98, 2000 and xp all running in a windows 2000 server domain. We have putinenv L and winset.exe in the netlogon and scripts folder.
We have a large # of students logging into widows 98 systems. The logon script maps the drive to the users folder. The problem is twofold. First, some of the 98 machines do not show the mapped drive/student folder. Second, when they log onto an XP machine we get the winset error and the mapped drive is "access denied". We have checked the folders privilages many times.
What is just as frustrating is that some students are logging in fine with the same script. I have included a copy of the bat file. Any suggestions would be helpful.
Thanks,
PS - It is a learning curve on my part so any good resouces or web sites would help too.
REM *** STUDENT LOGIN SCRIPT FILE ***
@echo off
@NET TIME \\server_name/DOMAIN:NAME/SET /YES
if %os%==Windows_2000 goto END
if %os%==Windows_XP goto END
\\server_name\netlogon\putinenv L
\\server_name\netlogon\winset username=%username%
\\server_name\netlogon\winset langroup=%langroup%
@Rem // Create new
@net use h: \\sever_name\%username%$
:end
My first admission is that I know very little about scripting/batch files. Given that here is the question. We have a mixed desktop environment - win 98, 2000 and xp all running in a windows 2000 server domain. We have putinenv L and winset.exe in the netlogon and scripts folder.
We have a large # of students logging into widows 98 systems. The logon script maps the drive to the users folder. The problem is twofold. First, some of the 98 machines do not show the mapped drive/student folder. Second, when they log onto an XP machine we get the winset error and the mapped drive is "access denied". We have checked the folders privilages many times.
What is just as frustrating is that some students are logging in fine with the same script. I have included a copy of the bat file. Any suggestions would be helpful.
Thanks,
PS - It is a learning curve on my part so any good resouces or web sites would help too.
REM *** STUDENT LOGIN SCRIPT FILE ***
@echo off
@NET TIME \\server_name/DOMAIN:NAME/SET /YES
if %os%==Windows_2000 goto END
if %os%==Windows_XP goto END
\\server_name\netlogon\putinenv L
\\server_name\netlogon\winset username=%username%
\\server_name\netlogon\winset langroup=%langroup%
@Rem // Create new
@net use h: \\sever_name\%username%$
:end