Hello I am having trouble executing a logon script from Windows 2003 to a Windows XP client and a Windows 2000 Pro client.
This is the sample script I got from here
If Exist x:\ Net use x: /delete
If Exist y:\ Net use y: /delete
if "%uername%" == "CFOAccountName" Net Use x: \\Server\Share1
if "%uername%" == "CFOAccountName" Net Use y: \\Server\Share2
I modified it and copied it to a notepad and saved it as .bat, I then put the file in the sysvol\corpnet.net\scripts\logon.bat
I then put only the file name on the user profile path tab in active directory. I did not put anything on profile path, local path, or connect.
It does not work. Any help is appreciated.
Note "%uername%" >>>>>>> do i have to fill in the username in between ("%accountname%") or correct the mispelling i tried it both ways