Board index » Visual Studio » Creating a DFS root
|
Marcob
|
|
Marcob
|
Creating a DFS root
Visual Studio198
Hi, Can someone tell me how to create a DFS root using VBScript, or alternatively point me to a site with info? There seems to be info out there on creating DFS links under an existing rot, but not how to create itself. As you may have understood from this, I'm not a scripting guru... Regards, Jørn - |
| Torgeir
Registered User |
Wed Feb 11 17:32:07 CST 2004
Re:Creating a DFS root
"Jørn Jørgensen" wrote:
QuoteCan someone tell me how to create a DFS root using VBScript, or If you can run your script on a Win2k3 Server, it looks like you can use the Create method of the Win32_DFSNode WMI class: msdn.microsoft.com/library/en-us/wmisdk/wmi/create_method_in_class_win32_dfsnode.asp">msdn.microsoft.com/library/en-us/wmisdk/wmi/create_method_in_class_win32_dfsnode.asp TechNet Scripts: Create a Dfs Node www.microsoft.com/technet/scriptcenter/dfs/ScrDFS06.asp">www.microsoft.com/technet/scriptcenter/dfs/ScrDFS06.asp The command line utility DFSUtil.exe and it's command line switch /ADDROOT I would think also do this. Some cleanup tips here by the way: http://groups.google.com/groups?selm" rel="nofollow" target="_blank">groups.google.com/groups=ewwFDyojDHA.964%40TK2MSFTNGP10.phx.gbl MS links Dfsutil (with download link to latest DFSUtil for Windows Server 2003): http://search.microsoft.com/search/results.aspx?st" rel="nofollow" target="_blank">search.microsoft.com/search/results.aspx=b&qu=Dfsutil&view=en-us For Win2k Server: Latest version of a downloadable DFSUtil.exe is in the SP4 Support Tools" www.microsoft.com/windows2000/downloads/servicepacks/sp4/supporttools.asp">www.microsoft.com/windows2000/downloads/servicepacks/sp4/supporttools.asp There is a newer version mentioned here: http://support.microsoft.com/default.aspx?scid" rel="nofollow" target="_blank">support.microsoft.com/default.aspx=kb;en-us;827414 As the article states, you need to call Microsoft Product Support Services to obtain it (outside the US, customers should contact their local Microsoft subsidiary.). The support call will be be free as long as you refer to the Knowledge Base Article number and ask for nothing more. -- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: www.microsoft.com/technet/scriptcenter">www.microsoft.com/technet/scriptcenter - |
