Hello:
Can you please run the diag.bat batch file that can be found in the \Program Files (x86)\WinFsp\bin directory and let me know what the output is?
Bill
From: win...@googlegroups.com <win...@googlegroups.com>
On Behalf Of Ziad Malik
Sent: Tuesday, August 23, 2022 7:50 AM
To: WinFsp <win...@googlegroups.com>
Subject: [winfsp] passthrough.cpp not mountable on Windows 11 and Windows 10
Hi,
I am using Windows 11 Home (sucks, I know) to develop.
I am using the latest WinFsp release.
My VS2022 project has the C++20 standard set.
I cloned passthrough-cpp found in the winfsp repository in the tst folder. I modified it a bit, mainly changed class names and added extra stuff and it compiles and works quite well!
The issue is if I want to map it as a network drive through Windows Explorer or PS/CMD using the net use command. After running fsreg.bat on my executable, making sure it is correct in the Registry Editor and rebooting several times, it still does not work.
Windows Explorer: Says that the network name might be a typo and it's unknown
PS\CMD.exe using net command: Error number 67: Name of the network not found.
Using launchctl-x64.exe: KO launcher: error 2
I tried the Sysinternals PsExec64.exe to run it, but the network is still invisible, unrecognized.
I made sure EnableBackupRestorePrivileges() is called in OnStart.
What else could I try? Thank you in advance.
--
You received this message because you are subscribed to the Google Groups "WinFsp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
winfsp+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/winfsp/49758675-7b21-4571-8d3a-d9124a7133c9n%40googlegroups.com.
Are you certain that the file jetrawfs.exe exists at the location:
C:\Users\ziado\Documents\projects\jetrawfs\jetrawfs\x64\Release\jetrawfs.exe
Also the Launcher reports problem in the Event Log. Can you use the Event Viewer and check whether the Launcher is reporting any problems launching the file system?
Bill
From: win...@googlegroups.com <win...@googlegroups.com>
On Behalf Of Ziad Malik
Sent: Tuesday, August 23, 2022 5:56 PM
To: WinFsp <win...@googlegroups.com>
Subject: Re: [winfsp] passthrough.cpp not mountable on Windows 11 and Windows 10
Hi, thanks for answering, here it is:
WINFSP INSTALLATION DIRECTORY AND LAUNCHER REGISTRATIONS
HKEY_LOCAL_MACHINE\SOFTWARE\WinFsp
InstallDir REG_SZ C:\Program Files (x86)\WinFsp\
HKEY_LOCAL_MACHINE\SOFTWARE\WinFsp\Services
HKEY_LOCAL_MACHINE\SOFTWARE\WinFsp\Services\jetrawfs
Executable REG_SZ C:\Users\ziado\Documents\projects\jetrawfs\jetrawfs\x64\Release\jetrawfs.exe
CommandLine REG_SZ -u %1 -m %2
JobControl REG_DWORD 0x1
Security REG_SZ D:P(A;;RPWPLC;;;WD)
HKEY_LOCAL_MACHINE\SOFTWARE\WinFsp\Services\jfs
Executable REG_SZ C:\Users\ziado\Documents\projects\jetrawfs\jetrawfs\x64\Debug\jetrawfs.exe
CommandLine REG_SZ -u %1 -m %2
JobControl REG_DWORD 0x1
Security REG_SZ D:P(A;;RPWPLC;;;WD)
HKEY_LOCAL_MACHINE\SOFTWARE\WinFsp\Services\memfs-a64
Executable REG_SZ C:\Program Files (x86)\WinFsp\bin\memfs-a64.exe
CommandLine REG_SZ -i -F NTFS -n 65536 -s 67108864 -u %1 -m %2
Security REG_SZ D:P(A;;RPWPLC;;;WD)
JobControl REG_DWORD 0x1
HKEY_LOCAL_MACHINE\SOFTWARE\WinFsp\Services\memfs-dotnet
Executable REG_SZ C:\Program Files (x86)\WinFsp\bin\memfs-dotnet-msil.exe
CommandLine REG_SZ -i -F NTFS -n 65536 -s 67108864 -u %1 -m %2
Security REG_SZ D:P(A;;RPWPLC;;;WD)
JobControl REG_DWORD 0x1
HKEY_LOCAL_MACHINE\SOFTWARE\WinFsp\Services\memfs32
Executable REG_SZ C:\Program Files (x86)\WinFsp\bin\memfs-x86.exe
CommandLine REG_SZ -i -F NTFS -n 65536 -s 67108864 -u %1 -m %2
Security REG_SZ D:P(A;;RPWPLC;;;WD)
JobControl REG_DWORD 0x1
HKEY_LOCAL_MACHINE\SOFTWARE\WinFsp\Services\memfs64
Executable REG_SZ C:\Program Files (x86)\WinFsp\bin\memfs-x64.exe
CommandLine REG_SZ -i -F NTFS -n 65536 -s 67108864 -u %1 -m %2
Security REG_SZ D:P(A;;RPWPLC;;;WD)
JobControl REG_DWORD 0x1
WINFSP DLL REGISTRATIONS
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order
ProviderOrder REG_SZ WinFsp.Np,RDPNP,LanmanWorkstation,webclient,P9NP
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinFsp.Np\NetworkProvider
Name REG_SZ Windows File System Proxy
ProviderPath REG_SZ C:\Program Files (x86)\WinFsp\bin\winfsp-x64.dll
DeviceName REG_SZ \Device\WinFsp.Mup
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\WinFsp
EventMessageFile REG_SZ C:\Program Files (x86)\WinFsp\bin\winfsp-x64.dll
TypesSupported REG_DWORD 0x7
WINFSP FSD CONFIGURATION AND STATUS
SERVICE_NAME: WinFsp
TYPE : 2 FILE_SYSTEM_DRIVER
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: WinFsp
TYPE : 2 FILE_SYSTEM_DRIVER
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : \??\C:\Program Files (x86)\WinFsp\bin\winfsp-x64.sys
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : WinFsp
DEPENDENCIES :
SERVICE_START_NAME :
D:(A;;LCRP;;;WD)(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
WINFSP LAUNCHER SERVICE CONFIGURATION AND STATUS
SERVICE_NAME: WinFsp.Launcher
TYPE : 10 WIN32_OWN_PROCESS
STATE : 4 RUNNING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: WinFsp.Launcher
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 2 AUTO_START
ERROR_CONTROL : 0 IGNORE
BINARY_PATH_NAME : "C:\Program Files (x86)\WinFsp\bin\launcher-x64.exe"
LOAD_ORDER_GROUP :
TAG : 0
DISPLAY_NAME : WinFsp.Launcher
DEPENDENCIES :
SERVICE_START_NAME : LocalSystem
D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
OS INFORMATION
Host Name: MATE
OS Name: Microsoft Windows 11 Home
OS Version: 10.0.22000 N/A Build 22000
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner: ziado...@gmail.com
Registered Organization: N/A
Product ID: 00325-82225-17083-AAOEM
Original Install Date: 2/11/2022, 6:55:23 PM
System Boot Time: 8/22/2022, 11:09:31 AM
System Manufacturer: HUAWEI
System Model: KLVL-WXX9
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: AMD64 Family 23 Model 96 Stepping 1 AuthenticAMD ~2900 Mhz
BIOS Version: HUAWEI 2.03, 8/9/2021
Windows Directory: C:\Windows
System Directory: C:\Windows\system32
Boot Device: \Device\HarddiskVolume1
System Locale: en-us;English (United States)
Input Locale: en-us;English (United States)
Time Zone: (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna
Total Physical Memory: 7,549 MB
Available Physical Memory: 2,408 MB
Virtual Memory: Max Size: 14,205 MB
Virtual Memory: Available: 8,461 MB
Virtual Memory: In Use: 5,744 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server: \\MATE
Hotfix(s): 4 Hotfix(s) Installed.
[01]: KB5015732
[02]: KB5012170
[03]: KB5016629
[04]: KB5015898
Network Card(s): 1 NIC(s) Installed.
[01]: Realtek 8822CE Wireless LAN 802.11ac PCI-E NIC
Connection Name: Wi-Fi
DHCP Enabled: Yes
DHCP Server: 192.168.1.1
IP address(es)
[01]: 192.168.1.4
[02]: fe80::fd11:945:caeb:a78e
[03]: 2a04:ee41:3:456d:559d:3bdb:ccaa:6060
[04]: 2a04:ee41:3:456d:fd11:945:caeb:a78e
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.
To view this discussion on the web visit https://groups.google.com/d/msgid/winfsp/eda15a5f-b8e6-4cd7-9adb-176e8705fe85n%40googlegroups.com.