Quantcast
Channel: VMware Communities : All Content - VMware® ThinApp®
Viewing all articles
Browse latest Browse all 1382

Microsoft Office 2010 - osppsvc doesn't start

$
0
0

Hi,

 

I've got a problem with Office 2010.

 

The capture we did works well on most of our and customare system, but there is a particular machine configuration where Office doesn't get licence from KMS. These machines are Win XPSP3 with Office 2003.

 

I've tried to put a vbs script to let the service osppsvc starts on firstsanboxowner, I've found lot of script over internet, I've used this one:

 

---------------------------------

 

Function OnFirstSandboxOwner
Dim objWMIService, objItem, objService
Dim colListOfServices, strComputer, strService, intSleep
strComputer = "."
'On Error Resume Next
' NB strService is case sensitive.
strService = " 'osppsvc' "
Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colListOfServices = objWMIService.ExecQuery("Select * from Win32_Service Where Name =" & strService & " ")
For Each objService in colListOfServices
                'If objService.State <> "Running" Then
        objService.StartService()
    End If
Next
End Function
-----------------------------------
By the way the service doesn't start when the first thinapp is launched. I've put a cmd inside the thinapp and if i launc the CMD and launch a net start I can't see the service running.
Have you got an Idea on how let this service start on first sandbox owner?
thanks

Viewing all articles
Browse latest Browse all 1382

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>