iSCSI Service Won't Start?

Discussion in 'Windows Vista General Discussion' started by Julian, Feb 9, 2008.

  1. Julian

    Julian Guest

    [Vista HP] It used to; now it says (manual start attempt) "Error 1717: the
    interface is unknown"

    Can it be fixed??

    Julian, Feb 9, 2008
    1. Advertisements

  2. Most often, failure for a service is that it is 'disabled' (instead of
    manual or auto) in the services app, or some dependant service is disabled.
    This script will tell you about the dependant services for iSCSI. (in
    c:\service_dependencies.csv) open in notepad.
    Const ForAppending = 8
    Set objFSO = CreateObject("Scripting.FileSystemObject")
    Set objLogFile = _
    objFSO.OpenTextFile("c:\service_dependencies.csv", _
    ForAppending, True)
    objLogFile.Write("Service Dependencies")

    strComputer = "."
    Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

    Set colListOfServices = objWMIService.ExecQuery _
    ("Select * from Win32_Service")

    For Each objService in colListofServices
    objServiceRegistryName = objService.Name
    objServiceDisplayName = objService.DisplayName

    Set colServiceList = objWMIService.ExecQuery("Associators of " _
    & "{Win32_Service.Name='" & objServiceRegistryName & "'} Where
    AssocClass=Win32_DependentService Role=Antecedent" )

    If colServiceList.Count = 0 then
    objLogFile.Write(objServiceDisplayName) & ", None"
    For Each objDependentService in colServiceList
    objLogFile.Write(objServiceDisplayName) & ","
    End If
    --end file--
    Was this helpful? Then click the Ratings button. Voting helps the web

    Mark L. Ferguson

    Mark L. Ferguson, Feb 9, 2008
    1. Advertisements

  3. Have you created the target using the iscsi initiator applet?
    You're not trying to get vista to function as the *target* are you?
    the wharf rat, Feb 10, 2008
  4. Julian

    Julian Guest

    Thanks Mark & WharfRat -

    I've since restored the whole system from an Acronis disk image, but I can
    add the following - just in case it ever leads to some understanding.

    Yes, the target was set up (Thecus N5200) and it was all working fine until
    Something Happened... I checked the iSCSI service dependencies at the time
    and it doesn't depend on anything and nothing depends on it.

    Wish I could have replied earlier but after the restore Windows Mail refused
    to download the messages between the restored date and today for vista
    general, so I had to come via the web interface.

    Mark - you clearly know a lot about services - thanks for the script... and
    thanks for the input on the Event Log issue... (more in that thread)

    Again, many thanks guys
    Julian, Feb 11, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.