(Mounted) Virtual Volumes come first! SysSvcBootOrder (explorer etc)


  1. Posts : 260
    Windows 7 Ultimate 64bit
       #1

    (Mounted) Virtual Volumes come first! SysSvcBootOrder (explorer etc)


    I have multiple Windows builds (VHD customs and test environments), but at a FS level, they're very similar (tweaked VHD gets cloned, backed up before another gets allocated a specific description + task, ie "Virtual DAW/Virtual Power User/Virtual Testbed (the ULTIMATE sandbox!)



    (windows 7's native virtualization rocks, so I can copy systems at will, great for optimization/learning/keeping that 'new car smell' on your turbo-charged custom-built Ultimate, 64-bit {virtual} OS.... 's :)

    So I've got a "big volume", for shared shiz (installers, docs, etc). I thought my custom OS trimmings (generic start menu, quicklaunch shortcuts, portable apps) could easily go into a "virtual shared volume", but here's an issue...



    You may notice that you're not able to see some of the toolbars (specifically "newwwwwwwww", and "Media")

    These directories are @ C:\LocalBigStore\OS\LNKs, ie
    C:\LocalBigStore\OS\LNKs\newwwwwwwww
    etc

    This is mounted... but not explorer tries to ... explore these directories (and show them on the screen)...

    To fix, I just modify an entry (renaming a shortcut works, as does adding one), then BOOM! Everything's kosher.

    I suspected that the volume ([d:]\vhd\LBS.vhd, a junction @ C:\LocalBigStore) might not be mounted when explorer is starting, and therefore, by killing and (re)starting explorer.exe, the toolbar's would be working... Et voilą



    So.... how do I make a mounted VHD be (one of) the first completed task(s) by "the Colonel"?!

    NirSoft's LoadOrd tells me the boot order (screenshot here)
    Boot WdfLoadGroup n/a* Wdf01000 Kernel Mode Driver Frameworks service
    Boot Boot Bus Extender 1 ACPI Microsoft ACPI Driver
    Boot Boot Bus Extender 2 msisadrv
    Boot Boot Bus Extender 3 pci PCI Bus Driver
    Boot Boot Bus Extender 6 vdrvroot Microsoft Virtual Drive Enumerator Driver
    Boot Boot Bus Extender n/a* partmgr @%SystemRoot%\system32\drivers\partmgr.sys,-100
    Boot System Bus Extender 7 Compbatt Microsoft Composite Battery Driver
    Boot System Bus Extender 9 volmgr Volume Manager Driver
    Boot System Bus Extender 10 volmgrx @%SystemRoot%\system32\drivers\volmgrx.sys,-100
    Boot System Bus Extender n/a* mountmgr @%SystemRoot%\system32\drivers\mountmgr.sys,-100
    Boot SCSI Miniport 33 atapi IDE Channel
    Boot SCSI Miniport 65 msahci
    Boot SCSI miniport n/a* amdxata
    Boot FSFilter Infrastructure 1 FltMgr @%SystemRoot%\system32\drivers\fltmgr.sys,-10001
    Boot FSFilter Bottom n/a* FileInfo @%SystemRoot%\system32\drivers\fileinfo.sys,-100
    Boot Filter 1 CLFS @%SystemRoot%\system32\clfs.sys,-100
    Boot Base 1 KSecDD
    Boot Base 2 CNG
    Boot Base n/a* pcw Performance Counters for Windows Driver
    Boot File System n/a* Fs_Rec
    Boot NDIS Wrapper n/a* NDIS @%SystemRoot%\system32\drivers\ndis.sys,-200
    Boot Cryptography 2 KSecPkg
    Boot PNP_TDI 3 Tcpip @%SystemRoot%\system32\tcpipcfg.dll,-50003
    Boot Extended Base n/a* storflt @%SystemRoot%\system32\vmstorfltres.dll,-1000
    Boot n/a* n/a* Disk Disk Driver
    Boot PnP Filter* 5* fvevol @%SystemRoot%\system32\drivers\fvevol.sys,-100
    Boot n/a* n/a* hwpolicy @%systemroot%\system32\drivers\hwpolicy.sys,-101
    Boot Network* n/a* Mup @%systemroot%\system32\drivers\mup.sys,-101
    Boot n/a* n/a* nvpciflt
    Boot PnP Filter* 2* rdyboost ReadyBoost
    Boot n/a* n/a* spldr Security Processor Loader Driver
    Boot PnP Filter* 6* stdcfltn Disk Class Filter Driver for Accelerometer
    Boot n/a* n/a* volsnap Storage volumes
    System SCSI CDROM Class 3 cdrom CD-ROM Driver
    System Base 1 Null
    System Base 2 Beep Beep
    System Video Save 1 VgaSave
    System Video Save n/a* RDPCDD @%systemroot%\system32\DRIVERS\RDPCDD.sys,-100
    System Video Save n/a* RDPENCDD @%systemroot%\system32\drivers\RDPENCDD.sys,-101
    System Video Save n/a* RDPREFMP @%systemroot%\system32\drivers\RdpRefMp.sys,-101
    System File system n/a* Msfs
    System File system n/a* Npfs
    System PNP_TDI 4 tdx @%SystemRoot%\system32\tcpipcfg.dll,-50004
    System PNP_TDI n/a* AFD @%systemroot%\system32\drivers\afd.sys,-1000
    System PNP_TDI n/a* NetBT @%SystemRoot%\system32\drivers\netbt.sys,-2
    System NDIS 16 WfpLwf WFP Lightweight Filter
    System NDIS 18 Psched @%SystemRoot%\System32\drivers\pacer.sys,-101
    System NDIS 24 vwififlt Virtual WiFi Filter Driver
    System NetBIOSGroup 2 NetBIOS NetBIOS Interface
    System n/a* n/a* blbdrive
    System network* 9* CSC @%systemroot%\system32\cscsvc.dll,-202
    System Network* n/a* DfsC @%systemroot%\system32\drivers\dfsc.sys,-101
    System n/a* n/a* discache @%systemroot%\system32\drivers\discache.sys,-102
    System n/a* n/a* mssmbios Microsoft System Management BIOS Driver
    System n/a* n/a* nsiproxy @%SystemRoot%\system32\drivers\nsiproxy.sys,-2
    System n/a* n/a* nvkflt
    System Network* 4* rdbss @%systemroot%\system32\wkssvc.dll,-1000
    System n/a* n/a* TermDD Terminal Device Driver
    System n/a* n/a* Wanarpv6 @%systemroot%\system32\rascfg.dll,-32012
    Automatic FSFilter Virtualization n/a* luafv @%systemroot%\system32\drivers\luafv.sys,-100
    Automatic COM Infrastructure n/a* DcomLaunch @oleres.dll,-5012
    Automatic COM Infrastructure n/a* RpcEptMapper @%windir%\system32\RpcEpMap.dll,-1001
    Automatic COM Infrastructure n/a* RpcSs @oleres.dll,-5010
    Automatic Event Log n/a* eventlog @%SystemRoot%\system32\wevtsvc.dll,-200
    Automatic AudioGroup n/a* AudioEndpointBuilder @%SystemRoot%\system32\audiosrv.dll,-204
    Automatic AudioGroup n/a* AudioSrv @%SystemRoot%\system32\audiosrv.dll,-200
    Automatic ProfSvc_Group n/a* gpsvc @gpapi.dll,-112
    Automatic profsvc_group n/a* ProfSvc @%systemroot%\system32\profsvc.dll,-300
    Automatic ProfSvc_Group n/a* SENS @%SystemRoot%\system32\Sens.dll,-200
    Automatic ProfSvc_Group n/a* Themes @%SystemRoot%\System32\themeservice.dll,-8192
    Automatic UIGroup n/a* UxSms @%SystemRoot%\system32\dwm.exe,-2000
    Automatic MS_WindowsLocalValidation n/a* SamSs @%SystemRoot%\system32\samsrv.dll,-1
    Automatic PlugPlay n/a* PlugPlay @%SystemRoot%\system32\umpnpmgr.dll,-100
    Automatic Plugplay n/a* Power @%SystemRoot%\system32\umpo.dll,-100
    Automatic PlugPlay n/a* wudfsvc @%SystemRoot%\system32\wudfsvc.dll,-1000
    Automatic NDIS 14 rspndr Link-Layer Topology Discovery Responder
    Automatic NDIS 15 lltdio Link-Layer Topology Discovery Mapper I/O Driver
    Automatic TDI n/a* Dhcp DHCP Client
    Automatic TDI n/a* Dnscache @%SystemRoot%\System32\dnsapi.dll,-101
    Automatic TDI n/a* lmhosts TCP/IP NetBIOS Helper
    Automatic TDI n/a* Wlansvc WLAN AutoConfig
    Automatic ShellSvcGroup n/a* ShellHWDetection @%SystemRoot%\System32\shsvcs.dll,-12288
    Automatic SchedulerGroup n/a* Schedule @%SystemRoot%\system32\schedsvc.dll,-100
    Automatic NetworkProvider n/a* BFE @%SystemRoot%\system32\bfe.dll,-1001
    Automatic NetworkProvider n/a* LanmanWorkstation @%systemroot%\system32\wkssvc.dll,-100
    Automatic NetworkProvider n/a* MpsSvc @%SystemRoot%\system32\FirewallAPI.dll,-23090
    Automatic n/a* n/a* AERTFilters Andrea RT Filters Service
    Automatic n/a* n/a* clr_optimization_v4.0.30319_32 Microsoft .NET Framework NGEN v4.0.30319_X86
    Automatic n/a* n/a* clr_optimization_v4.0.30319_64 Microsoft .NET Framework NGEN v4.0.30319_X64
    Automatic n/a* n/a* CryptSvc @%SystemRoot%\system32\cryptsvc.dll,-1001
    Automatic n/a* n/a* DPS @%systemroot%\system32\dps.dll,-500
    Automatic n/a* n/a* EventSystem @comres.dll,-2450
    Automatic n/a* n/a* EvtEng Intel(R) PROSet/Wireless Event Log
    Automatic n/a* n/a* FontCache @%systemroot%\system32\FntCache.dll,-100
    Automatic n/a* n/a* gupdate Google Update Service (gupdate)
    Automatic n/a* n/a* LanmanServer @%systemroot%\system32\srvsvc.dll,-100
    Automatic n/a* n/a* LMS Intel(R) Management and Security Application Local Management Service
    Automatic n/a* n/a* MMCSS @%systemroot%\system32\mmcss.dll,-100
    Automatic n/a* n/a* NlaSvc @%SystemRoot%\System32\nlasvc.dll,-1
    Automatic n/a* n/a* nsi @%SystemRoot%\system32\nsisvc.dll,-200
    Automatic n/a* n/a* PEAUTH PEAUTH
    Automatic n/a* n/a* RegSrvc Intel(R) PROSet/Wireless Registry Service
    Automatic n/a* n/a* secdrv Security Driver
    Automatic n/a* n/a* sppsvc @%SystemRoot%\system32\sppsvc.exe,-101
    Automatic n/a* n/a* stisvc @%SystemRoot%\system32\wiaservc.dll,-9
    Automatic n/a* n/a* SysMain @%SystemRoot%\system32\sysmain.dll,-1000
    Automatic n/a* n/a* tcpipreg TCP/IP Registry Compatibility
    Automatic n/a* n/a* UNS Intel(R) Management and Security Application User Notification Service
    Automatic n/a* n/a* VhdAttach VHD Attach
    Automatic n/a* n/a* WinDefend @%ProgramFiles%\Windows Defender\MsMpRes.dll,-103
    Automatic n/a* n/a* Winmgmt @%Systemroot%\system32\wbem\wmisvc.dll,-205
    Automatic n/a* n/a* ZeroConfigService Intel(R) PROSet/Wireless Zero Configuration Service
    A quick regjump to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServiceGroupOrder gives me list (service groups loadorder):

    Value name: List
    Value data
    System Reserved
    EMS
    WdfLoadGroup
    Boot Bus Extender
    System Bus Extender
    SCSI miniport
    Port
    Primary Disk
    SCSI Class
    SCSI CDROM Class
    FSFilter Infrastructure
    FSFilter System
    FSFilter Bottom
    FSFilter Copy Protection
    FSFilter Security Enhancer
    FSFilter Open File
    FSFilter Physical Quota Management
    FSFilter Virtualization
    FSFilter Encryption
    FSFilter Compression
    FSFilter Imaging
    FSFilter HSM
    FSFilter Cluster File System
    FSFilter System Recovery
    FSFilter Quota Management
    FSFilter Content Screener
    FSFilter Continuous Backup
    FSFilter Replication
    FSFilter Anti-Virus
    FSFilter Undelete
    FSFilter Activity Monitor
    FSFilter Top
    Filter
    Boot File System
    Base
    Pointer Port
    Keyboard Port
    Pointer Class
    Keyboard Class
    Video Init
    Video
    Video Save
    File System
    Streams Drivers
    NDIS Wrapper
    COM Infrastructure
    Event Log
    AudioGroup
    ProfSvc_Group
    UIGroup
    MS_WindowsLocalValidation
    PlugPlay
    Cryptography
    PNP_TDI
    NDIS
    TDI
    iSCSI
    NetBIOSGroup
    ShellSvcGroup
    SchedulerGroup
    SpoolerGroup
    SmartCardGroup
    NetworkProvider
    MS_WindowsRemoteValidation
    NetDDEGroup
    Parallel arbitrator
    Extended Base
    PCI Configuration
    MS Transactions

    So how do I make the VHD boot earlier than explorer?

    Thanks to all the hmmmm'ers
      My Computer


  2. Posts : 260
    Windows 7 Ultimate 64bit
    Thread Starter
       #2

    Tried this, alas to no avail...

    Back to inspecting svcGroupBootOrder
      My Computer


  3. Posts : 260
    Windows 7 Ultimate 64bit
    Thread Starter
       #3

    The problem occassionally doesn't exhibit itself... which is infuriatingly strange, and I don't know how

    - sys drivers being loaded (above) correlates to boot order of svcs in their groups (again above) and even if it is my hunch, that explorer.exe needs to wait just a little time before loading the shell, by which time the VHD is mounted and referenced data will be retrieved...

    In the meantime, a desktop context click to a batch that kills and then respawns explorer is my workaround
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 21:43.
Find Us