Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Import Server 2003 Shares into 2008 DFS Folder Targets

Posted on 2010-11-17
6
Medium Priority
?
1,008 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
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 2000 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
For anyone that has accidentally used newSID with Server 2008 R2 (like I did) and hasn't been able to get the server running again because you were unlucky (as I was) and had no backups - I was able to get things working by doing a Registry Hive rec…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

721 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