net use mapping not working in batch files but works in cmd
- by Philippe
Ok so here's the problem :
I've got users using logon script in the domain (username.bat). The script simply lists 4 or 5 (net use letter: \\SERVER\directory\). However, when they open their session, the logon script doesnt work and returns system error 53 or 67 for all of them. I tried running the script after the profile has loaded and evrything is running, and it still gives me the error.
I've then tried to run the same command in the cmd.exe. Everything mapped correctly. It also works fine if I map the drives using the "Tools Map network drives" utility.
Is there anything that can prevent a command to work when ran in a batch-file but works correctly when typed in manually?