@echo off : : fct_clues.bat - tool to extract FacetWin-related Windows settings : : Contact FacetCorp Support for help troubleshooting or configuring : FacetWin at 972-985-9901 or via email at support@facetcorp.com : Documentation and downloads at https://facetcorp.com : setlocal enableextensions echo. set b1= for /f "tokens=*" %%a in ('time /t') do echo FacetWin Clues [%date% %%a] echo. ::: Get Windows Version reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName if %errorlevel% neq 0 ( echo. echo  Could not read the CurrentVersion/ProductName key  echo. ) reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v DisplayVersion if %errorlevel% neq 0 ( echo. echo  Could not read the CurrentVersion/DisplayVersion key  echo. ) reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentBuild if %errorlevel% neq 0 ( echo. echo  Could not read the CurrentVersion/CurrentBuild key  echo. ) reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v UBR if %errorlevel% neq 0 ( echo. echo  Could not read the CurrentVersion/UBR key  echo. ) ::: Get SMBv1 Client Protocol reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Notifications\OptionalFeatures\SMB1Protocol-Client" /v Selection if %errorlevel% neq 0 ( echo. echo  Could not read the SMB1Protocol-Client/Selection key  echo. ) reg query "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Notifications\OptionalFeatures\SMB1Protocol-Deprecation" /v Selection if %errorlevel% neq 0 ( echo. echo  Could not read the SMB1Protocol-Deprecation/Selection key  echo. ) ::: Get LM Compatibility Level reg query "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" /v LmCompatibilityLevel if %errorlevel% neq 0 ( echo. echo  Could not read the Lsa/LmCompatibilityLevel key  echo. ) ::: Get Plain Text Password reg query "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v EnablePlainTextPassword if %errorlevel% neq 0 ( echo. echo  Could not read the LanmanWorkStation/EnablePlainTextPassword key  echo. ) ::: Get Security Signature Enabled reg query "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v EnableSecuritySignature if %errorlevel% neq 0 ( echo. echo  Could not read the LanmanWorkStation/EnableSecuritySignature key  echo. ) ::: Get Require Security Signature reg query "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v RequireSecuritySignature if %errorlevel% neq 0 ( echo. echo  Could not read the LanmanWorkStation/RequireSecuritySignature key  echo. ) echo.