VirtualBox

Ignore:
Timestamp:
Mar 26, 2025 12:02:25 PM (4 weeks ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
168179
Message:

VBoxService/Shared Folders: Skip initializing / enabling the 'automount' sub service on <= NT4 guests, as we don't support Shared Folders on those.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServiceAutoMount.cpp

    r108753 r108754  
    210210        /* If the service was not found, we disable this service without
    211211           causing VBoxService to fail. */
    212         if (rc == VERR_HGCM_SERVICE_NOT_FOUND) /* Host service is not available. */
     212        if (   rc == VERR_HGCM_SERVICE_NOT_FOUND                          /* Host service is not available. */
     213            || RTSystemGetNtVersion() <= RTSYSTEM_MAKE_NT_VERSION(4,0,0)) /* On <= NT4 guests no Shared Folders are available. */
    213214        {
    214215            VGSvcVerbose(0, "vbsvcAutomounterInit: Shared Folders service is not available\n");
Note: See TracChangeset for help on using the changeset viewer.

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