VirtualBox

Changeset 66563 in vbox


Ignore:
Timestamp:
Apr 13, 2017 4:08:23 PM (7 years ago)
Author:
vboxsync
Message:

VBox/Main: ​​​bugref:3300: VBoxSVC from terminal server session is not 'visible' - fix to make WMI validation of Disabled Windows service to be optional. switched VBOX_WITH_SDS =1 temporary agian

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r66561 r66563  
    923923endif
    924924# disabled by default
    925 VBOX_WITH_SDS =
     925VBOX_WITH_SDS = 1
    926926
    927927
  • trunk/src/VBox/Main/src-client/VirtualBoxClientImpl.cpp

    r66512 r66563  
    6565/////////////////////////////////////////////////////////////////////////////
    6666
    67 #ifdef VBOX_WITH_SDS
     67#if defined(RT_OS_WINDOWS) && defined(VBOX_WITH_SDS)
    6868
    6969HRESULT CreateVirtualBoxThroughSDS(ComPtr<IVirtualBox> &aVirtualBox)
     
    286286{
    287287
    288 #ifdef VBOX_WITH_SDS
     288#if defined(RT_OS_WINDOWS) && defined(VBOX_WITH_SDS)
    289289    // setup COM Security to enable impersonation
    290290    // This works for console Virtual Box clients, GUI has own security settings
     
    327327        mData.m_SemEvWatcher = NIL_RTSEMEVENT;
    328328
    329 #ifdef VBOX_WITH_SDS
    330         // TODO: AM create virtual box through SDS
     329#if defined(RT_OS_WINDOWS) && defined(VBOX_WITH_SDS)
    331330        rc = CreateVirtualBoxThroughSDS(mData.m_pVirtualBox);
    332331#else
     
    441440    if (FAILED(hrc))
    442441    {
    443         return setError(hrcCaller, tr("Failed to get information about VBoxSDS using WMI:: %Rhrc & %Rhrc"), hrcCaller, hrc);
     442        LogRelFunc(("Warning: Failed to get information about VBoxSDS using WMI:: %Rhrc & %Rhrc"), hrcCaller, hrc));
     443        bIsVBoxSDSDisabled = false;
     444        //return setError(hrcCaller, tr("Failed to get information about VBoxSDS using WMI:: %Rhrc & %Rhrc"), hrcCaller, hrc);
    444445    }
    445446    if (bIsVBoxSDSDisabled)
     
    628629    LogFlowThisFunc(("\n"));
    629630
    630 #ifdef VBOX_WITH_SDS
     631#if defined(RT_OS_WINDOWS) && defined(VBOX_WITH_SDS)
    631632    ReleaseVirtualBoxThroughSDS();
    632633#endif
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette