#6 WinXP x64 SP2 service failed to start

open
nobody
5
2009-11-02
2009-11-02
Anonymous
No

I'm getting this issue installing FolderSize x64 on a 64-bit Windows XP SP2-machine.

Here's the full Application Event from the Event log:

Product: Folder Size for Windows (64-bit) -- Error 1920. Service 'Folder Size' (FolderSize) failed to start. Verify that you have sufficient privileges to start system services.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Note that I'm logged in as administrator, and I also tried the elevated IE installation technique. Folder Size still doesn't seem to install. While the installer presents this message, I can view the services list through services.msc and notice a Folder Size service being present there. Starting it there and then manually yields "Could not start the Folder Size service on Local Computer: Error 1053: The service did not respond to the start or control request in a timely fashion.". This is probably because it didn't install properly yet.

Any help tackling this is much appreciated - FolderSize is a pretty important service! :)

---------------------------
OK
---------------------------

Discussion

  • Brio
    Brio
    2009-11-03

    Hey, thanks for the report. Can you try starting the service manually? The files usually install to C:\Program Files\FolderSize. Try running the FolderSizeSvc.exe from the command line with the -debug option. Like:
    "C:\Program Files\FolderSizeSvc.exe" -debug
    Then you should see the process running in Task Manager, and the column in Explorer should be able to contact the service.

     
  • Right, running the executable from the commandline gets me this:

    ---------------------------
    FolderSizeSvc.exe - Unable To Locate Component
    ---------------------------
    This application has failed to start because pdh.dll was not found. Re-installing the application may fix this problem.
    ---------------------------
    OK
    ---------------------------

    I checked for the pdh.dll file, and I have one present in c:\Windows\System32. It does differ from one on a WinXP 32-bit machine which *is* running FolderSize properly.

    When I copied that other dll to the 64-bit FolderSize folder, I still got the same message. I wonder if this changed 64-bit dll is causing the problem, or whether some other dependency isn't properly available.

    Mind you that the installer copies files & attempts to run the service. When it fails to run it, the FolderSize installation is rolled back. So I can only test FolderSize during the installation procedure.

    And Explorer should be able to contact the service if it manages to start properly. The dll issue is preventing that.

     
  • Brio
    Brio
    2009-11-22

    Well, that makes some sense. pdh.dll is required by the service. c:\windows\system32 does sound like the right place for it. And it will be different from the one on a 32-bit machine. It should be a 64-bit pdh.dll (yes, 64-bit DLLs go in system32). I have used Folder Size on XP x64, so I don't know why it's not loading for you. pdh.dll should be a pretty standard Windows DLL. It is not installed by Folder Size. Maybe some other program has messed up your pdh.dll?
    You could try running the Dependency Walker program here: http://www.dependencywalker.com/
    And have it analyze FolderSizeSvc.exe. It shows you all the system DLLs that an executable links to. It should show FolderSizeSvc.exe linking to pdh.dll, and all the exported functions in pdh.dll that FolderSizeSvc.exe is using. Dependency Walker will show if any functions are not available, which will fail the link and prevent loading.