BSoD when killing RhinoWIP process

I cannot share that particular script but perhaps I have to mention that this happens on a Windows 7 x64 Professional.

Also it happened with two completely different scripts just that the script causes Rhino to become non-responsive and when I dot KillTree from task manager BSoD occurs.

I can try causing this in my home PC (Win10 Pro) at least to confirm it’s a Win7 thing.

UPDATE:
I think you can use the script from this thread: