Found solution for an annoying problem with "Visual Studio Code" not able to detect ipynb kernel
11:01 13 Jan 2026

Have you wondering why your friend's pc/laptop can run python notebooks very easily and you faced lots of issue due to admin permissions or some other stuff?

Just turn on a setting.
in windows 11
Setting > System > Advance > PowerShell - turn on the setting. (this will 100% work)

or, if you have admin permission then use this script:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned (didn't worked on my admin restricted PC)

python visual-studio-code jupyter-notebook