Solved

dfsutil.exe - Entry Point Not Found

Posted on 2003-11-21
7
2,327 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
Have you ever set up your wireless router at home or in the office to find that you little pop-up bubble in the bottom right-hand corner of Windows read "IP Conflict - One of more computers on the network have been assigned the following IP address"…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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