Solved

Import Server 2003 Shares into 2008 DFS Folder Targets

Posted on 2010-11-17
6
962 Views
Last Modified: 2012-05-10
I have about 250 different shares on a single Server 2003 SP2 server.  I'm implementing a domain-based DFS namespace and am looking for a way to feed the DFS server with the shares stored on the 2003 server.

So, if I have:

\\Server2003\Users
\\Server2003|data
\\Server2003\accounting
etc...

I don't want to (or would like to avoid) adding all of these by hand into the DFS Name Space targets...  what I would like is to run some tool which will basically take all shares from Server2003 and add them to my namespace...

i.e. so that the following are automatic:

\\domain.local\root\Users
\\domain.local\root\data
\\domain.local\root\accounting

over 200 times...  Is this doable?
0
Comment
Question by:taki1gostek
  • 3
  • 3
6 Comments
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 34161715
0
 
LVL 2

Author Comment

by:taki1gostek
ID: 34163414
I'm aware of the dfutil's existence but unsure of the syntax I'd follow to enumerate all shares and appropriate share permissions in dfs from the file server.  Would you be able to give me a hand with that?
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 34168287
To get a list of all your shares, go to Computer Management, System Tools, Shared Folders. Right click on Shares, and Select Export List... . That will get you all shares, including the hidden ones. You can then bring that into Excel, and add some columns for the commands you need.

dfsutil link add <DfsPath> <\\server\sharepath> [Restore] [<Comment>]

I took the syntax straight from the TechNet blog post.
0
Superior storage. Superior surveillance.

WD Purple drives are built for 24/7, always-on, high-definition security systems. With support for up to 8 hard drives and 32 cameras, WD Purple drives are optimized for surveillance.

 
LVL 2

Author Comment

by:taki1gostek
ID: 34170188
ok, i've seen the link add syntax, but how would I feed this command line with the output of my shares?  i.e. dfsutil link add <<path to filename.txt>> ?   Thanks, Kevin
0
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 500 total points
ID: 34170835
I build it in Excel. You can easily fill down the cells with the repeating command, and then have a column for the DFS path, and another with the target path. Make it look like a batch file, and then save it as a .txt file with a .cmd extension and run it.
0
 
LVL 2

Author Closing Comment

by:taki1gostek
ID: 34172089
Thanks... It was obvious after I asked the last question.  Sometimes the obvious has to be pointed out, one last thing in layman's terms what is the difference between link add and target add, shouldn't I be using target add?
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
Create your own, high-performance VM backup appliance by installing NAKIVO Backup & Replication directly onto a Synology NAS!
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

920 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

15 Experts available now in Live!

Get 1:1 Help Now