Both your TV and computer must have an HDMI port.
If your desktop computer doesn’t support HDMI, you might replace thevideo cardwith one that does.
You’ll also get faster streaming that way.

Supersmario / Getty Images
The only downside is that you must place your laptop close to the TV.
Connect the cable to the TV before you turn on the laptop.
Otherwise, it may not recognize the external display.

nattul / Getty Images
Most let you share your media files or the screen directly from your laptop or desktop.
it’s possible for you to evenconnect your Surface tablet to the TVwith this feature.
They can even receive television via a TV tuner card and Media Center Extender products like theLinksys DMA2100.
FAQ
roll out the Miracast app and openAction Center>Project>Connect to a wireless display.
Wait for the scan to find the Roku rig, then select it to share the screen.