Simulate UNC-Path with Domainname

Posted on 2009-04-16
Last Modified: 2013-12-02
Hi Windows-Experts,

I have to prepare some data with fix coded paths inside. I very often have to change the workstation name, but this works so I can simulate some customer servers and prepare the paths (which have to be accessible to configure the application).

But now I've got a big problem: I've to simulate a whole domain-name for a UNC path.

Example: "\\mycustomuncworkstationname\testshare" isn't a problem (wether really painful), but "\\\testshare" impossible for me at the moment.

Is there any solution for this problem? I don't want to set up an AD....  I allready tried it via hosts-file, but this doesn't work for me for shares (pinging isn't a problem).

Best regards,
Question by:abfinfo
    LVL 10

    Expert Comment

    Can't you just create a forward lookup zone within your DNS structure and have an A record that happens to correspond to the name of the domain?
    e.g. zone name = and a the A record = mycustomuncworkstationname
    then when you browse to the path you get the workstation simulating the domain
    LVL 38

    Accepted Solution

    Disable strict name checking on the machine hosting the share (make the registry edit mentioned in the "After you install the hotfix" section).  It works on XP as well as 2000/2003.

    You should then be able to fake the fully-qualified domain name in your machine's HOSTS file and connect to the share correctly.

    Author Closing Comment

    Works great :) Thanks a lot for your help... YMMD

    Best regards,

    Featured Post

    Wish Marketing would stop bothering you?

    Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Bit Locker 2 30
    unable remove registry key 24 65
    Internet Explorer zone mapping group policy 7 32
    how to roll into all sub dirs 7 19
    Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
    If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now