如何手工删除残留的DFS NAMESPACE

遇事考虑不周。

在迁移域控时,没有记得完整删除在其上的DFS NAMESPACE。

而公司的一些重要应用是基于NAMESPACE的。

如果新建和以前不一样的NAMESPACE,那可能涉及的改动就多了。

于是只好手工清除。

http://networkadminkb.com/KB/a449/how-to-manually-delete-a-dfs-namespace-using-adsiedit.aspx

Information:

This procedure assumes all DC’s that hosted this DFS Namespace are no longer available and will not be restored.  Use this procedure with caution, follow good practices by taking system state backups prior to deleting anything from Active Directory.

 

1)      Open AdsiEdit

  1. Connect to the Default Naming Context of the Domain
  2. Right click the ADSI Edit and select Connect To
    1.                                                                i.     
  3. Fill in the appropriate connection settings as shown below.
    1.                                                                i.     
  4. Click OK

2)      Drill down to the following container

CN=Dfs-Configurat,CN=System,DC=domain,DC=net

  1. Delete the affected DFS Namespace(s) listed on the right.
    1.                                                                i.      Example, deleting the apps DFS Namespace.
    2.                                                              ii.     

3)      Force Replication

4)      On each DC stop and restart the DFS Namespace service.

  1. Command Line

net stop dfs

net start dfs

  1. Services MMC
    1.                                                                i.      Select the DFS Namespace service and click Restart.
    2.                                                              ii.     

5)      Restart the DFS service on the client computer.

6)      Run the DFS Management Console

  1. Remove any existing DFS Namespaces from the display.
  2. Restart the DFS Management Console
  3. Add DFS Namespaces to display.
    1.                                                                i.      This list should not display the removed DFS Namespaces.

7)      You can now manually recreate the DFS Namespace

  1. To simplify creating the DFS Namespace you should export the DFS Namespace configuration on a regular basis so you can import it as needed.
上一篇:Java基础


下一篇:构造函数、this、static