• disable osppsvc.exe

    Author
    Topic
    #499543

    Firstly, thanks to all who have helped me with my project, VBA codes, formula etc etc.
    My project is running great, still on test, but getting results.

    I’m still on XP Pro, Office 2010, ( till MS’s Win 10 is sorted )

    In the mean time, I have a few niggling resource hungry back ground processes slowing things down, in particular, osppsvc.exe

    I have tried changing the value in registry from the default 300, right down to 5 on test, but nothing seems to disable this process.

    The information came from a Microsoft post from another’s similar question.

    Is there a VBA code I can implement, so it, (osppsvc.exe), just goes away ?

    Thanks.

    Information from a MS Reply say’s,
    ( but it did not work – it did not time-out @ 5 second setting in ValueType: DWORD as suggested)

    From Microsoft:
    “The Office Software Protection Platform service is generally started on demand when a user has started Office, however, there are license types which can start the service otherwise (such as those using a Key Management Server). As for stopping the service, there are several reasons we do not automatically shut down the service by default. These reasons are based on Office’s cross OS version compatibility, communications from our users about their Office usage profile, preferences, resource usage profile, and differing ways in utilizing the service between Office and Windows.
    That said, while we do not default our service to timing out after inactivity, if this is something your organization values, you have the ability to control this. You may set the following registry key:
    Key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftOfficeSoftwareProtectionPlatform
    ValueName: InactivityShutdownDelay
    ValueType: DWORD
    ValueData: The number in seconds, that the Office Software Protection Platform will stay running for, after the most recent activity. The windows default for this is 300 seconds.
    After setting this key, simply restart the Office Software Protection Platform Service to use the new settings.”

    Viewing 9 reply threads
    Author
    Replies
    • #1500606

      Try reNaming osppsvc.exe to osppsvcold.exe and see if that resolves your problem.

    • #1500609

      OSPPSVC seems to work overtime when you have multiple licences. http://blogs.technet.com/b/emeaoffice/archive/2012/11/15/osppsvc-exe-causes-high-cpu-load-on-terminal-server-with-remote-desktop-services-terminal-server.aspx
      What version(s) of Office do you have installed?

      You could create a scheduled job every 15 mins that stops the service. SC stop osppsvc.exe
      Note: It won’t be called osppsvc.exe.

      cheers, Paul

    • #1500612

      What version(s) of Office do you have installed?

      Office Home and Student 2010
      Version: 14.0.6129.5000 ( 32-bit)

      Installed on 1 laptop, not networked.

    • #1500613

      Paul T
      You could create a scheduled job every 15 mins that stops the service. SC stop osppsvc.exe
      Note: It won’t be called osppsvc.exe.

      How ?

      Thanks

    • #1500695

      Find the service name from SC.
      Open a Command Prompt and type: sc query
      Scroll through the list to find osppsvc and copy the “SERVICE_NAME”
      Type this as a test: sc query xxx
      Where xxx is the SERVICE_NAME
      Assuming you get a response you can try stopping the service.
      Type: sc stop xxx

      Create a Scheduled Task
      Start > Run, taskschd.msc
      Click “Create basic task” in the right pane.
      Give it a name and set the trigger as required.
      Action is start a program.
      In “program/script” type: %comspec%
      In “arguments” type: /c sc stop xxx
      Where xxx is the SERVICE_NAME.

      cheers, Paul

    • #1500698

      Which bit doesn’t work? XP has a scheduler and SC.

      cheers, Paul

    • #1500742

      Paul, thanks for the reply
      it has to be code so it can be “controlled” by VBA

      jwoods, thanks.

      a scheduled task as suggested will not do, it has to be within the VBA.

      This code I found in a .BAT file seems to work
      Author: don’t know.

      Code:
      @echo off
         “C:Program FilesMicrosoft OfficeOffice10excel.exe”
         net stop osppsvc 

      Is there a VBA code instead that will do the same ?

      Thanks

    • #1500747

      Try:

      Code:
      shell "cmd /c net stop osppsvc"
      
      • #1500748

        rory
        Try:
        Code:
        shell “cmd /c net stop osppsvc”

        No, It was still “on” when activating the code while checking task manager.

        Thanks

    • #1500836

      That’s odd because it works for me (albeit on Win7) and it’s the code equivalent of typing what you posted at a command prompt, so if that works, so should the code.

    • #1500851

      Rory, I got it from here after an extensive search. Depends what one types in a search engine.

      http://answers.microsoft.com/en-us/office/forum/office_2010-office_install/how-to-disable-background-tasks-in-office-2010/2a6a5455-ed48-40b0-91b8-7e7f2d5f0f35

      The reply/comment I think is for XP, not sure how it would work on other OS’s

      The following bat file works for MSWord:
      @echo off
      “C:Program FilesMicrosoft OfficeOffice14winword.exe”
      net stop osppsvc
      For Excel & Powerpoint just substitute excel.exe & powerpnt.exe respectively for winword.exe
      Note1: There is not need to start the osppsvc service as the MSOffice application will do that.
      Note2: The second line in the bat file should be enclosed in exclamation marks otherwise it will not work.
      To create a desktop shortcut simply right click on the bat file name in Windows Explorer and select Send To >Desktop

      I simply replaced

      Code:
      Office14winword.exe

      with

      Code:
      Office10excel.exe
    Viewing 9 reply threads
    Reply To: disable osppsvc.exe

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: