This is more a minor inconvenience than an actual problem, but it's one I'd like to solve.
I have a logon script that is applied to every user who logs in. It is kept on the DC\NETLOGON share and is simply called logon.bat. Every time it runs it generates the following error:
CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory.
It then goes on and runs the script as normal.
How do I stop this error?
If I run the script from the command line (caliing \\server\netlogon\logon.bat) it runs fine with no errors.