Accessing network share


I am not able to access network share by domain name. when I try to set a home folder with the follwoing script it doesn't work.


But working as \\\home$\%username%

Please help me to solve the problem? I am using windows server 2003 R2.


Who is Participating?

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

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.

JohnBusiness Consultant (Owner)Commented:
That would indicate that the client machine is not on the domain or remote from the domain. Try putting an entry in the HOSTS file and see if that resolves the issue.


.... Thinkpads_User
Joseph DalyCommented:
Is the share stored on a domain controller or as a domain based DFS path? By typing \\mydomain it should bring you to your domain controller which may be different if you have multiple DCs. The IP address brings you directly to the same server each time.
If its on the same domain, unless its a DFS share, you don't need domain name, the path would be \\servername\sharename

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
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

ayha1999Author Commented:
actually my FDQN is

here I am using \\mydept\myshare$

the share on the domain controller

when I share a public$ folder using \\mydept it works but home$ folder doesn't work.
\\servername\sharedfolder\%username%    - this should be the command

\\domainname\sharedfolder    -- is used for accessing DFS namespace...
I thoroughly confused on what you are trying to do. Are you using DFS?
Gajendra RathodLead System AdministratorCommented:
Please check the below:

Go CMD(command prompt)  

Ping mydomain

it should resolve the name and ping the

In case name is not resolve check the DNS server in machine.
JohnBusiness Consultant (Owner)Commented:
>>> In case name is not resolve check the DNS server in machine.

Yes, and that is why I suggested testing with HOSTS file to see.

ayha1999  - please let us know. ... Thinkpads_User
from the workstation can you ping mydept , then is the repsonse saying MYDEPT or  (maybe a DNS issue, is your PC setup for the DNS server on your LAN?)

have you tried to map the drive using the FQDN like  \\\myshare$.....
ayha1999Author Commented:
I am not able to check it now. I do it tomorrow and let you know.

ayha1999Author Commented:
I can ping by
mydept - the result is
I cannot ping by
I can ping by myservername and ip

I can access the share by \\myservername\sharename

when I go to command prompt - the promt appears as follows.
c:\Users\User1.mydept.000>   <--- add 1 with 000 for different users
users cannot write to shares even if authenticated users are given full share permission and special NTFS permission for the home$ folder.

when I issue ipconfig/all, the DNS address is correct. in the result I am not using DFS.

what is the 000 added with logged in user in the command prompt?

seems the profile has been renamed 000...
can you login with some other user and try..
ayha1999Author Commented:
Thanks all for your participation and support.

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 2003

From novice to tech pro — start learning today.