Solved

dfsutil.exe - Entry Point Not Found

Posted on 2003-11-21
7
2,339 Views
Last Modified: 2013-12-23
I'm trying to run dfsutil.exe on one of my servers and I am getting an error:


dfsutil.exe - Entry Point Not Found

The procedure entry point TraceMessage could not be located in the dynamic link library ADVAPI32.dll.

Please advise.
0
Comment
Question by:mb2010
  • 4
  • 2
7 Comments
 
LVL 5

Expert Comment

by:daJman
ID: 9799447
Are you using the SP2 version?
http://support.microsoft.com/default.aspx?scid=kb;EN-US;293114

Have you tried dfscmd.exe?
0
 

Author Comment

by:mb2010
ID: 9799514
There is still a DFS root that remains on our server called DSRENTSD.  I am trying to get rid of it from the DSRENTSD server and I get the following errors:

1) The following error occurred during deleting the Dfs root on DSRAH-NT.  Do you want to forcibly remove the Dfs root?  The specified service does not exist as an installed service.

Yes

2) The following error occurred whiel deleting the Dfs root DSRAH-NT: The system cannot find the file specified.

OK

3) [back to first error]

Then I read that dfsutil could get rid of it, but it is not working.  


Yes.  I am using the SP2 version.

I just tried dfscmd.exe and got the message "The Dfs root volume cannot be deleted - Uninstall Dfs if required."

There are no DFS roots on DSRAH-NT or DSRENTAH.  I am only trying to get rid of the one on DSRENTSD.

Thanks.
0
 
LVL 5

Expert Comment

by:daJman
ID: 9799657
Did you try "dfscmd.exe /restore"?
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 5

Expert Comment

by:daJman
ID: 9799679
Also try:

From any client in the domain, run the DFSUTIL /unmap:\\Fully Qualified Domain Name\DFS Root name /ROOT:\\old server name\Share command.
From a command prompt on the renamed computer, run the following commands, pressing ENTER after each command:
DFSUTIL /clean:new computer name
DFSUTIL /reinit:new computer name
net stop dfs & net start dfs

http://support.microsoft.com/default.aspx?scid=kb;en-us;279067
0
 
LVL 5

Expert Comment

by:daJman
ID: 9828055
any luck?
0
 

Accepted Solution

by:
mb2010 earned 0 total points
ID: 9859929
Nope.

Here is what I did as a work-around:

To remove the existing DFS, follow these steps:

                 

 

1. Stop DFS on all domain controllers. You can use the Windows

                                        2000 Resource Kit utility for Domain Administrators (Netsvc.exe) to stop,

                                        start, or query a service on a remote computer.

 

 To use this utility,

                                        you must first have the required permissions on the target computer. In most

                                        cases, Local Administrator equivalencies are required. Use the following

                                        syntax:

 

    Netsvc <servicename > \\<computername >/command For example, at the command prompt, type the following command,

                                        where <computername > is the name of the computer:

 

    "Netsvc DFS \\<computername >/STOP" (without the quotation marks)

 For additional information about how to

                                          use Netsvc.exe to control services remotely, click the following article number

                                          to view the article in the Microsoft Knowledge Base:

 

    KBLink:166819.KB.EN-US: Using Sc.exe and Netsvc.exe to Control Services

    Remotely

 

2. Verify that DFS service is stopped on each domain

                                        controller. To do this, you can use the /QUERY switch with the Netsvc utility.

                                       

 

 For example, at the command prompt, type the following command,

                                        where <computername > is the name of the computer:

 

    "Netsvc DFS \\<computername >/QUERY" (without the quotation marks)

 

3. Delete the DFS object in Active Directory directory

                                        service. To do this, follow these steps:

                                       

 

    a.         Click "Start", point to

                                                                             "Settings", and then click "Control Panel".

                                                                             

 

    b.         Double-click "Administrative Tools", and

                                                                             then double-click "Active Directory Users and Computers".

                                                                             

 

    c.         On the "View" menu, click

                                                                             "Advanced Features", expand the "System" folder,

                                                                             and then click "DFS-Configuration".

 

    d.         Click the DFS root in the right pane, and then press

                                                                             DELETE. Click "Yes" to confirm. Note: You can also use ADSIedit.msc to remove the DFS configuration

                                        data. Adsiedit.msc is located in the Support\Tools folder of the Windows 2000

                                        Server CD-ROM.

 

Warning: If you use ADSIedit.msc, Ldp.exe, or any other Lightweight

                                        Directory Access Protocol (LDAP) version 3 client, and you incorrectly modify

                                        the attributes of Active Directory objects, you can cause serious problems.

                                        These problems may require you to reinstall Microsoft Windows 2000 Server,

                                        Microsoft Exchange 2000 Server, or both. Microsoft cannot guarantee that

                                        problems that occur if you incorrectly modify Active Directory object

                                        attributes can be solved. Modify these attributes at your own risk.

 

 

                                        To use ADSIedit.msc to remove the DFS configuration data, follow these steps:

                                       

 

    a.         Start ADSIedit, and then in the Domain partition of

                                                                             Active Directory, locate the DFS object. For example, for a computer in the

                                                                             MY_DOM.NET domain with a fault-tolerant DFS root named DFSroot, use the

                                                                             following LDAP path:

               

                 CN=DFS-Configuration,CN=System,DC=MY_DOM,DC=NET.

 

    b.         Click the DFS root, and then press DELETE.

 

4. Wait for Active Directory replication to occur, and then

                                        verify the deletion.

 

Note: Replication may take 15 minutes or longer, depending on your

                                        environment.

 

 To force Active Directory replication, type the

                                        following command at a command prompt, and then press ENTER:

 

    " repadmin/sync <Naming Context ><Dest DSA>._msdcs <Source DSA

    objectGuid >/force " (without the quotation marks) Note that there is a period (.) between <Dest

                                        DSA> and _msdcs.

 

Note: For the example commands in this article, both of the following

                                        are true:

                                       

 

    -           <Dest DSA>,

                                                                             <Source DSA>, and <DSA>

                                                                             represent the names of the appropriate servers

 

    -           <Naming Context > represents

                                                                             the Distinguished Name of the root of the NC. For example,

                                                                             DC=My-Domain,DC=Microsoft,DC=Com Notes

 

    -           Specify the target first in the parameter list, and

                                                                             then the source.

 

    -           You cannot substitute the <Source DSA

                                                                             objectGuid > with the name of the source domain controller.

                                                                             

 

    -           To get the correct source Globally Unique Identifier

                                                                             (GUID) for <Source DSA objectGuid>, type

                                                                              "repadmin/showreps" (without the quotation marks) at the command prompt, and then note

                                                                             the object GUID.  For example, to synch the domain controller

                                        <Server31 > after you delete the DFSroot on

                                        <Server01>, type the following command at the command

                                        prompt, and then press ENTER:

 

    " repadmin/sync DC=<MY_DOM >,DC=<NET Server31 ><objectGuid of Server01

    >/force " (without the quotation marks)

 

5. Clean up the root servers.

 

 To clean up the

                                        registry of the root server <Servername > so that it

                                        is no longer a DFS root, type the following command at the command prompt, and

                                        then press ENTER:

 

    "DFSutil/CLEAN:<Servername >" (without the quotation marks)

 

6. Verify that the cleanup is successful. To verify that the

                                        cleanup is successful, confirm that the following registry keys are deleted:

                                       

 

    -           Delete the following subkey, if present:

               

               

               

                                                                             HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DFSHost

 

    -           Delete any subkey in the following LocalVolumes

                                                                             subkey:

               

                HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DFSDriver\LocalVolumes

               

                Note: Do not delete the LocalVolumes subkey.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

911 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

18 Experts available now in Live!

Get 1:1 Help Now