nefarius / ViGEmBus

Windows kernel-mode driver emulating well-known USB game controllers.
https://docs.nefarius.at/projects/ViGEm/
BSD 3-Clause "New" or "Revised" License
3.03k stars 284 forks source link

Can't setup on Windows Server 2022 #173

Closed loveyacper closed 1 year ago

loveyacper commented 1 year ago

OS info

Microsoft Windows Server 2022 Datacenter OS Version: 10.0.20348

Error dialog

ViGEm Bus Driver can not be installed on the following Windows
versions: Windows Vista x64. Windows Server 2008 x64.
Windows7 x64, Windows Server 2008 R2 x64, Windows 8 x64,
Windows Server 2012 x64. Windows 8.1 x64. Windows Server 2012 R2 x64.
Windows Server x64.

Setup log

 [Boot Session: 2023/03/20 20:19:05.255]

>>>  [Device Install (UpdateDriverForPlugAndPlayDevices) - Nefarius\ViGEmBus\Gen1]
>>>  Section start 2023/03/20 20:23:55.952
      cmd: "C:\Program Files\Nefarius Software Solutions\Virtual Gamepad Emulation Bus Driver\devcon.exe" install "C:\Program Files\Nefarius Software Solutions\Virtual Gamepad Emulation Bus Driver\ViGEmBus.inf" Nefarius\ViGEmBus\Gen1
     ndv: INF path: C:\Program Files\Nefarius Software Solutions\Virtual Gamepad Emulation Bus Driver\ViGEmBus.inf
     ndv: Install flags: 0x00000001
     ndv: {Update Device Driver - ROOT\SYSTEM\0001}
     ndv:      Search options: 0x00000080
     ndv:      Searching single INF 'C:\Program Files\Nefarius Software Solutions\Virtual Gamepad Emulation Bus Driver\ViGEmBus.inf'
     dvi:      {Build Driver List} 20:23:55.970
     dvi:           Searching for hardware ID(s):
     dvi:                nefarius\vigembus\gen1
     dvi:           Created Driver Node:
     dvi:                HardwareID   - Nefarius\ViGEmBus\Gen1
     dvi:                InfName      - c:\program files\nefarius software solutions\virtual gamepad emulation bus driver\vigembus.inf
     dvi:                DevDesc      - Nefarius Virtual Gamepad Emulation Bus
     dvi:                Section      - ViGEmBus_Device.NT
     dvi:                Rank         - 0x00ff0000
     dvi:                Signer Score - WHQL
     dvi:                DrvDate      - 12/14/2020
     dvi:                Version      - 1.17.333.0
     dvi:      {Build Driver List - exit(0x00000000)} 20:23:56.009
     dvi:      {DIF_SELECTBESTCOMPATDRV} 20:23:56.010
     dvi:           Default installer: Enter 20:23:56.011
     dvi:                {Select Best Driver}
     dvi:                     Class GUID of device changed to: {4d36e97d-e325-11ce-bfc1-08002be10318}.
     dvi:                     Selected Driver:
     dvi:                          Description - Nefarius Virtual Gamepad Emulation Bus
     dvi:                          InfFile     - c:\program files\nefarius software solutions\virtual gamepad emulation bus driver\vigembus.inf
     dvi:                          Section     - ViGEmBus_Device
     dvi:                {Select Best Driver - exit(0x00000000)}
     dvi:           Default installer: Exit
     dvi:      {DIF_SELECTBESTCOMPATDRV - exit(0x00000000)} 20:23:56.017
     ndv:      Force Installing Driver:
     ndv:           Inf Name       - vigembus.inf
     ndv:           Driver Date    - 12/14/2020
     ndv:           Driver Version - 1.17.333.0
     ndv:      Driver package 'C:\Windows\System32\DriverStore\FileRepository\vigembus.inf_amd64_f92aab85c34952aa\vigembus.inf' is already imported.
     sto:      {Setup Import Driver Package: c:\program files\nefarius software solutions\virtual gamepad emulation bus driver\vigembus.inf} 20:23:56.023
     sto:           Driver package already imported as 'oem6.inf'.
     sto:      {Setup Import Driver Package - exit (0x00000000)} 20:23:56.031
     dvi:      Searching for hardware ID(s):
     dvi:           nefarius\vigembus\gen1
     dvi:      Class GUID of device changed to: {4d36e97d-e325-11ce-bfc1-08002be10318}.
     ump:      {Plug and Play Service: Device Install for ROOT\SYSTEM\0001}
     dvi:           {Core Device Install} 20:23:56.117
     dvi:                {Configure Device - ROOT\SYSTEM\0001} 20:23:56.119
     dvi:                     Device Status: 0x01802001
     dvi:                     Parent Device: HTREE\ROOT\0
     sto:                     {Configure Driver Package: C:\Windows\System32\DriverStore\FileRepository\vigembus.inf_amd64_f92aab85c34952aa\vigembus.inf}
     sto:                          Source Filter  = nefarius\vigembus\gen1
     inf:                          Class GUID     = {4d36e97d-e325-11ce-bfc1-08002be10318}
     inf:                          Class Options  = Configurable BootCritical
     inf:                          {Configure Driver: Nefarius Virtual Gamepad Emulation Bus}
     inf:                               Section Name = ViGEmBus_Device.NT
     inf:                               {Add Service: ViGEmBus}
     inf:                                    Start Type    = 1
     inf:                                    Service Type  = 1
     inf:                                    Error Control = 1
     inf:                                    Image Path    = \SystemRoot\System32\drivers\ViGEmBus.sys
     inf:                                    Display Name  = Nefarius Virtual Gamepad Emulation Service
     inf:                                    Updated service 'ViGEmBus'.
     inf:                               {Add Service: exit(0x00000000)}
     inf:                               Hardware Id  = Nefarius\ViGEmBus\Gen1
     inf:                               {Configure Driver Configuration: ViGEmBus_Device.NT}
     inf:                                    Service Name  = ViGEmBus
     inf:                                    Config Flags  = 0x00000000
     inf:                               {Configure Driver Configuration: exit(0x00000000)}
     inf:                          {Configure Driver: exit(0x00000000)}
     flq:                          {FILE_QUEUE_COMMIT} 20:23:56.149
     flq:                               Hardlinking 'C:\Windows\System32\DriverStore\FileRepository\vigembus.inf_amd64_f92aab85c34952aa\ViGEmBus.sys' to 'C:\Windows\System32\drivers\ViGEmBus.sys'.
     cpy:                               Existing file 'C:\Windows\System32\drivers\ViGEmBus.sys' remains unchanged.
     flq:                          {FILE_QUEUE_COMMIT - exit(0x00000000)} 20:23:56.157
     sto:                     {Configure Driver Package: exit(0x00000000)}
     dvi:                     Install Device: Configuring device. 20:23:56.159
     dvi:                          Configuration: oem6.inf:nefarius\vigembus\gen1,ViGEmBus_Device
     dvi:                     Install Device: Configuring device completed. 20:23:56.163
     dvi:                     Device Status: 0x01802001
     dvi:                     Install Device: Starting device 'ROOT\SYSTEM\0001'. 20:23:56.165
     dvi:                     Install Device: Starting device completed. 20:23:56.178
     dvi:                {Configure Device - exit(0x00000000)} 20:23:56.179
     dvi:           {Core Device Install - exit(0x00000000)} 20:23:56.180
     ump:      {Plug and Play Service: Device Install exit(00000000)}
     ndv: {Update Device Driver - exit(00000000)}
     ndv: {Install Related Drivers} 20:23:56.184
     ndv: {Install Related Drivers: exit(0x00000000)} 20:23:56.185
<<<  Section end 2023/03/20 20:23:56.186
<<<  [Exit status: SUCCESS]

[Boot Session: 2023/03/20 20:26:32.395]

>>>  [Delete Device - STORAGE\VOLUME\{EE747193-3F29-11ED-8CE5-806E6F6E6963}#0000000000100000]
>>>  Section start 2023/03/20 20:33:05.752
      cmd: C:\Windows\System32\vds.exe
<<<  Section end 2023/03/20 20:33:05.765
<<<  [Exit status: SUCCESS]

>>>  [Delete Device - STORAGE\VOLUME\{85844187-C213-11ED-8CFC-A0856041C38D}#0000000000100000]
>>>  Section start 2023/03/20 20:33:05.765
      cmd: C:\Windows\System32\vds.exe
!    dvi: Query-and-Remove failed: 0x05: CR_INVALID_DEVNODE.
<<<  Section end 2023/03/20 20:33:05.776
<<<  [Exit status: SUCCESS]

Thanks for your help.

nefarius commented 1 year ago

See #153, please use the search next time before opening duplicates, thanks.