I am experience an issue mapping a network drive through a logon script tied to the user account in AD. Every line of my little script works except one. Heres the entire script:
net use p: “\\******\NewCompanyData\CompanyData P” **** /user:**** /p:yes
net use g: \\fileserver\Accounting
net use n: \\fileserver\NetData
net use s: \\fileserver\Network Scanners
net use u: \\******\NewCompanyData\CompanyData P\Users
Line one is of course for authentication purposes, but it also logs into the server share for P as well as U. my problems is mapping the U drive. this command will not work. through the script or from the command line(after authenticating).
I can however map the drive through the gui, to the same location(\\******\NewCompanyData\CompanyData P\Users)
Environment: Machines are a mix of XP and 7. Servers are 2003 and 2008.The share I am trying to connect to is on a 2003.
Any thaughts would be appreciated. I also understand that I could take the easy way out, and simply connect the U drive once and omit it from the script altogether as the P drive access will provide the proper authentication. I am not looking to bandaid the problem I would like to resolve it. Thanks for any Help.