Tuesday, October 21, 2025

windows firewall - minimum rules

run wf.msc as Administrator:

Always do backup: (right click the highlighted)



 By default Windows allow outgoing connection for all apps. Change it to block Outbound connection.
(right click the highlighted then choose Properties)


Click Inbound Rules, then select all rules, right click to select "Disable Rule". This block all incoming connection. Thus you may not be able to share files, printer to others.

Click Outbound Rules, select all rules, right click to select "Disable Rule".
You would need to enable back a few rules for minimum working networking.


To ping other pc. This is for ipv4 only, enable for ipv6 if needed:

To access other's file share:

For weather widget at lock screen to update:



 








Thursday, September 18, 2025

OBS to stream directly to VLC, using own custom server(Monaserver), Windows

https://sourceforge.net/projects/monaserver/
Download & extract zip to a folder, double click to run: MonaServer.exe


get you pc ip address says it's 192.168.0.11
In OBS -- Settings -- Stream -- Service:Custom -- Server:rtmp://192.168.0.11:1935  -- OK
click Start Streaming


In VLC menu -- Media -- Stream -- Network: rtmp://192.168.0.11:1935
click the drop down arrow of [Stream] button, click [Play]

or use cmd:
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"  rtmp://192.168.0.11:1935  --fullscreen

If you have external monitor and wanna play full screen on it, manually change in VLC Simple Preferences -- Video -- Fullscreen Video Device=\\.\DISPLAY2  -- Save

VLC to VLC direct streaming

 1st VLC:   
find your ip address, says it's 192.168.0.11
VLC menu [Media] -- [Stream] -- [File] -- [Add] -- choose your media file -- [Stream] -- [Next]
in [New destination] choose=[Http] -- [Add] -- accept port 8080 [Next] - click [Activate Transcoding] (Video H.264 + MP3 MP4) -- [Next] -- check [Stream all elementary streams] -- [Stream]



2nd VLC:
VLC menu [Media] -- [Stream] -- [Network] tab -- [network URL]: http://192.168.0.11:8080
click the drop down arrow of [Stream] button, click [Play]

or use cmd:
"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"  http://192.168.0.11:8080/  --fullscreen

If you have external monitor and wanna play full screen on it, manually change in VLC Simple Preferences -- Video -- Fullscreen Video Device=\\.\DISPLAY2  -- Save


At times, VLC not reliable, would need to repeat above for both VLC. Also, you may need to configure firewall to allow remote connection.

download assets from github till success

in Linux:

 until wget -c https://github.com/something/releases/installer.zip; do :; done

Thursday, February 16, 2023

laptop auto wake up right after hibernate or sleep

 steps to troubleshoot:
admin cmd:  powercfg -lastwake

    Friendly Name:

    Description: High Definition Audio Controller

    Manufacturer: Microsoft


This showed sound card is causing the problem, but this one in fact is not the sound card(realtek in my case). The culprit is "Intel(R) Display Audio" in Device Manager - Sound video and game controllers.

As of 2023, update Intel graphic card drivers did not solve the issue. 

Disable this "Intel(R) Display Audio" would solve the problem. It is used by hdmi / direct Wifi to allow tv to play sound.

disable windows 10 update

In file Property - Security - Advanced , edit to add DENY Read,Write permissions:
(Administrators should allow to Read/Change Permissions though)
C:\windows\system32\wuaueng.dll
C:\windows\system32\wuauclt.exe   
C:\windows\system32\usosvc.dll
C:\windows\system32\WaaSMedicSvc.dll