Simulate UNC-Path with Domainname

Posted on 2009-04-16
Medium Priority
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 "\\mycustomuncworkstationname.sub.domain.com\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

ID: 24157215
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 = sub.domain.com and a the A record = mycustomuncworkstationname
then when you browse to the path you get the workstation simulating the domain
LVL 38

Accepted Solution

Shift-3 earned 2000 total points
ID: 24159461
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

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

Best regards,

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

864 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