System 55 Error Occurred

I am trying to add a mapped drive via a login script for users logging in to a Windows 2008 Server R2 (w/ Remote Desktop Services).  I am logged into the user's session and I am trying to run the .bat file to ensure it maps properly before adding to the logon script.  


if exist Y: ECHO Removing Drive...
if exist Y: net use /delete Y:

Echo Mapping Users Folder
Echo Drive Y:
net use y: \\server03\Users\%username%

every time I try to run the .bat file I get a system 55 error occurred, the specified resource or network device is no longer available...

Under my login, this same test works.  Under a regular user with Full Control permissions to the shared location it doesn't...

I checked the folder name matches the username and all spellings are correct, the only notable difference from my login to the users login is that my username contains no spaces... mine = username   user's = user name  

???


mwagoner_73Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

dpbohrCommented:
if the user name has spaces...maybe you need to encapsulate the path in qoutes
i.e.  net use y: "\\server02\users\%username%"
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mwagoner_73Author Commented:
That did it!  Thanks!
0
dpbohrCommented:
Glad I could help! :-)
Please make sure you rate the solution....Thanks!
0
info-logmaCommented:
worked for me, thanks guys
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2008

From novice to tech pro — start learning today.