VLC App not showing shares

When you share your folders on Windows 10/11/2022 etc. Sometimes the VLC App on your TV will not see these folders. You have to enable the SMB Server/Client features ON. This is what I had to do in order for the Shared Folders to appear in the VLC App.

Note too that I had issues connecting to the Domain Controller. I used the following format to create a link. smb://yourUsername:Password@192.168.x.x Then I had to open the link and go back twice on the Firestick remove to get into the folder!

I followed this link: VLC Network Sharing Not Working : r/VLC (reddit.com)

Windows Server - Can't Turn on Network Discovery

If you Turn on Network Discovery, click Save Settings, then review it again and it's Off again then you need to check the following 4 Services. Set them to Automatic and then start the Services. You'll hopefully find that turning on Network Discovery now stays on!!

For network discovery, it's a common issue.

Open Services and make sure the following services are all running:

  • DNS Client
  • Function Discovery Resource Publication
  • SSDP Discovery
  • UPnP Device Host

After that turn network discovery on again and it should stay enabled.

IIS Express - Your Connection is not private

I just switched to a Windows 11 laptop (finally!) and had to setup everything again. In Visual Studio 2022 I was getting this IIS Express error "You connection is not private" error and the browser would not display my Web Site. The solution was to open Edge and type edge://flags (Chrome was chrome://flags), then find "Allow invalid certificates for resources loaded from localhost" and set it to Enabled.

I found the answer here: asp.net mvc - Your connection is not private NET::ERR_CERT_COMMON_NAME_INVALID - Stack Overflow

Cannot install SharePoint CU

I recently got this error when trying to install a SharePoint CU (KB5002629) on SharePoint Subscription Edition. This is a corrupt C:\Windows\Installer folder, or maybe someone deleted some of the files/folders from this directory to save space. You should NEVER do that!! This is the error that was popping up. I tried some older CU's and got the same error.

To fix this issue you need to update the C:\Windows\Installer folder from a working server. Luckily I have a PROD and the DEV was the issue, so I was able to fix this using a script that someone kindly created.

The Script is here: This script was designed as a fix Windows "Installer" by restoring the missing Package(*.msi)/Patches(*.msp) files with the following steps: 1. Identifying the missing files. 2. Crawl the missing files from specified folder or other healthy machine. · GitHub

Someone wrote a nice blog here to explain the solution. Using PowerShell to restore Missing Windows Installer cache items (schottsql.com)

 This script pulled missing files from the working sharepoint installer .\Restore-InstallerFiles.ps1 -SourceFolder "D:\InstallerFiles", "E:\InstallerFiles", "\MachineX\D$\MSI Files";

Windows 2008 and SQL 2012 - Can't send Database Mail via Office 365 account

I struggled to figure out how to send e-mails from SQL Server 2012 Database Mail on Windows Server 2008. Yeah Windows Server 2008 is very old but I had a client who needed this done! I had previously configured SQL 2019 Database Mail on a Windows 2022 Server I it was easy. I just configured it in SQL Database Mail and it worked. But in Windows Server 2008 you have to add the following registry entries. Maybe not ALL of these are required but after a few days I was not about to experiment anymore. Restarting the SQL Agent allowed the SQL Database Mail to work via smtp.office365.com, on Port 587 with the SSL checked! I hope someone finds this useful someday!

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319]
"SchUseStrongCrypto"=dword:00000001
"SystemDefaultTlsVersions"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v2.0.50727]
"SystemDefaultTlsVersions"=dword:00000001
"SchUseStrongCrypto"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v2.0.50727]
"SystemDefaultTlsVersions"=dword:00000001
"SchUseStrongCrypto"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.0.30319]
"SystemDefaultTlsVersions"=dword:00000001
"SchUseStrongCrypto"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework\v4.5.50709]
"SystemDefaultTlsVersions"=dword:00000001
"SchUseStrongCrypto"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\
Protocols\SSL 2.0\Client]
"DisabledByDefault"=dword:00000001

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\
SecurityProviders\SCHANNEL\
Protocols\SSL 3.0\Client]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\
SCHANNEL\Protocols\SSL 3.0\Server]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\
Protocols\TLS 1.2\Client]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\
Protocols\TLS 1.2\Server]
"DisabledByDefault"=dword:00000000
"Enabled"=dword:00000001