+ Reply to Thread
Results 1 to 5 of 5

Thread: Locked Services not replaced during patch

  1. #1
    Join Date
    Aug 2014
    Location
    TN
    Posts
    5

    Default Locked Services not replaced during patch

    First, this may not be a Setup Builder issue, but all the smartest people I know are in this forum, so I am begging Friedrich's forbearance.

    During a patch, we have a couple of services that are being locked by:
    C:\Windows\System32\svchost.exe -k LocalServiceNetworkRestricted

    This seems to happen only on Windows Server 2008 Enterprise. When the services are stopped, they get locked here, causing the server to require reboot when the patch is finished. Has anyone else run into this, or know a way to make svchost release these files?

    Any help is appreciated.

    Thanks,
    --Glenn.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Locked Services not replaced during patch

    Glenn,



    Are you sure the service really "stopped"? Perhaps it needs some more time to terminate? Are you doing the check for active service / stop service in a LOOP to make sure that it "stopped"?

    Friedrich

  3. #3
    Join Date
    Aug 2014
    Location
    TN
    Posts
    5

    Default Re: Locked Services not replaced during patch

    They are stopped. I actually used Service Manager to stop them by hand. I have done more research, and discovered the following:

    1. This only happens on Windows Server 2008 R2 Datacenter edition and WinDev services (Clarion services seem to work fine).
    2. On this edition, the WinDev services are controlled by "svchost.exe -k LocalServiceNetworkRestricted" rather than services.exe. It is worth noting that services written in Clarion are managed by services.exe.
    3. Upon stopping the service (windows service manager), the service EXE is still "held" by the same instance of svchost.exe. It never lets it go.

    I have yet to figure out what is causing this. The service "reports" as being stopped, but you cannot access the EXE file. Cannot delete it, replace it, rename it, etc.
    You can start and stop the service all you want, but the only way I have found to get "svchost.exe" to release it, is to mark it as "Manual start" and reboot the server.

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Locked Services not replaced during patch

    Hi Glenn,

    Very interesting. I have never ever seen something like this before. It makes me really sad that I can't be of any help to you

    Please keep us posted.

    Friedrich

  5. #5
    Join Date
    Aug 2014
    Location
    TN
    Posts
    5

    Default Re: Locked Services not replaced during patch

    um... did the world just end? I thought you knew EVERYTHING Friedrich!!!! This is like discovering Santa Clause isn't real... I don't know what to do!

    Ok, I will keep researching...

    Have a great weekend.

    --Glenn.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •